/* AIBOSS Neural Design System 1.0.93.
   One source of tokens and last-mile component polish for managed AiBoss pages.
   Presentation-only. Never changes amounts, status, form submissions or chart data.
   Scoped to body.aixdv-ui-v1093; no wp-admin and no third-party global reset. */

/* Single neutral foundation; two themes do not inherit one another's paint. */
body.aixdv-ui-v1093{
 --ab93-radius-xs:10px;--ab93-radius-sm:14px;--ab93-radius-md:20px;--ab93-radius-lg:25px;
 --ab93-space-1:6px;--ab93-space-2:10px;--ab93-space-3:16px;--ab93-space-4:22px;
 --ab93-ease:cubic-bezier(.2,.7,.25,1);
 font-synthesis:none;
}
body.aixdv-ui-v1093.aixdv-skin-scifi{
 --ab93-bg:#060d1d;--ab93-card:#10243c;--ab93-raised:#1a3451;
 --ab93-field:#0d233a;--ab93-text:#edf7ff;--ab93-muted:#adc7dc;
 --ab93-accent:#69dcea;--ab93-accent-2:#a89bff;
 --ab93-stroke:rgba(131,196,225,.14);
 --ab93-surface:linear-gradient(148deg,#142c49 0%,#10233d 69%,#202441 100%);
 --ab93-active:linear-gradient(135deg,#1c4867,#34345e);
 --ab93-button:linear-gradient(112deg,#125f88 0%,#235c9c 58%,#494c95 100%);
 --ab93-button-text:#f5fcff;
 --ab93-shadow:0 14px 34px rgba(0,7,24,.27),inset 0 1px 0 rgba(242,250,255,.055);
 --ab93-shadow-active:0 14px 34px rgba(0,7,24,.27),0 0 22px rgba(53,206,236,.12),inset 0 1px 0 rgba(242,250,255,.07);
 --ab93-glow-cyan:rgba(31,193,230,.17);--ab93-glow-violet:rgba(140,113,242,.12);
 /* Existing WP Affiliasi uses these public variables: one brand source of truth. */
 --ab-ui-bg:var(--ab93-bg);--ab-ui-card:var(--ab93-card);--ab-ui-raised:var(--ab93-raised);
 --ab-ui-field:var(--ab93-field);--ab-ui-text:var(--ab93-text);--ab-ui-muted:var(--ab93-muted);
 --ab-ui-accent:var(--ab93-accent);--ab-ui-line:var(--ab93-stroke);
 --ab-ui-surface:var(--ab93-surface);--ab-ui-active:var(--ab93-active);
 --ab-ui-action:var(--ab93-button);--ab-ui-onaction:var(--ab93-button-text);
 --ab-ui-shadow:var(--ab93-shadow);
 --aix86-bg:var(--ab93-bg);--aix86-card:var(--ab93-card);--aix86-ink:var(--ab93-text);
 --aix86-muted:var(--ab93-muted);--aix86-accent:var(--ab93-accent);
 --aix86-accent2:var(--ab93-accent-2);--aix86-button:var(--ab93-button);
 --aix86-soft:var(--ab93-shadow);--aix86-glow:var(--ab93-glow-cyan);
 --aix88-ink:var(--ab93-text);--aix88-muted:var(--ab93-muted);
 --aix88-accent:var(--ab93-accent);--aix88-surface:var(--ab93-surface);
 --aix88-action:var(--ab93-button);--aix88-soft:var(--ab93-shadow);
}
body.aixdv-ui-v1093.aixdv-skin-classic{
 --ab93-bg:#f4f8fd;--ab93-card:#ffffff;--ab93-raised:#e9f1fa;
 --ab93-field:#f2f7fd;--ab93-text:#172d4b;--ab93-muted:#52657d;
 --ab93-accent:#1966a5;--ab93-accent-2:#5c54a8;
 --ab93-stroke:rgba(52,96,145,.14);
 --ab93-surface:linear-gradient(150deg,#ffffff,#f0f5fc);
 --ab93-active:linear-gradient(125deg,#e2effc,#ebeafa);
 --ab93-button:linear-gradient(115deg,#155781,#334b83);--ab93-button-text:#ffffff;
 --ab93-shadow:0 13px 30px rgba(28,53,89,.085);
 --ab93-shadow-active:0 13px 30px rgba(28,53,89,.12);
 --ab93-glow-cyan:rgba(23,96,148,.10);--ab93-glow-violet:rgba(88,82,159,.08);
 --ab-ui-bg:var(--ab93-bg);--ab-ui-card:var(--ab93-card);--ab-ui-raised:var(--ab93-raised);
 --ab-ui-field:var(--ab93-field);--ab-ui-text:var(--ab93-text);--ab-ui-muted:var(--ab93-muted);
 --ab-ui-accent:var(--ab93-accent);--ab-ui-line:var(--ab93-stroke);
 --ab-ui-surface:var(--ab93-surface);--ab-ui-active:var(--ab93-active);
 --ab-ui-action:var(--ab93-button);--ab-ui-onaction:var(--ab93-button-text);
 --ab-ui-shadow:var(--ab93-shadow);
 --aix88-ink:var(--ab93-text);--aix88-muted:var(--ab93-muted);
 --aix88-accent:var(--ab93-accent);--aix88-surface:var(--ab93-surface);
 --aix88-action:var(--ab93-button);--aix88-soft:var(--ab93-shadow);
}
body.aixdv-ui-v1093.aixdv-skin-scifi.aixdv-tone-royal{
 --ab93-accent:#b4a7ff;--ab93-accent-2:#83deec;
 --ab93-button:linear-gradient(112deg,#4b468c,#6256a7 65%,#176c90);
 --ab93-glow-cyan:rgba(136,113,242,.17)
}
body.aixdv-ui-v1093.aixdv-skin-scifi.aixdv-tone-champagne{
 --ab93-accent:#f0c987;--ab93-accent-2:#72d9e3;
 --ab93-button:linear-gradient(112deg,#866337,#9b7748 65%,#216c86);
 --ab93-glow-cyan:rgba(229,174,99,.15)
}

/* Align legacy card paint with one token set. Rule is in the SAME layer that
   already owns member surfaces, rather than another footer CSS replay. */
@layer aibossSurfaces {
 body.aixdv-ui-v1093 :where(.cb-fin-box,.cb-fin-card,.cb-commission-card,.cb-income-card,.cb-assets-mini-card,.cb-ref-card,.cb-team-member,.cb-team-box,.cb-rank-card,.cb-chat-contact,.cb-pkg-tab,.cb-vvip426-panel,.cb-vvip434-form-card,.cbv438-panel,.cb-bsc-easy,.cb-bsc-recover,.cb-profile-form,.cb-global-feed,.cb-global-item,.aixdv-liveai-hero,.aixdv-announcement91){
  background:var(--ab93-surface)!important;color:var(--ab93-text)!important;
  border:1px solid var(--ab93-stroke)!important;border-radius:var(--ab93-radius-md)!important;
  box-shadow:var(--ab93-shadow)!important;min-width:0;max-width:100%;box-sizing:border-box;
 }
 /* Containers are not nested decorative frames. */
 body.aixdv-ui-v1093 :where(.cb-team-hub,.cb-team-tree-scroll,.cb-ref-box,.cb-team-refbox){border:0!important;outline:0!important;box-shadow:none!important}
 body.aixdv-ui-v1093 :where(.cb-team-member,.cb-chat-contact,.cb-assets-mini-card,.cb-pkg-tab){border-radius:var(--ab93-radius-md)!important}
 body.aixdv-ui-v1093 :where(.cb-fin-box,.cb-profile-form,.cb-bsc-easy,.cb-pkg-wrap,.cb-vvip426-panel,.cb-vvip434-form-card,.cb-team-hub,.cb-team-chat,.ab-ui-scope) :where(h1,h2,h3,h4,h5,h6,strong,legend,summary,label){
  color:var(--ab93-text)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;
 }
 body.aixdv-ui-v1093 :where(.cb-fin-box,.cb-profile-form,.cb-bsc-easy,.cb-pkg-wrap,.cb-vvip426-panel,.cb-vvip434-form-card,.cb-team-hub,.cb-team-chat,.ab-ui-scope) :where(p,small,.description,.cbform-label){
  color:var(--ab93-muted)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;
 }
 body.aixdv-ui-v1093 :where(.cb-fin-box,.cb-profile-form,.cb-bsc-easy,.cb-pkg-wrap,.cb-vvip426-panel,.cb-vvip434-form-card,.cb-team-hub,.cb-team-chat,.ab-ui-scope) :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]),textarea,select){
  color:var(--ab93-text)!important;-webkit-text-fill-color:var(--ab93-text)!important;
  background:var(--ab93-field)!important;border:1px solid var(--ab93-stroke)!important;
  border-radius:var(--ab93-radius-sm)!important;box-shadow:none!important;min-height:44px;max-width:100%;
 }
 body.aixdv-ui-v1093 :where(.cb-fin-box,.cb-bsc-easy,.cb-profile-form,.cb-pkg-wrap,.cb-vvip426-panel,.cb-vvip434-form-card,.ab-ui-scope) :where(button[type=submit],input[type=submit],.cb-bsc-primary,.cb-btn,[data-ab-ui-action]){
  border:0!important;background:var(--ab93-button)!important;color:var(--ab93-button-text)!important;
  -webkit-text-fill-color:var(--ab93-button-text)!important;border-radius:var(--ab93-radius-sm)!important;
  box-shadow:0 9px 20px var(--ab93-glow-cyan),inset 0 1px 0 rgba(255,255,255,.12)!important;min-height:44px;
 }
 body.aixdv-ui-v1093 :where(.cb-fin-box,.cb-bsc-easy,.cb-profile-form,.cb-pkg-wrap,.cb-vvip426-panel,.cb-vvip434-form-card,.ab-ui-scope) :where(button,input,select,a,textarea):focus-visible,
 body.aixdv-ui-v1093 .aixdv-bottom-nav a:focus-visible{
  outline:2px solid var(--ab93-accent)!important;outline-offset:3px!important;
 }
 /* Optional helper titles and contextual links must not be dimmer than normal copy. */
 body.aixdv-ui-v1093 .aixdv-info-modal.aixdv-announcement91 :where(h1,h2,h3,h4,em,strong,b){color:var(--ab93-text)!important;-webkit-text-fill-color:currentColor!important}
 body.aixdv-ui-v1093 .aixdv-info-modal.aixdv-announcement91 .aixdv-info-copy :where(p,li){color:var(--ab93-muted)!important;-webkit-text-fill-color:currentColor!important}
 /* Selected nav icon floats by LIGHT, not extra square frames. */
 body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav{border:1px solid var(--ab93-stroke)!important;background:var(--ab93-surface)!important;box-shadow:var(--ab93-shadow-active)!important}
 body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav>a{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:var(--ab93-radius-md)!important;min-width:0}
 body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav>a.is-active{border:0!important;background:var(--ab93-active)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 19px var(--ab93-glow-cyan)!important}
 body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav>a.is-active :where(svg,span){color:var(--ab93-accent)!important}
 body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav>a:not(.is-active) :where(svg,span){color:var(--ab93-muted)!important}
 body.aixdv-ui-v1093.aixdv-skin-scifi.aixdv-vvip-page :where(.aixdv-main,.aixdv-shell,#page-container){background:var(--ab93-bg)!important}
 body.aixdv-ui-v1093.aixdv-skin-classic.aixdv-vvip-page :where(.aixdv-main,.aixdv-shell,#page-container){background:var(--ab93-bg)!important}
}

/* Typography and layout. Smooth and deliberate rather than indiscriminate effects. */
body.aixdv-ui-v1093 .aixdv-content :where(h1,h2,h3){letter-spacing:-.025em;line-height:1.23;text-wrap:balance}
body.aixdv-ui-v1093 .aixdv-content :where(p,small){line-height:1.6;overflow-wrap:break-word}
body.aixdv-ui-v1093 :where(.cb-team-member,.cb-chat-contact,.cb-fin-box,.cb-pkg-tab,.cb-assets-mini-card){
 transition:box-shadow .24s var(--ab93-ease),transform .24s var(--ab93-ease);
}
body.aixdv-ui-v1093.aixdv-skin-scifi .aixdv-content{position:relative}
body.aixdv-ui-v1093.aixdv-app.aixdv-skin-scifi .aixdv-main{
 background:radial-gradient(ellipse 90% 28% at 50% -8%,rgba(45,102,179,.15),transparent 80%),var(--ab93-bg)!important;
}
body.aixdv-ui-v1093.aixdv-app :where(.aixdv-logo,.aixdv-logo img){border:0!important;box-shadow:none!important;background:transparent!important}
body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav>a{transition:background .2s var(--ab93-ease),color .2s var(--ab93-ease)}
body.aixdv-ui-v1093 .aixdv-content :where(.cb-team-open,.cb-team-refresh,.cb-team-copy,.cb-team-share-mini){
 border-radius:var(--ab93-radius-sm)!important;
 transition:filter .18s var(--ab93-ease),transform .18s var(--ab93-ease);
}
@media (hover:hover) and (pointer:fine){
 body.aixdv-ui-v1093 :where(.cb-team-member,.cb-chat-contact,.cb-assets-mini-card,.cb-pkg-tab):hover{transform:translateY(-2px);box-shadow:var(--ab93-shadow-active)!important}
 body.aixdv-ui-v1093 :where(button[type=submit],.cb-team-open,.cb-team-refresh):not(:disabled):hover{filter:brightness(1.06)}
}
@media(max-width:620px){
 body.aixdv-ui-v1093 .aixdv-content :where(h1,h2,h3){overflow-wrap:anywhere}
 body.aixdv-ui-v1093 :where(.aixdv-content,.cb-team-box,.cb-team-hub,.cb-team-chat,.cb-vvip426-shell){min-width:0;max-width:100%;box-sizing:border-box}
 body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav{max-width:calc(100vw - 16px)!important}
 body.aixdv-ui-v1093 :where(.cb-team-refbox,.cb-team-referral-row){max-width:100%;min-width:0}
 body.aixdv-ui-v1093 :where(.cb-team-refbox,.cb-team-referral-row) input{min-width:0}
}
@media(prefers-reduced-motion:reduce){
 body.aixdv-ui-v1093 :where(.cb-team-member,.cb-chat-contact,.cb-assets-mini-card,.cb-pkg-tab,.aixdv-bottom-nav a,.cb-team-open,.cb-team-refresh){transition:none!important;animation:none!important;transform:none!important}
}
@media(prefers-reduced-transparency:reduce){
 body.aixdv-ui-v1093.aixdv-app .aixdv-bottom-nav{backdrop-filter:none;-webkit-backdrop-filter:none}
}
/* Compact Team interaction, deliberate tap target; do not stretch into full-width slab. */
@layer aibossSurfaces {
 body.aixdv-ui-v1093 .aixdv-content .cb-team-open:not([aria-disabled="true"]){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;padding:10px 16px!important;min-height:44px!important;
  max-width:100%!important;width:auto!important;
  font-size:13px!important;font-weight:750!important;line-height:1.3!important;
  border-radius:var(--ab93-radius-sm)!important;
  color:var(--ab93-button-text)!important;-webkit-text-fill-color:var(--ab93-button-text)!important;
  background:var(--ab93-button)!important;border:0!important;
  box-shadow:0 9px 20px var(--ab93-glow-cyan)!important;
 }
}
