/* ===== source: stage1-dark-premium.css ===== */
:root{
  --ab-dark-950:#02060d;
  --ab-dark-900:#030a14;
  --ab-dark-850:#06101d;
  --ab-dark-800:#081522;
  --ab-dark-750:#0b1a2b;
  --ab-dark-700:#10243a;
  --ab-line-dark:#173653;
  --ab-line-bright:#225682;
  --ab-text:#f5f9ff;
  --ab-text-soft:#dbe8f7;
  --ab-muted:#9fb3c9;
  --ab-blue:#1597ff;
  --ab-cyan:#00c2ff;
  --ab-blue-deep:#0b67d1;
  --ab-magenta:#d946ef;
  --ab-glow:0 0 0 1px rgba(21,151,255,.12),0 18px 55px rgba(0,92,180,.18);
  --ab-glow-strong:0 0 0 1px rgba(0,194,255,.2),0 22px 70px rgba(0,98,210,.28);
}

html{background:var(--ab-dark-950)}
body{
  background:
    radial-gradient(circle at 14% 4%,rgba(0,194,255,.075),transparent 24rem),
    radial-gradient(circle at 88% 10%,rgba(21,151,255,.08),transparent 28rem),
    var(--ab-dark-950)!important;
  color:var(--ab-text-soft)!important;
}
body::selection{background:rgba(21,151,255,.34);color:#fff}
#main-content{background:transparent!important}
#main-content h1,#main-content h2,#main-content h3,#main-content strong{color:var(--ab-text)!important}
#main-content a:not(.ab-button):not(.ab-partner-button):not(.ab-cro-link){color:#67c7ff}
#main-content a:not(.ab-button):not(.ab-partner-button):not(.ab-cro-link):hover{color:#a4e3ff}

/* Header */
.ab-site-header{
  background:rgba(2,8,17,.92)!important;
  border-bottom:1px solid rgba(39,102,153,.45)!important;
  box-shadow:0 10px 40px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.ab-brand-copy strong{color:#fff!important}
.ab-brand-copy small{color:#7db9e8!important}
.ab-brand-mark span{
  background:linear-gradient(180deg,var(--ab-cyan),var(--ab-blue))!important;
  box-shadow:0 0 16px rgba(0,194,255,.35);
}
.ab-primary-nav a,.ab-submenu-toggle{color:#dceaff!important}
.ab-primary-nav a:hover,.ab-primary-nav a[aria-current="page"]{color:#fff!important}
.ab-primary-nav a[aria-current="page"]{background:rgba(21,151,255,.12)!important}
.ab-submenu-toggle{background:rgba(21,151,255,.08)!important;border-color:rgba(58,126,180,.45)!important}
.ab-mega-menu{
  background:rgba(5,15,28,.98)!important;
  border:1px solid var(--ab-line-dark)!important;
  box-shadow:0 26px 70px rgba(0,0,0,.48)!important;
}
.ab-mega-menu__header span,.ab-kicker,.ab-eyebrow{color:#4cc7ff!important}
.ab-mega-menu__header strong{color:#fff!important}
.ab-mega-menu__header small{color:var(--ab-muted)!important}
.ab-menu-card{
  background:linear-gradient(180deg,rgba(13,31,51,.96),rgba(7,20,35,.96))!important;
  border:1px solid var(--ab-line-dark)!important;
}
.ab-menu-card:hover{border-color:#2580c3!important;box-shadow:var(--ab-glow)!important}
.ab-menu-card strong{color:#fff!important}
.ab-menu-card small{color:var(--ab-muted)!important}
.ab-menu-search-form input,.ab-footer-search input{color:#eaf5ff!important;background:#06111f!important;border-color:#244866!important}
.ab-menu-search-form input::placeholder,.ab-footer-search input::placeholder{color:#6f8ca8!important}
.ab-menu-search-form button,.ab-footer-search button{background:linear-gradient(135deg,var(--ab-blue-deep),var(--ab-cyan))!important;color:#fff!important;border-color:transparent!important}
.ab-mobile-nav-toggle{background:#071421!important;border-color:#245174!important}
.ab-mobile-nav-toggle__bars span{background:#cfeaff!important}

/* Hero areas */
.ab-hero,.ab-affiliate-hero,.ab-guide-hero,.ab-article-header{
  background:
    radial-gradient(circle at 18% 12%,rgba(0,194,255,.12),transparent 34%),
    radial-gradient(circle at 84% 12%,rgba(21,151,255,.14),transparent 34%),
    linear-gradient(180deg,#06111f 0%,#030a14 82%)!important;
  border-color:var(--ab-line-dark)!important;
}
.ab-hero h1,.ab-affiliate-hero h1,.ab-guide-hero h1,.ab-article-header h1{color:#fff!important;text-shadow:0 10px 34px rgba(0,99,209,.16)}
.ab-hero h1 span{
  color:#43c4ff!important;
  background:linear-gradient(90deg,#fff 0%,#4ac5ff 48%,#1597ff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.ab-hero-lead,.ab-learning-lead,.ab-article-deck{color:#cfe0f1!important}
.ab-hero-support{color:#92a9c1!important}
.ab-hero-visual{position:relative}
.ab-hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(0,16,35,.02),rgba(0,16,35,.22));
  box-shadow:inset 0 0 0 1px rgba(65,172,255,.22);
}
.ab-hero-visual img{filter:saturate(.9) brightness(.78) contrast(1.08)!important;box-shadow:0 28px 80px rgba(0,0,0,.5),0 0 42px rgba(21,151,255,.12)!important}
.ab-hero-quote,.ab-hero-badge{background:rgba(3,13,25,.86)!important;border:1px solid rgba(54,144,211,.5)!important;color:#e7f5ff!important}
.ab-hero-quote span,.ab-hero-badge span{color:#64cfff!important}
.ab-hero-quote strong,.ab-hero-badge strong{color:#fff!important}
.ab-trust-row>div{background:rgba(8,24,40,.82)!important;border-color:#1d4769!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
.ab-trust-row strong{color:#fff!important}
.ab-trust-row span{color:#99afc4!important}

/* Sections */
.ab-section,.ab-home-paths,.ab-section--overview,.ab-section--revenue,.ab-section--strategies,
.ab-section--framework,.ab-editorial,.ab-affiliate-reality,.ab-affiliate-path,
.ab-learning-directory,.ab-program-finder,.ab-tool-finder,.ab-hub-entry,.ab-page-navigator,
.ab-standard-page,.ab-cro-links{background:transparent!important;border-color:var(--ab-line-dark)!important}
.ab-section:nth-of-type(even){background:linear-gradient(180deg,rgba(7,19,33,.7),rgba(3,10,20,.72))!important}
.ab-section-heading>p,.ab-learning-section-heading>p,.ab-learning-directory__heading>p,.ab-program-finder__heading>p,.ab-tool-finder__heading>p{color:var(--ab-muted)!important}

/* Cards and panels */
.ab-start-card,.ab-outcome-card,.ab-strategy-grid>article,.ab-lever-grid>article,
.ab-scorecard>article,.ab-process-panel,.ab-intro-panel,.ab-example-box,.ab-page-navigator__inner,
.ab-affiliate-principle,.ab-affiliate-path__grid>article,.ab-learning-module-card,.ab-program-card,
.ab-tool-card,.ab-hub-entry__card,.ab-guide-toc__inner,.ab-guide-callout,.ab-editorial-panel,
.ab-affcalc__panel,.ab-affcalc__results,.ab-cro-link,.ab-section-nav a,.ab-value-grid>div{
  background:linear-gradient(180deg,rgba(12,30,49,.98),rgba(6,18,31,.98))!important;
  border:1px solid var(--ab-line-dark)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.18)!important;
  color:var(--ab-text-soft)!important;
}
.ab-start-card:hover,.ab-outcome-card:hover,.ab-strategy-grid>article:hover,.ab-program-card:hover,.ab-tool-card:hover,.ab-hub-entry__card:hover,.ab-cro-link:hover,.ab-section-nav a:hover{
  border-color:#2a78b7!important;
  box-shadow:var(--ab-glow-strong)!important;
  transform:translateY(-3px);
}
.ab-start-card:before,.ab-outcome-card:before,.ab-strategy-grid>article:before,.ab-program-card:before,.ab-tool-card:before{background:linear-gradient(90deg,var(--ab-blue),var(--ab-cyan))!important}
.ab-start-card p,.ab-outcome-card p,.ab-strategy-grid>article p,.ab-program-card p,.ab-tool-card p,.ab-hub-entry__card p,.ab-affiliate-principle small,.ab-learning-module-card p{color:#9fb3c9!important}
.ab-start-card__number,.ab-strategy-index,.ab-icon,.ab-affiliate-path__top span,.ab-learning-module-card__meta span{color:#44c7ff!important}
.ab-card-bottom,.ab-learning-module-card__meta,.ab-program-card__top,.ab-tool-card__top{border-color:var(--ab-line-dark)!important}

/* Buttons */
.ab-button,.ab-partner-button{
  background:linear-gradient(135deg,#0c67d5 0%,#1597ff 50%,#00bce8 100%)!important;
  color:#fff!important;
  border:1px solid rgba(91,196,255,.65)!important;
  box-shadow:0 12px 34px rgba(0,111,230,.25),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
.ab-button:hover,.ab-partner-button:hover{filter:brightness(1.08);box-shadow:0 16px 42px rgba(0,136,255,.34),0 0 24px rgba(0,194,255,.12)!important}
.ab-button--ghost{background:#091827!important;color:#bfe5ff!important;border-color:#275a80!important;box-shadow:none!important}
.ab-button--ghost:hover{background:#0d2236!important;color:#fff!important}
.ab-text-link{color:#60caff!important}

/* Filters and controls */
.ab-program-filters button,.ab-tool-filters button,.ab-learning-filters button,.ab-affcalc__preset{background:#081625!important;border-color:#234b6c!important;color:#b8cde0!important}
.ab-program-filters button.is-active,.ab-tool-filters button.is-active,.ab-learning-filters button.is-active{background:linear-gradient(135deg,#0b67d1,#1597ff)!important;color:#fff!important;border-color:#2aaeff!important}
.ab-program-search input,.ab-tool-search input,.ab-learning-search input,.ab-affcalc__field input,.ab-affcalc__field select{background:#06111f!important;color:#edf8ff!important;border-color:#244d6e!important}
.ab-program-search input::placeholder,.ab-tool-search input::placeholder,.ab-learning-search input::placeholder{color:#6f8da8!important}
.ab-program-search input:focus,.ab-tool-search input:focus,.ab-learning-search input:focus,.ab-affcalc__field input:focus,.ab-affcalc__field select:focus{border-color:#1597ff!important;outline:3px solid rgba(21,151,255,.14)!important}

/* Tables */
.ab-data-table-wrap{box-shadow:0 18px 50px rgba(0,0,0,.24)!important}
.ab-data-table{background:#071421!important;border-color:#1d4667!important}
.ab-data-table thead th{background:linear-gradient(180deg,#0d2d4c,#081d34)!important;color:#fff!important;border-color:#27597f!important}
.ab-data-table th,.ab-data-table td{color:#cfe0f1!important;border-color:#173a58!important}
.ab-data-table tbody tr{background:#071421!important}
.ab-data-table tbody tr:nth-child(even){background:#0a1929!important}
.ab-data-table tbody tr:hover{background:#0d2540!important}
.ab-data-table a{color:#5fcaff!important}

/* Calculator */
.ab-affcalc__metric{background:#071625!important;border-color:#1d4667!important}
.ab-affcalc__metric span{color:#91abc2!important}
.ab-affcalc__metric strong{color:#fff!important}
.ab-affcalc__metric--emphasis{background:linear-gradient(180deg,#0b2540,#0a1c31)!important;border-color:#2a78b7!important}
.ab-affcalc__metric--emphasis strong{color:#53ccff!important}
.ab-affcalc__formula{background:linear-gradient(135deg,#06101c,#0b2138)!important;border:1px solid #204b6c}
.ab-affcalc__formula strong{color:#fff}
.ab-affcalc__note,.ab-affcalc__field small{color:#91abc2!important}

/* Footer */
.ab-site-footer{
  background:radial-gradient(circle at 15% 0%,rgba(0,194,255,.07),transparent 22rem),linear-gradient(180deg,#040b14,#02060d)!important;
  border-top:1px solid #173653!important;
  color:#a9bed2!important;
}
.ab-site-footer h2,.ab-site-footer strong{color:#fff!important}
.ab-site-footer p,.ab-site-footer li,.ab-site-footer small{color:#91a9bf!important}
.ab-footer-links a,.ab-footer-jump{color:#a9cce8!important}
.ab-footer-links a:hover,.ab-footer-jump:hover{color:#fff!important}
.ab-footer-principle{background:linear-gradient(180deg,#0a1d31,#06111f)!important;border:1px solid #1c496e!important;box-shadow:var(--ab-glow)!important}
.ab-footer-principle span{color:#4ac8ff!important}
.ab-footer-bottom{border-color:#173653!important;color:#7893aa!important}

/* Final CTA */
.ab-final-cta{background:radial-gradient(circle at 80% 30%,rgba(21,151,255,.17),transparent 28rem),linear-gradient(135deg,#06101c,#091c31)!important;border-color:#1b486c!important}
.ab-final-cta h2{color:#fff!important}
.ab-final-cta p,.ab-final-actions span{color:#9fb3c9!important}

/* Rare magenta accent */
.ab-editorial-panel>div:nth-child(6) strong,.ab-scorecard>article:nth-child(6) strong{color:#f08cff!important}

@media(max-width:980px){
  .ab-primary-nav{background:#040c17!important;border-top:1px solid #173653!important}
}
@media(max-width:780px){
  .ab-hero-visual::after{border-radius:18px}
  .ab-data-table{min-width:680px}
}
@media(prefers-reduced-motion:reduce){
  .ab-start-card,.ab-outcome-card,.ab-strategy-grid>article,.ab-program-card,.ab-tool-card,.ab-hub-entry__card,.ab-cro-link,.ab-section-nav a,.ab-button{transition:none!important;transform:none!important}
}


/* ===== source: stage2-navigation-cro.css ===== */
/* Stage 2: Header, Home, Footer, Navigation and CRO */

:root{
  --ab2-max:1180px;
  --ab2-radius-lg:24px;
  --ab2-radius-md:16px;
  --ab2-glow:0 18px 50px rgba(0,116,220,.18);
}

/* Header refinement */
.ab-stage2-navigation-cro .ab-site-header{
  position:sticky;
  top:0;
  z-index:999;
}
.ab-stage2-navigation-cro .ab-header-inner{
  min-height:72px;
}
.ab-stage2-navigation-cro .ab-brand-copy strong{
  letter-spacing:-.035em;
}
.ab-stage2-navigation-cro .ab-brand-copy small{
  letter-spacing:.11em;
}
.ab-stage2-navigation-cro .ab-primary-nav{
  align-items:center;
}
.ab-stage2-navigation-cro .ab-menu--simplified{
  align-items:center;
  gap:4px;
}
.ab-stage2-navigation-cro .ab-menu--simplified>li>a,
.ab-stage2-navigation-cro .ab-menu-parent-row>a{
  border-radius:10px;
  padding:9px 11px;
}
.ab-stage2-navigation-cro .ab-menu-search-form{
  min-width:150px;
}

/* Quick header actions injected by JS */
.ab-stage2-header-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:8px;
}
.ab-stage2-header-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 12px;
  border-radius:10px;
  text-decoration:none!important;
  font-size:.84rem;
  font-weight:800;
  line-height:1;
}
.ab-stage2-header-actions__compare{
  color:#d9efff!important;
  border:1px solid #24577d;
  background:#081a2a;
}
.ab-stage2-header-actions__compare:hover{
  color:#fff!important;
  border-color:#299de8;
  background:#0b243a;
}
.ab-stage2-header-actions__calc{
  color:#fff!important;
  border:1px solid rgba(91,196,255,.6);
  background:linear-gradient(135deg,#0c67d5,#1597ff,#00bce8);
  box-shadow:0 9px 24px rgba(0,116,230,.2);
}
.ab-stage2-header-actions__calc:hover{
  filter:brightness(1.08);
}

/* Home hero refinement */
.ab-stage2-navigation-cro .ab-hero{
  min-height:640px;
  display:flex;
  align-items:center;
}
.ab-stage2-navigation-cro .ab-hero-grid{
  gap:52px;
}
.ab-stage2-navigation-cro .ab-hero-copy{
  max-width:700px;
}
.ab-stage2-navigation-cro .ab-hero-copy h1{
  max-width:780px;
  font-size:clamp(3.15rem,6.1vw,5.4rem);
}
.ab-stage2-navigation-cro .ab-hero-lead{
  max-width:680px;
}
.ab-stage2-navigation-cro .ab-hero-actions{
  gap:10px;
  flex-wrap:wrap;
}
.ab-stage2-navigation-cro .ab-hero-actions .ab-stage2-tertiary{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:0 4px;
  color:#76d1ff!important;
  font-weight:800;
  text-decoration:none;
}
.ab-stage2-navigation-cro .ab-hero-actions .ab-stage2-tertiary:hover{
  color:#fff!important;
}

/* Decision rail */
.ab-stage2-decision-rail{
  position:relative;
  z-index:5;
  margin-top:-26px;
  padding:0 20px 32px;
}
.ab-stage2-decision-rail__inner{
  max-width:var(--ab2-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.ab-stage2-decision-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:148px;
  padding:18px;
  border:1px solid #1c4668;
  border-radius:18px;
  color:#dbe9f7!important;
  text-decoration:none!important;
  background:
    radial-gradient(circle at 85% 10%,rgba(21,151,255,.12),transparent 45%),
    linear-gradient(180deg,#0b1c2f,#06121f);
  box-shadow:0 18px 50px rgba(0,0,0,.24);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.ab-stage2-decision-card:hover{
  transform:translateY(-4px);
  border-color:#2e96d8;
  box-shadow:0 20px 55px rgba(0,89,180,.26);
}
.ab-stage2-decision-card__label{
  color:#53caff;
  font-size:.7rem;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.ab-stage2-decision-card strong{
  margin-top:9px;
  font-size:1.05rem;
  line-height:1.28;
  color:#fff!important;
}
.ab-stage2-decision-card small{
  margin-top:7px;
  line-height:1.45;
  color:#93abc1!important;
}
.ab-stage2-decision-card__arrow{
  margin-top:auto;
  padding-top:12px;
  color:#53caff;
  font-size:1.1rem;
}

/* Improve Start Here */
.ab-stage2-navigation-cro .ab-start-here{
  padding-top:54px;
}
.ab-stage2-navigation-cro .ab-start-here__heading{
  align-items:end;
}
.ab-stage2-navigation-cro .ab-start-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.ab-stage2-navigation-cro .ab-start-card{
  min-height:260px;
}
.ab-stage2-navigation-cro .ab-start-card__body{
  display:flex;
  flex-direction:column;
  min-height:205px;
}
.ab-stage2-navigation-cro .ab-start-card .ab-text-link{
  margin-top:auto;
}

/* New featured decisions block */
.ab-stage2-featured{
  padding:56px 20px 66px;
  border-block:1px solid #123653;
  background:
    radial-gradient(circle at 16% 20%,rgba(0,194,255,.08),transparent 26rem),
    linear-gradient(180deg,#05101d,#030a14);
}
.ab-stage2-featured__inner{
  max-width:var(--ab2-max);
  margin:0 auto;
}
.ab-stage2-featured__head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);
  gap:30px;
  align-items:end;
  margin-bottom:24px;
}
.ab-stage2-featured__head h2{
  margin:.2rem 0 0;
  font-size:clamp(2rem,4vw,3.2rem);
  color:#fff;
  letter-spacing:-.04em;
  line-height:1.02;
}
.ab-stage2-featured__head p{
  margin:0;
  color:#9db1c7;
  line-height:1.65;
}
.ab-stage2-featured__grid{
  display:grid;
  grid-template-columns:1.1fr .9fr .9fr;
  gap:15px;
}
.ab-stage2-feature{
  position:relative;
  min-height:220px;
  overflow:hidden;
  border:1px solid #1c4668;
  border-radius:22px;
  padding:22px;
  background:linear-gradient(180deg,#0b1d31,#06121f);
  box-shadow:0 16px 44px rgba(0,0,0,.22);
}
.ab-stage2-feature:first-child{
  background:
    radial-gradient(circle at 90% 5%,rgba(0,194,255,.18),transparent 50%),
    linear-gradient(180deg,#0d2743,#06121f);
}
.ab-stage2-feature__tag{
  color:#58ccff;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.ab-stage2-feature h3{
  margin:12px 0 8px;
  color:#fff!important;
  font-size:1.35rem;
  line-height:1.18;
}
.ab-stage2-feature p{
  color:#9eb4c9!important;
  line-height:1.55;
}
.ab-stage2-feature a{
  display:inline-flex;
  margin-top:14px;
  color:#63ceff!important;
  font-weight:800;
  text-decoration:none;
}

/* Footer architecture */
.ab-stage2-navigation-cro .ab-footer-grid{
  grid-template-columns:1.25fr .8fr .8fr .95fr;
  gap:36px;
}
.ab-stage2-footer-tools h2{
  margin-top:0;
}
.ab-stage2-footer-tools ul{
  list-style:none;
  margin:0;
  padding:0;
}
.ab-stage2-footer-tools li+li{
  margin-top:9px;
}
.ab-stage2-footer-tools a{
  color:#a9cce8!important;
  text-decoration:none;
}
.ab-stage2-footer-tools a:hover{
  color:#fff!important;
}
.ab-stage2-footer-tools__badge{
  display:inline-flex;
  margin-top:16px;
  padding:7px 10px;
  border:1px solid #24577d;
  border-radius:999px;
  color:#55ccff;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* Compact mobile decision dock */
.ab-stage2-mobile-dock{
  display:none;
}

/* Focus/accessibility */
.ab-stage2-navigation-cro a:focus-visible,
.ab-stage2-navigation-cro button:focus-visible,
.ab-stage2-navigation-cro input:focus-visible{
  outline:3px solid rgba(0,194,255,.5)!important;
  outline-offset:3px;
}

/* Responsive */
@media(max-width:1280px){
  .ab-stage2-header-actions{
    display:none;
  }
  .ab-stage2-navigation-cro .ab-menu-search-form{
    min-width:120px;
  }
  .ab-stage2-decision-rail__inner{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ab-stage2-featured__grid{
    grid-template-columns:1fr 1fr;
  }
  .ab-stage2-feature:first-child{
    grid-column:1/-1;
  }
  .ab-stage2-navigation-cro .ab-footer-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:780px){
  .ab-stage2-navigation-cro .ab-hero{
    min-height:auto;
  }
  .ab-stage2-navigation-cro .ab-hero-grid{
    gap:30px;
  }
  .ab-stage2-navigation-cro .ab-hero-copy h1{
    font-size:clamp(2.65rem,12vw,4rem);
  }
  .ab-stage2-decision-rail{
    margin-top:-10px;
    padding-inline:14px;
  }
  .ab-stage2-decision-rail__inner{
    grid-template-columns:1fr;
    gap:10px;
  }
  .ab-stage2-decision-card{
    min-height:126px;
  }
  .ab-stage2-navigation-cro .ab-start-grid{
    grid-template-columns:1fr;
  }
  .ab-stage2-featured{
    padding-inline:14px;
  }
  .ab-stage2-featured__head,
  .ab-stage2-featured__grid{
    grid-template-columns:1fr;
  }
  .ab-stage2-feature:first-child{
    grid-column:auto;
  }
  .ab-stage2-navigation-cro .ab-footer-grid{
    grid-template-columns:1fr;
  }
  .ab-stage2-mobile-dock{
    position:fixed;
    z-index:998;
    left:10px;
    right:10px;
    bottom:10px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    padding:7px;
    border:1px solid #1e4b6d;
    border-radius:16px;
    background:rgba(3,12,22,.94);
    box-shadow:0 20px 50px rgba(0,0,0,.42);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  .ab-stage2-mobile-dock a{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
    padding:7px 5px;
    border-radius:10px;
    color:#b9d3e8!important;
    text-decoration:none;
    font-size:.69rem;
    font-weight:800;
  }
  .ab-stage2-mobile-dock a strong{
    color:#52caff!important;
    font-size:1rem;
    line-height:1;
  }
  .ab-stage2-mobile-dock a:hover{
    background:#0a2136;
    color:#fff!important;
  }
  body{
    padding-bottom:78px;
  }
}
@media(prefers-reduced-motion:reduce){
  .ab-stage2-decision-card{
    transition:none;
  }
  .ab-stage2-decision-card:hover{
    transform:none;
  }
}


/* ===== source: stage3-account.css ===== */
/* Stage 3: account / login / registration */

.ab-stage3-auth-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:6px;
}
.ab-stage3-auth-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 12px;
  border-radius:10px;
  font-size:.82rem;
  font-weight:800;
  text-decoration:none!important;
  white-space:nowrap;
}
.ab-stage3-auth-login{
  color:#d9efff!important;
  background:#071827;
  border:1px solid #27597e;
}
.ab-stage3-auth-login:hover{
  color:#fff!important;
  background:#0b243a;
  border-color:#2e9ee6;
}
.ab-stage3-auth-register,
.ab-stage3-auth-account{
  color:#fff!important;
  background:linear-gradient(135deg,#0d67d2,#1597ff,#00bce8);
  border:1px solid rgba(91,196,255,.62);
  box-shadow:0 9px 24px rgba(0,116,230,.2);
}
.ab-stage3-auth-logout{
  color:#a8bfd4!important;
  padding-inline:8px!important;
}
.ab-stage3-auth-logout:hover{
  color:#fff!important;
}

/* WooCommerce account shell */
/* Keep WooCommerce account widths inside the responsive shell. */
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce *{box-sizing:border-box}

.woocommerce-account .woocommerce{
  max-width:1180px;
  margin:0 auto;
  padding:48px 20px 72px;
  color:#dbe8f7;
}
.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce h3{
  color:#fff!important;
}
.woocommerce-account .woocommerce p{
  color:#a4b9cd;
  line-height:1.65;
}
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.woocommerce-ResetPassword,
.woocommerce-account .woocommerce-MyAccount-content{
  border:1px solid #1b4668!important;
  border-radius:22px!important;
  padding:24px!important;
  background:
    radial-gradient(circle at 90% 0%,rgba(21,151,255,.08),transparent 45%),
    linear-gradient(180deg,#0c1f33,#06121f)!important;
  box-shadow:0 18px 52px rgba(0,0,0,.24)!important;
}
.woocommerce-account #customer_login{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.woocommerce-account #customer_login>div{
  float:none!important;
  width:auto!important;
}
.woocommerce-account .woocommerce-form-row{
  margin-bottom:14px!important;
}
.woocommerce-account label{
  display:block;
  margin-bottom:6px;
  color:#dbe8f7;
  font-weight:700;
}
.woocommerce-account input.input-text,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"]{
  width:100%;
  min-height:48px;
  border:1px solid #244d6e!important;
  border-radius:12px!important;
  background:#06111f!important;
  color:#f2f9ff!important;
  padding:10px 12px!important;
  box-shadow:none!important;
}
.woocommerce-account input:focus{
  border-color:#1597ff!important;
  outline:3px solid rgba(21,151,255,.14)!important;
}
.woocommerce-account .woocommerce-button,
.woocommerce-account button.button{
  min-height:44px;
  border-radius:12px!important;
  border:1px solid rgba(91,196,255,.62)!important;
  background:linear-gradient(135deg,#0d67d2,#1597ff,#00bce8)!important;
  color:#fff!important;
  font-weight:800!important;
  box-shadow:0 10px 28px rgba(0,116,230,.22)!important;
}
.woocommerce-account .woocommerce-button:hover,
.woocommerce-account button.button:hover{
  filter:brightness(1.08);
}
.woocommerce-account .woocommerce-form__label-for-checkbox{
  color:#9fb3c9;
}
.woocommerce-account .woocommerce-LostPassword a,
.woocommerce-account .woocommerce-privacy-policy-text a{
  color:#64cfff!important;
}

/* Logged-in account navigation */
.woocommerce-account .woocommerce-MyAccount-navigation{
  float:left;
  width:27%;
  padding-right:20px;
}
.woocommerce-account .woocommerce-MyAccount-content{
  float:right;
  width:73%;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style:none;
  padding:10px;
  margin:0;
  border:1px solid #1b4668;
  border-radius:18px;
  background:#071522;
}
.woocommerce-account .woocommerce-MyAccount-navigation li+li{
  margin-top:4px;
}
.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:block;
  padding:11px 12px;
  border-radius:10px;
  color:#a9c9e3!important;
  text-decoration:none;
  font-weight:700;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
  color:#fff!important;
  background:#0d2b48;
}

/* Registration highlight when ?ab_mode=register */
body.ab-register-mode.woocommerce-account #customer_login .u-column2{
  border-radius:22px;
  box-shadow:0 0 0 2px rgba(21,151,255,.38),0 20px 60px rgba(0,115,220,.22);
}
body.ab-register-mode.woocommerce-account #customer_login .u-column1{
  opacity:.76;
}

/* Small benefit panel */
.ab-stage3-account-note{
  margin:0 auto 18px;
  max-width:1180px;
  padding:14px 16px;
  border:1px solid #1d4b70;
  border-radius:14px;
  background:#081b2d;
  color:#a9c3da;
}
.ab-stage3-account-note strong{
  color:#fff;
}

/* Fallback footer link */
.ab-stage3-account-footer{
  position:fixed;
  right:12px;
  bottom:12px;
  z-index:997;
  display:none;
}
.ab-stage3-account-footer a{
  display:inline-flex;
  padding:9px 12px;
  border:1px solid #24587f;
  border-radius:999px;
  color:#d9efff!important;
  background:rgba(5,17,31,.94);
  text-decoration:none;
  font-size:.78rem;
  font-weight:800;
}

/* Mobile */
@media(max-width:1280px){
  .ab-stage3-auth-actions{
    display:none;
  }
}
@media(max-width:780px){
  .woocommerce-account .woocommerce{
    padding:30px 14px 92px;
  }
  .woocommerce-account #customer_login{
    grid-template-columns:1fr;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content{
    float:none;
    width:100%;
    padding-right:0;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation{
    margin-bottom:16px;
  }
  .ab-stage3-account-footer{
    display:block;
    bottom:86px;
  }
}


/* ===== source: stage7-optimization.css ===== */
/* Stage 7 — performance/accessibility/security support styles */

:root{color-scheme:dark}

.ab-stage7-honeypot{
  position:absolute!important;
  left:-10000px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:.001!important;
  pointer-events:none!important;
}

/* Keep account fallback above mobile action bars. */
@media(max-width:780px){
  .ab-stage3-account-footer{
    display:block!important;
    bottom:86px!important;
  }
  body.ab-stage6-review-page .ab-stage3-account-footer{
    bottom:76px!important;
  }
}

/* Strong focus treatment across custom controls. */
.ab-stage7-optimized a:focus-visible,
.ab-stage7-optimized button:focus-visible,
.ab-stage7-optimized input:focus-visible,
.ab-stage7-optimized select:focus-visible,
.ab-stage7-optimized summary:focus-visible{
  outline:3px solid #64d4ff!important;
  outline-offset:3px!important;
}

/* Prevent tiny interactive targets on mobile. */
@media(max-width:780px){
  .ab-stage7-optimized button,
  .ab-stage7-optimized .ab-button,
  .ab-stage7-optimized .ab-partner-button,
  .ab-stage7-optimized .ab-stage6-review-actions a,
  .ab-stage7-optimized .ab-stage6-review-actions button{
    min-height:44px;
  }
}

/* Higher contrast preference. */
@media(prefers-contrast:more){
  .ab-stage7-optimized{
    --ab-line-dark:#2d668f;
    --ab-muted:#c3d4e4;
  }
  .ab-stage7-optimized p,
  .ab-stage7-optimized small,
  .ab-stage7-optimized .ab-start-card p,
  .ab-stage7-optimized .ab-tool-card p,
  .ab-stage7-optimized .ab-program-card p{
    color:#c3d4e4!important;
  }
  .ab-stage7-optimized .ab-button--ghost,
  .ab-stage7-optimized .ab-cro-link,
  .ab-stage7-optimized .ab-hub-entry__card{
    border-color:#3a7cac!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html:focus-within{scroll-behavior:auto!important}
}


/* ===== source: stage8-hardening.css ===== */
/* Hardening fixes */

/* Stage 2 injects a fifth footer column; size the desktop grid accordingly. */
@media(min-width:1281px){
  .ab-stage2-navigation-cro .ab-footer-grid{
    grid-template-columns:minmax(220px,1.25fr) minmax(135px,.72fr) minmax(155px,.82fr) minmax(165px,.86fr) minmax(190px,.95fr)!important;
    gap:28px!important;
    align-items:start;
  }
}

/* Prevent long account / footer labels from creating overflow. */
.ab-stage2-footer-tools a,
.ab-stage3-auth-actions a,
.ab-footer-links a{
  overflow-wrap:anywhere;
}

/* Utility and validation messages in the dark account UI. */
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info{
  border:1px solid #245a82!important;
  border-top-width:1px!important;
  border-radius:14px!important;
  background:#081a2b!important;
  color:#d8e9f7!important;
  box-shadow:none!important;
}
.woocommerce-account .woocommerce-error::before,
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before{
  color:#55ccff!important;
}
.woocommerce-account .woocommerce-error a,
.woocommerce-account .woocommerce-message a,
.woocommerce-account .woocommerce-info a{
  color:#71d4ff!important;
}

/* Keep fixed mobile UI clear of iPhone safe-area. */
@media(max-width:780px){
  .ab-stage2-mobile-dock,
  .ab-stage6-review-actions{
    padding-bottom:max(7px,env(safe-area-inset-bottom));
  }
  body{
    padding-bottom:calc(78px + env(safe-area-inset-bottom));
  }
  body.ab-stage6-review-page{
    padding-bottom:calc(76px + env(safe-area-inset-bottom));
  }
}

/* Account access remains visible when desktop auth actions collapse. */
@media (min-width:781px) and (max-width:1280px){
  .ab-stage3-account-footer{
    display:block!important;
    position:fixed;
    right:14px;
    bottom:14px;
    z-index:997;
  }
}


/* Integrate account access into the mobile quick dock instead of stacking fixed bubbles. */
@media(max-width:780px){
  body.ab-has-mobile-account-dock .ab-stage2-mobile-dock{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  body.ab-has-mobile-account-dock:not(.ab-stage6-review-page) .ab-stage3-account-footer{
    display:none!important;
  }
  .ab-stage3-mobile-account strong{
    color:#55ccff!important;
  }
}


/* Five footer blocks should not squeeze into the parent's four-column middle breakpoint. */
@media (min-width:1101px) and (max-width:1280px){
  .ab-stage2-navigation-cro .ab-footer-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:24px!important;
  }
}


/* ===== source: stage9-parent-dark-coverage.css ===== */
/*
 * Full dark-theme coverage for AffiliateBest OnePage 4.150.0.
 * This closes the remaining cream/ivory components that the earlier visual layer
 * intentionally did not touch until the exact parent theme was available.
 */

:root{
  --ab-ink:#f5f9ff;
  --ab-text:#cbd9e7;
  --ab-muted:#9fb3c9;
  --ab-cream:#07111f;
  --ab-ivory:#030a14;
  --ab-sand:#10243a;
  --ab-warm:#0b1a2b;
  --ab-gold:#1597ff;
  --ab-gold-dark:#55caff;
  --ab-gold-soft:#00c2ff;
  --ab-focus:#5ed0ff;
  --ab-plum:#7c3aed;
  --ab-plum-soft:#d946ef;
  --ab-border:rgba(79,156,211,.20);
  --ab-border-strong:rgba(79,156,211,.34);
  --ab-shadow:0 28px 72px rgba(0,0,0,.34);
  --ab-shadow-soft:0 14px 36px rgba(0,0,0,.23);
  --ab-shadow-card:0 18px 46px rgba(0,0,0,.24);
}

/* Accessibility surfaces */
.ab-skip-link:focus{
  background:#071827!important;
  color:#fff!important;
  border:1px solid #2b7caf;
}
:focus-visible{
  outline-color:rgba(0,194,255,.62)!important;
}

/* Website Building / guide hero families */
.ab-learning-hero,
.ab-category-hero{
  background:
    radial-gradient(circle at 12% 0%,rgba(0,194,255,.12),transparent 32%),
    radial-gradient(circle at 90% 8%,rgba(21,151,255,.12),transparent 27%),
    linear-gradient(180deg,#06111f 0%,#030a14 100%)!important;
  border-color:#173653!important;
}
.ab-learning-hero h1,
.ab-category-hero h1{
  color:#fff!important;
}
.ab-learning-proof span,
.ab-guide-meta span{
  background:rgba(8,25,42,.9)!important;
  color:#b9cee0!important;
  border-color:#204b6c!important;
}
.ab-learning-proof strong{color:#54caff!important}

/* Academy context strip */
.ab-academy-context{
  background:rgba(4,14,25,.97)!important;
  border-color:#173653!important;
  box-shadow:0 8px 26px rgba(0,0,0,.2)!important;
}
.ab-academy-context__brand{border-color:#173653!important}
.ab-academy-context__brand span,
.ab-academy-context__current>span,
.ab-academy-picker__head span{color:#55caff!important}
.ab-academy-context__brand strong,
.ab-academy-context__current>strong,
.ab-academy-picker__head strong,
.ab-academy-picker__item strong{color:#f2f8ff!important}
.ab-academy-step,
.ab-academy-context__browse{
  background:#071827!important;
  border-color:#214f70!important;
  color:#bfe3fa!important;
}
.ab-academy-step:hover,
.ab-academy-step:focus-visible,
.ab-academy-context__browse:hover,
.ab-academy-context__browse:focus-visible{
  background:#0b243a!important;
  border-color:#2b90cc!important;
}
.ab-academy-picker>summary{
  background:#0b2742!important;
  color:#d8efff!important;
  border-color:#2b6f9e!important;
}
.ab-academy-picker__panel{
  background:#06111f!important;
  border-color:#1c496d!important;
  box-shadow:0 28px 70px rgba(0,0,0,.48)!important;
}
.ab-academy-picker__head{border-color:#173653!important}
.ab-academy-picker__head>a{color:#61ceff!important}
.ab-academy-picker__item:hover,
.ab-academy-picker__item:focus-visible,
.ab-academy-picker__item.is-current{
  background:#0a2136!important;
  border-color:#225a83!important;
}
.ab-academy-picker__item>span{
  background:#0d2d4c!important;
  color:#5ed0ff!important;
}
.ab-academy-picker__item.is-current>span{
  background:linear-gradient(135deg,#0b67d1,#00bce8)!important;
  color:#fff!important;
}
.ab-academy-picker__item small{color:#86a8c2!important}

/* Main light wrappers from the parent theme */
.ab-category-archive,
.ab-single-article,
.ab-guide-page,
.ab-affiliate-hub,
.ab-learning-intro,
.ab-curriculum,
.ab-learning-references,
.ab-start-here,
.ab-page-navigator,
.ab-program-finder,
.ab-tool-finder,
.ab-learning-directory,
.ab-latest-articles,
.ab-related-articles{
  background:#030a14!important;
  color:#cbd9e7!important;
}
.ab-learning-outcomes,
.ab-section--revenue,
.ab-section--framework,
.ab-affiliate-economics{
  background:
    radial-gradient(circle at 84% 8%,rgba(21,151,255,.07),transparent 25rem),
    linear-gradient(180deg,#071522,#030a14)!important;
}
.ab-section--strategies,
.ab-section--overview,
.ab-home-paths{
  background:
    radial-gradient(circle at 9% 74%,rgba(0,194,255,.055),transparent 23rem),
    #030a14!important;
}

/* Broad parent card coverage */
:is(
  .ab-retention-card,
  .ab-article-card,
  .ab-module-card,
  .ab-learning-method-grid,
  .ab-learning-outcome-grid article,
  .ab-reference-grid>*,
  .ab-guide-objectives,
  .ab-flow-chain,
  .ab-flow-chain span,
  .ab-step-list article,
  .ab-guide-tip-grid article,
  .ab-status-grid article,
  .ab-wordpress-flow div,
  .ab-failure-grid article,
  .ab-checklist-grid label,
  .ab-exercise-list article,
  .ab-glossary>div,
  .ab-source-list a,
  .ab-bullet-list li,
  .ab-affiliate-metric-grid article,
  .ab-affiliate-network-grid article,
  .ab-guide-card-grid article,
  .ab-guide-steps li,
  .ab-empty-library,
  .ab-pagination a,
  .ab-pagination span
){
  background:linear-gradient(180deg,#0b1d31,#06121f)!important;
  border-color:#1b4668!important;
  color:#cfe0f1!important;
  box-shadow:0 14px 36px rgba(0,0,0,.18)!important;
}
:is(
  .ab-retention-card,
  .ab-article-card,
  .ab-module-card,
  .ab-reference-grid>*,
  .ab-source-list a,
  .ab-guide-card-grid article
):hover{
  background:linear-gradient(180deg,#0d2238,#071624)!important;
  border-color:#2a78b7!important;
  box-shadow:0 18px 46px rgba(0,91,185,.18)!important;
}

/* Text inside parent cards */
.ab-retention-card>strong,
.ab-article-card h2,
.ab-article-card h3,
.ab-module-card h3,
.ab-reference-grid strong,
.ab-guide-objectives strong,
.ab-affiliate-metric-grid strong,
.ab-affiliate-network-grid strong{
  color:#fff!important;
}
.ab-retention-card>p,
.ab-article-card p,
.ab-module-card p,
.ab-reference-grid p,
.ab-guide-objectives p,
.ab-affiliate-metric-grid p,
.ab-affiliate-network-grid p{
  color:#9fb3c9!important;
}
.ab-retention-card__eyebrow,
.ab-retention-card__action{
  color:#55caff!important;
}

/* Retention panel supplied by parent theme */
.ab-retention{
  background:
    radial-gradient(circle at 12% 0%,rgba(0,194,255,.07),transparent 25rem),
    linear-gradient(180deg,#06111f,#030a14)!important;
  border-color:#173653!important;
}
.ab-retention__heading h2{color:#fff!important}
.ab-retention__heading>p{color:#9fb3c9!important}
.ab-retention-card--primary{
  background:
    radial-gradient(circle at 90% 0%,rgba(0,194,255,.13),transparent 46%),
    linear-gradient(180deg,#0c2741,#071522)!important;
  border-color:#2b75a8!important;
}
.ab-retention__back a{color:#62ceff!important}

/* Search / archive surfaces */
.ab-article-search input,
.ab-search-jump a{
  background:#071827!important;
  color:#eef8ff!important;
  border-color:#214f70!important;
}
.ab-search-jump a:hover{
  background:#0b243a!important;
  border-color:#2d8fc9!important;
}
.ab-search-jump strong,
.ab-search-count,
.ab-empty-library__topics span{
  background:#0d2b47!important;
  color:#69d2ff!important;
  border-color:#245d85!important;
}
.ab-article-card__placeholder{
  background:
    radial-gradient(circle at 20% 20%,rgba(0,194,255,.24),transparent 36%),
    linear-gradient(135deg,#0d3d67,#071827)!important;
}
.ab-article-sidebar__box{
  background:#071827!important;
  border-color:#1c496d!important;
}
.ab-article-content blockquote{
  background:#081b2d!important;
  border-color:#2b79ad!important;
  color:#cfe0f1!important;
}

/* Learning system */
.ab-learning-map,
.ab-learning-method-grid,
.ab-learning-next,
.ab-guide-next{
  background:
    radial-gradient(circle at 90% 0%,rgba(21,151,255,.09),transparent 46%),
    linear-gradient(180deg,#0b2138,#071522)!important;
  border-color:#1d4d72!important;
  box-shadow:0 16px 44px rgba(0,0,0,.18)!important;
}
.ab-learning-map h2,
.ab-learning-next h2,
.ab-guide-next h2{color:#fff!important}
.ab-module-card{
  background:linear-gradient(180deg,#0b1d31,#06121f)!important;
}
.ab-learning-outcome-grid article{
  background:#081827!important;
}
.ab-reference-grid a{color:#cfe0f1!important}

/* Guide components that otherwise retain cream */
.ab-guide-callout,
.ab-guide-callout--principle,
.ab-guide-callout--warning,
.ab-source-review,
.ab-commercial-disclosure,
.ab-top-partner-cta{
  background:
    radial-gradient(circle at 92% 0%,rgba(21,151,255,.07),transparent 44%),
    #081a2b!important;
  border-color:#1e4f74!important;
  color:#cbd9e7!important;
}
.ab-guide-callout strong,
.ab-commercial-disclosure strong{color:#fff!important}
.ab-guide-callout p,
.ab-commercial-disclosure p,
.ab-source-review{color:#a4b9cd!important}
.ab-partner-disclosure{
  color:#a9bfd2!important;
}
.ab-partner-disclosure a{
  color:#66ceff!important;
}
.ab-partner-disclosure a:focus-visible{
  outline-color:#5ed0ff!important;
}
.ab-stack-diagram div{
  background:linear-gradient(90deg,#0a2136,#071522)!important;
  border-color:#1b4668!important;
}
.ab-guide-checklist{
  background:#071827!important;
  border-color:#1b4668!important;
}

/* Affiliate Marketing specific remaining light components */
.ab-affiliate-principle{
  background:#081a2b!important;
  border-color:#1d4d72!important;
}
.ab-affiliate-metric-grid article,
.ab-affiliate-network-grid article{
  background:#071827!important;
}
.ab-affiliate-network-grid article>div span,
.ab-affiliate-network-grid article>div a{
  background:#0b243a!important;
  color:#66ceff!important;
}

/* Directory toolbars / empty states */
.ab-program-toolbar,
.ab-tool-toolbar,
.ab-learning-toolbar,
.ab-program-empty,
.ab-tool-empty,
.ab-learning-empty{
  background:#071827!important;
  border-color:#1b4668!important;
  color:#cbd9e7!important;
}
.ab-program-empty strong,
.ab-tool-empty strong,
.ab-learning-empty strong{color:#fff!important}
.ab-program-empty p,
.ab-tool-empty p,
.ab-learning-empty p{color:#9fb3c9!important}
.ab-tool-filters button span,
.ab-learning-filters button span{
  background:#0d2b47!important;
  color:#68d0ff!important;
}
.ab-program-filters button.is-active span,
.ab-tool-filters button.is-active span,
.ab-learning-filters button.is-active span{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
}

/* Icons / badges that were still beige */
.ab-kicker,
.ab-start-card__number,
.ab-icon,
.ab-strategy-index{
  background:#0d2b47!important;
  color:#63d0ff!important;
  border-color:#245b82!important;
  box-shadow:none!important;
}

/* Secondary buttons */
.ab-button--secondary{
  background:#091827!important;
  color:#bfe5ff!important;
  border-color:#275a80!important;
  box-shadow:none!important;
}
.ab-button--secondary:hover{
  background:#0d2236!important;
  color:#fff!important;
  border-color:#2d8fc9!important;
}

/* Partner CTA */
.ab-partner-button,
.ab-guide-content .ab-button[target="_blank"],
.ab-guide-section .ab-button[target="_blank"]{
  background:
    radial-gradient(circle at 18% 0%,rgba(255,255,255,.10),transparent 35%),
    linear-gradient(135deg,#071b30 0%,#0b67d1 62%,#00a9d7 100%)!important;
  border-color:rgba(91,196,255,.42)!important;
  box-shadow:0 18px 40px rgba(0,89,180,.24)!important;
}
.ab-partner-button__mark{
  background:linear-gradient(145deg,#1597ff,#00bce8)!important;
}
.ab-partner-button__arrow{
  background:rgba(255,255,255,.10)!important;
}

/* Final CTA and editorial block */
.ab-editorial{
  background:
    radial-gradient(circle at 86% 14%,rgba(21,151,255,.10),transparent 26rem),
    linear-gradient(145deg,#06101c,#0b1a2b 58%,#06111f)!important;
}
.ab-final-cta{
  background:
    radial-gradient(circle at 85% 5%,rgba(124,58,237,.08),transparent 24rem),
    radial-gradient(circle at 10% 88%,rgba(0,194,255,.11),transparent 24rem),
    linear-gradient(135deg,#071522,#0a1d31)!important;
}

/* Parent mobile nav has a hard-coded ivory background later in its stylesheet. */
@media(max-width:1100px){
  .ab-site-header{
    background:rgba(2,8,17,.96)!important;
  }
}
@media(max-width:980px){
  .ab-js .ab-primary-nav,
  .ab-js body.admin-bar .ab-primary-nav,
  .ab-menu-search-item{
    background:#040c17!important;
    border-color:#173653!important;
  }
}
@media(max-width:760px){
  body{background:#02060d!important}
}

/* High-contrast table and form text after the parent variable remap. */
.ab-data-table td,
.ab-data-table th,
.ab-guide-section,
.ab-guide-section p,
.ab-guide-section li{
  color:#cbd9e7;
}
.ab-data-table thead{
  background:#0b2a48!important;
}



/* ===== Render/performance hardening ===== */
/* Parent mobile navigation becomes fixed at 1100px, so the dark surface must cover the full breakpoint. */
@media(max-width:1100px){
  .ab-js .ab-primary-nav,
  .ab-js body.admin-bar .ab-primary-nav,
  .ab-menu-search-item{
    background:#040c17!important;
    border-color:#173653!important;
  }
  .ab-primary-nav .ab-menu{color:#dceaff!important}
  .ab-stage3-auth-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    width:100%;
    gap:8px;
    margin:7px 0 0;
    padding:12px 4px 2px;
    border-top:1px solid #173653;
  }
  .ab-stage3-auth-actions a{
    width:100%;
    min-height:46px;
  }
}
/* Desktop/tablet bridge: header auth is intentionally hidden while the fixed account access remains. */
@media(min-width:1101px) and (max-width:1280px){
  .ab-stage3-auth-actions{display:none!important}
}
/* Mobile account access lives in the dock and hamburger menu; do not stack a second floating bubble. */
@media(max-width:780px){
  .ab-stage3-account-footer{display:none!important}
}
/* Server-rendered header actions no longer need layout animation on initial paint. */
.ab-stage2-header-actions,.ab-stage3-auth-actions{contain:layout style}
/* Ensure account links remain readable in an open mobile menu. */
@media(max-width:1100px){
  .ab-stage3-auth-login{background:#071827!important;color:#d9efff!important;border-color:#27597e!important}
  .ab-stage3-auth-register,.ab-stage3-auth-account{background:linear-gradient(135deg,#0d67d2,#1597ff,#00bce8)!important;color:#fff!important}
  .ab-stage3-auth-logout{background:#071827!important;color:#b9d0e3!important;border:1px solid #27597e!important}
}


/* ===== Tablet/mobile navigation hardening ===== */
@media (max-width:1100px){
  html.ab-js body .ab-site-header .ab-primary-nav,
  html.ab-js body.admin-bar .ab-site-header .ab-primary-nav{
    background:#040c17!important;
    border-color:#173653!important;
    box-shadow:0 22px 60px rgba(0,0,0,.46)!important;
  }
  html.ab-js body .ab-site-header .ab-menu-search-item{
    background:#040c17!important;
    border-color:#173653!important;
  }
  html.ab-js body .ab-site-header .ab-primary-nav a{color:#dceaff!important}
  html.ab-js body .ab-site-header .ab-primary-nav a:hover,
  html.ab-js body .ab-site-header .ab-primary-nav a:focus-visible,
  html.ab-js body .ab-site-header .ab-primary-nav a[aria-current="page"]{color:#fff!important}
}


/* ===== Account experience ===== */
.ab-account-welcome{
  margin:0 0 22px;
  padding:20px;
  border:1px solid #1b4668;
  border-radius:18px;
  background:radial-gradient(circle at 92% 4%,rgba(21,151,255,.10),transparent 46%),linear-gradient(180deg,#0b1d31,#06121f);
}
.ab-account-welcome h2{margin:.25rem 0 .5rem;color:#fff!important;letter-spacing:-.025em}
.ab-account-welcome p:last-child{margin:0;color:#9fb5ca!important}


/* ===== Account access bridge for compact desktop widths ===== */
@media (min-width:1101px) and (max-width:1280px){
  .ab-stage3-account-footer{display:block!important;right:18px;bottom:18px}
  body.ab-money-page .ab-stage3-account-footer{bottom:76px}
}
@media (max-width:1100px), (min-width:1281px){
  .ab-stage3-account-footer{display:none!important}
}

.ab-account-welcome__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
@media(max-width:560px){.ab-account-welcome__actions{display:grid;grid-template-columns:1fr}.ab-account-welcome__actions .ab-button{width:100%;justify-content:center}}

/* ===== AffiliateBest 1.0.2 — mobile navigation redesign ===== */
/*
 * The previous always-on five-item dock consumed too much of the phone viewport and
 * duplicated the hamburger menu. Mobile navigation is now one clean, full-height
 * dark panel below the real header. The header-bottom CSS variable is measured from
 * getBoundingClientRect(), so it already includes the WordPress admin bar offset.
 */
@media (max-width:1100px){
  html.ab-js body .ab-site-header{
    z-index:2200!important;
    background:#020813!important;
    border-bottom:1px solid #173653!important;
    box-shadow:0 10px 34px rgba(0,0,0,.32)!important;
  }

  html.ab-js body .ab-site-header .ab-primary-nav,
  html.ab-js body.admin-bar .ab-site-header .ab-primary-nav{
    position:fixed!important;
    z-index:2100!important;
    left:0!important;
    right:0!important;
    top:var(--ab-header-bottom)!important;
    bottom:0!important;
    width:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:14px max(16px,env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;
    border:0!important;
    border-top:1px solid #173653!important;
    border-radius:0!important;
    background:#030a14!important;
    box-shadow:0 24px 70px rgba(0,0,0,.50)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }

  html.ab-js body .ab-site-header .ab-primary-nav:not(.is-open){display:none!important}
  html.ab-js body .ab-site-header .ab-primary-nav.is-open{display:block!important}

  html.ab-js body .ab-site-header .ab-menu--simplified{
    width:min(100%,560px)!important;
    margin:0 auto!important;
    padding:0!important;
    display:grid!important;
    gap:8px!important;
    color:#dceaff!important;
  }

  html.ab-js body .ab-site-header .ab-menu--simplified::before{
    content:"NAVIGATION";
    order:-3;
    display:block;
    padding:2px 4px 4px;
    color:#55ccff;
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.16em;
  }

  html.ab-js body .ab-site-header .ab-menu-search-item{
    order:-2!important;
    position:static!important;
    top:auto!important;
    z-index:auto!important;
    width:100%!important;
    margin:0 0 4px!important;
    padding:0 0 12px!important;
    border:0!important;
    border-bottom:1px solid #173653!important;
    background:transparent!important;
  }

  html.ab-js body .ab-site-header .ab-menu-search-form,
  html.ab-js body .ab-site-header .ab-menu-search-form:focus-within{
    width:100%!important;
    height:48px!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 52px!important;
    overflow:hidden!important;
    border:1px solid #24577d!important;
    border-radius:14px!important;
    background:#06111f!important;
    box-shadow:none!important;
  }

  html.ab-js body .ab-site-header .ab-menu-search-form input{
    width:100%!important;
    min-width:0!important;
    height:46px!important;
    padding:0 14px!important;
    border:0!important;
    background:transparent!important;
    color:#edf8ff!important;
    font-size:16px!important;
    outline:0!important;
  }

  html.ab-js body .ab-site-header .ab-menu-search-form button{
    width:52px!important;
    height:46px!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.12)!important;
    border-radius:0!important;
    background:linear-gradient(135deg,#0d67d2,#1597ff,#00bce8)!important;
    color:#fff!important;
  }

  html.ab-js body .ab-site-header .ab-menu--simplified>li:not(.ab-menu-search-item):not(.ab-stage3-auth-actions){
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    border:1px solid #163d5e!important;
    border-radius:13px!important;
    background:linear-gradient(180deg,#081827,#06121f)!important;
    overflow:hidden!important;
  }

  html.ab-js body .ab-site-header .ab-menu--simplified>li>a,
  html.ab-js body .ab-site-header .ab-menu--simplified .ab-menu-parent-row>a{
    min-height:50px!important;
    padding:13px 14px!important;
    display:flex!important;
    align-items:center!important;
    color:#dceaff!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.25!important;
    white-space:normal!important;
  }

  html.ab-js body .ab-site-header .ab-menu--simplified>li>a:hover,
  html.ab-js body .ab-site-header .ab-menu--simplified>li>a:focus-visible,
  html.ab-js body .ab-site-header .ab-menu--simplified .ab-menu-parent-row>a:hover,
  html.ab-js body .ab-site-header .ab-menu--simplified .ab-menu-parent-row>a:focus-visible{
    color:#fff!important;
    background:#0b243a!important;
  }

  html.ab-js body .ab-site-header .ab-menu-parent-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 52px!important;
    gap:0!important;
    align-items:stretch!important;
  }

  html.ab-js body .ab-site-header .ab-submenu-toggle{
    width:52px!important;
    min-height:50px!important;
    border:0!important;
    border-left:1px solid #173653!important;
    border-radius:0!important;
    background:#081827!important;
    color:#73d3ff!important;
  }

  html.ab-js body .ab-site-header .ab-menu-item-has-mega.is-open{
    border-color:#2a78b7!important;
  }

  html.ab-js body .ab-site-header .ab-menu-item-has-mega>.ab-mega-menu{
    margin:0!important;
    padding:10px!important;
    border:0!important;
    border-top:1px solid #173653!important;
    border-radius:0!important;
    background:#040d18!important;
    box-shadow:none!important;
  }

  html.ab-js body .ab-site-header .ab-menu-card-grid{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  html.ab-js body .ab-site-header .ab-menu-card{
    min-height:auto!important;
    padding:13px!important;
    border-color:#173f60!important;
    border-radius:11px!important;
    background:#071827!important;
  }

  /* Calculator returns to the hamburger menu now that the bottom dock is gone. */
  html.ab-js body .ab-site-header .ab-stage2-header-actions{
    display:block!important;
    width:100%!important;
    padding:0!important;
  }
  html.ab-js body .ab-site-header .ab-stage2-header-actions__calc{
    width:100%!important;
    min-height:50px!important;
    padding:13px 14px!important;
    border:0!important;
    border-radius:12px!important;
    justify-content:flex-start!important;
    color:#fff!important;
    background:linear-gradient(135deg,#0b5fc4,#1597ff,#00bce8)!important;
    box-shadow:none!important;
    font-size:15px!important;
  }

  html.ab-js body .ab-site-header .ab-stage3-auth-actions{
    order:20!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
    gap:8px!important;
    margin:4px 0 0!important;
    padding:12px 0 0!important;
    border-top:1px solid #173653!important;
  }
  html.ab-js body .ab-site-header .ab-stage3-auth-actions a{
    min-height:48px!important;
    border-radius:12px!important;
    justify-content:center!important;
    font-size:.86rem!important;
  }

  /* No second mobile navigation floating over the page. */
  .ab-stage2-mobile-dock{display:none!important}
}

@media (max-width:780px){
  body:not(.ab-stage6-review-page){padding-bottom:0!important}
  html.ab-js body .ab-site-header .ab-primary-nav,
  html.ab-js body.admin-bar .ab-site-header .ab-primary-nav{
    padding-inline:max(12px,env(safe-area-inset-left))!important;
  }
  html.ab-js body .ab-site-header .ab-menu--simplified{
    width:100%!important;
  }
}

/* WordPress admin bar is already included in --ab-header-bottom; never add it twice. */
@media (max-width:1100px){
  html.ab-js body.admin-bar .ab-site-header .ab-primary-nav{
    top:var(--ab-header-bottom)!important;
  }
}


/* ===== AffiliateBest 1.0.3 — authoritative mobile navigation ===== */
/* Retired quick dock: hide even if old cached/WPCode code injects it. */
html body .ab-stage2-mobile-dock{display:none!important;visibility:hidden!important;pointer-events:none!important}

@media (max-width:1100px){
  body{--ab-nav-fallback-top:76px}
  body.admin-bar{--ab-nav-fallback-top:108px}

  html.ab-js body .ab-site-header{
    z-index:5000!important;
    background:#020813!important;
    border-bottom:1px solid #173653!important;
    box-shadow:0 8px 28px rgba(0,0,0,.30)!important;
  }
  html.ab-js body .ab-site-header .ab-header-inner{
    min-height:76px!important;
    height:76px!important;
    grid-template-columns:minmax(0,1fr) 48px!important;
    gap:12px!important;
  }
  html.ab-js body .ab-site-header .ab-brand{
    min-width:0!important;
    max-width:calc(100vw - 92px)!important;
  }
  html.ab-js body .ab-site-header .ab-brand-copy{
    min-width:0!important;
  }
  html.ab-js body .ab-site-header .ab-brand-copy strong{
    color:#fff!important;
    font-size:25px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html.ab-js body .ab-site-header .ab-brand-copy small{
    color:#77bfe9!important;
  }
  html.ab-js body .ab-site-header .ab-mobile-nav-toggle{
    display:grid!important;
    place-items:center!important;
    justify-self:end!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    padding:0!important;
    border:1px solid #24577d!important;
    border-radius:14px!important;
    background:#071827!important;
    color:#dff4ff!important;
    box-shadow:none!important;
  }
  html.ab-js body .ab-site-header .ab-mobile-nav-toggle__bars{
    width:20px!important;
    gap:4px!important;
  }
  html.ab-js body .ab-site-header .ab-mobile-nav-toggle__bars>span{
    width:20px!important;
    height:2px!important;
    background:#dff4ff!important;
  }

  html.ab-js body .ab-site-header .ab-primary-nav,
  html.ab-js body.admin-bar .ab-site-header .ab-primary-nav{
    position:fixed!important;
    z-index:4900!important;
    left:0!important;
    right:0!important;
    top:var(--ab-menu-top,var(--ab-nav-fallback-top))!important;
    bottom:0!important;
    width:100%!important;
    height:auto!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:14px max(14px,env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important;
    border:0!important;
    border-top:1px solid #173653!important;
    border-radius:0!important;
    background:#030a14!important;
    box-shadow:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    isolation:isolate!important;
  }
  html.ab-js body .ab-site-header .ab-primary-nav:not(.is-open){display:none!important}
  html.ab-js body .ab-site-header .ab-primary-nav.is-open{display:block!important}

  html.ab-js body .ab-site-header .ab-menu--simplified{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:min(100%,560px)!important;
    margin:0 auto!important;
    padding:0!important;
    gap:8px!important;
    list-style:none!important;
  }
  html.ab-js body .ab-site-header .ab-menu--simplified::before{content:none!important;display:none!important}
  html.ab-js body .ab-site-header .ab-menu--simplified>li{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  html.ab-js body .ab-site-header .ab-menu-search-item{
    order:-10!important;
    position:static!important;
    width:100%!important;
    margin:0 0 4px!important;
    padding:0 0 12px!important;
    border:0!important;
    border-bottom:1px solid #173653!important;
    background:transparent!important;
  }
  html.ab-js body .ab-site-header .ab-menu-search-form,
  html.ab-js body .ab-site-header .ab-menu-search-form:focus-within{
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 52px!important;
    border:1px solid #24577d!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:#06111f!important;
    box-shadow:none!important;
  }
  html.ab-js body .ab-site-header .ab-menu-search-form input{
    width:100%!important;
    min-width:0!important;
    height:46px!important;
    padding:0 14px!important;
    border:0!important;
    background:transparent!important;
    color:#edf8ff!important;
    font-size:16px!important;
  }
  html.ab-js body .ab-site-header .ab-menu-search-form button{
    width:52px!important;
    height:46px!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.12)!important;
    border-radius:0!important;
    background:linear-gradient(135deg,#0d67d2,#1597ff,#00bce8)!important;
    color:#fff!important;
  }

  html.ab-js body .ab-site-header .ab-menu--simplified>li:not(.ab-menu-search-item):not(.ab-stage3-auth-actions){
    border:1px solid #163d5e!important;
    border-radius:13px!important;
    background:linear-gradient(180deg,#081827,#06121f)!important;
    overflow:hidden!important;
  }
  html.ab-js body .ab-site-header .ab-menu--simplified>li>a,
  html.ab-js body .ab-site-header .ab-menu--simplified .ab-menu-parent-row>a{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:50px!important;
    padding:13px 14px!important;
    color:#dceaff!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.25!important;
    white-space:normal!important;
  }
  html.ab-js body .ab-site-header .ab-menu-parent-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 52px!important;
    gap:0!important;
    align-items:stretch!important;
  }
  html.ab-js body .ab-site-header .ab-submenu-toggle{
    width:52px!important;
    min-width:52px!important;
    min-height:50px!important;
    border:0!important;
    border-left:1px solid #173653!important;
    border-radius:0!important;
    background:#081827!important;
    color:#73d3ff!important;
  }
  html.ab-js body .ab-site-header .ab-menu-item-has-mega>.ab-mega-menu{
    position:static!important;
    width:100%!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#040d18!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    overflow:hidden!important;
  }
  html.ab-js body .ab-site-header .ab-menu-item-has-mega.is-open>.ab-mega-menu{
    max-height:none!important;
    padding:10px!important;
    border-top:1px solid #173653!important;
    overflow:visible!important;
  }
  html.ab-js body .ab-site-header .ab-menu-card-grid{grid-template-columns:1fr!important;gap:8px!important}
  html.ab-js body .ab-site-header .ab-menu-card{
    min-height:auto!important;
    padding:13px!important;
    border:1px solid #173f60!important;
    border-radius:11px!important;
    background:#071827!important;
  }
  html.ab-js body .ab-site-header .ab-stage2-header-actions{
    display:block!important;
    width:100%!important;
    padding:0!important;
  }
  html.ab-js body .ab-site-header .ab-stage2-header-actions__calc{
    display:flex!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-height:50px!important;
    padding:13px 14px!important;
    border:0!important;
    border-radius:12px!important;
    color:#fff!important;
    background:linear-gradient(135deg,#0b5fc4,#1597ff,#00bce8)!important;
    box-shadow:none!important;
    font-size:15px!important;
  }
  html.ab-js body .ab-site-header .ab-stage3-auth-actions{
    order:20!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
    gap:8px!important;
    margin:4px 0 0!important;
    padding:12px 0 0!important;
    border-top:1px solid #173653!important;
  }
  html.ab-js body .ab-site-header .ab-stage3-auth-actions a{
    min-height:48px!important;
    border-radius:12px!important;
    justify-content:center!important;
    font-size:.86rem!important;
  }
}

@media (max-width:782px){
  body.admin-bar{--ab-nav-fallback-top:122px}
}
@media (max-width:520px){
  html.ab-js body .ab-site-header .ab-brand-copy small{display:none!important}
}
@media (max-width:420px){
  html.ab-js body .ab-site-header .ab-header-inner{min-height:68px!important;height:68px!important}
  body{--ab-nav-fallback-top:68px}
  body.admin-bar{--ab-nav-fallback-top:114px}
  html.ab-js body .ab-site-header .ab-brand-copy strong{font-size:23px!important}
}

/* ===== AffiliateBest 1.0.3 — dedicated account shell ===== */
.ab-account-page{background:#02060d;color:#dbe8f7;min-height:70vh}
.ab-account-hero{padding:48px 0 30px;border-bottom:1px solid #173653;background:radial-gradient(circle at 85% 10%,rgba(21,151,255,.12),transparent 30rem),linear-gradient(180deg,#06111f,#030a14)}
.ab-account-hero h1{margin:.2rem 0 10px;color:#fff!important;font-size:clamp(2.35rem,5vw,4rem);line-height:1;letter-spacing:-.04em}
.ab-account-hero p:not(.ab-eyebrow){max-width:720px;margin:0;color:#9fb5ca;line-height:1.65}
.ab-account-content{padding:34px 0 72px}
.ab-account-content>.ab-container{min-width:0}
@media(max-width:760px){.ab-account-hero{padding:34px 0 24px}.ab-account-content{padding:24px 0 54px}}


/* ===== AffiliateBest 1.0.4 — mobile menu production fix ===== */
/* The WP admin-bar body class may remain while the toolbar itself is hidden on
   iOS. Use the JS-measured visible height instead of a hard-coded 46px gap. */
@media (max-width:1100px){
  html.ab-js body .ab-site-header,
  html.ab-js body.admin-bar .ab-site-header{
    top:var(--ab-wp-admin-offset,0px)!important;
  }

  /* Full-screen drawer background starts at the viewport top. The menu content
     itself starts below the measured header. This prevents the underlying page
     from showing through above the search field. */
  html.ab-js body .ab-site-header .ab-primary-nav,
  html.ab-js body.admin-bar .ab-site-header .ab-primary-nav{
    top:0!important;
    bottom:auto!important;
    height:100dvh!important;
    min-height:100dvh!important;
    padding-top:calc(var(--ab-menu-content-top,76px) + 12px)!important;
    padding-right:max(14px,env(safe-area-inset-right))!important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom))!important;
    padding-left:max(14px,env(safe-area-inset-left))!important;
    background:
      radial-gradient(circle at 88% 0%,rgba(21,151,255,.08),transparent 24rem),
      #020913!important;
    border-top:0!important;
    box-shadow:none!important;
  }

  html.ab-menu-open,body.ab-menu-open{overflow:hidden!important}
  body.ab-menu-open{overscroll-behavior:none!important}

  /* One compact navigation surface instead of a tall stack of separate cards. */
  html.ab-js body .ab-site-header .ab-menu--simplified{
    width:min(100%,560px)!important;
    gap:0!important;
    padding:8px!important;
    border:1px solid #173f60!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#071624,#040d18)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.34)!important;
  }

  html.ab-js body .ab-site-header .ab-menu-search-item{
    margin:0 0 4px!important;
    padding:0 0 8px!important;
    border-bottom:1px solid #173653!important;
  }
  html.ab-js body .ab-site-header .ab-menu-search-form,
  html.ab-js body .ab-site-header .ab-menu-search-form:focus-within{
    height:46px!important;
    grid-template-columns:minmax(0,1fr) 48px!important;
    border-radius:12px!important;
    background:#04111e!important;
  }
  html.ab-js body .ab-site-header .ab-menu-search-form input,
  html.ab-js body .ab-site-header .ab-menu-search-form button{
    height:44px!important;
  }
  html.ab-js body .ab-site-header .ab-menu-search-form button{width:48px!important}

  html.ab-js body .ab-site-header .ab-menu--simplified>li:not(.ab-menu-search-item):not(.ab-stage3-auth-actions){
    border:0!important;
    border-bottom:1px solid #123551!important;
    border-radius:0!important;
    background:transparent!important;
    overflow:visible!important;
  }
  html.ab-js body .ab-site-header .ab-menu--simplified>li:not(.ab-menu-search-item):not(.ab-stage3-auth-actions):last-of-type{
    border-bottom:0!important;
  }
  html.ab-js body .ab-site-header .ab-menu--simplified>li>a,
  html.ab-js body .ab-site-header .ab-menu--simplified .ab-menu-parent-row>a{
    min-height:46px!important;
    padding:11px 12px!important;
    border-radius:10px!important;
    font-size:15px!important;
    line-height:1.2!important;
  }
  html.ab-js body .ab-site-header .ab-menu--simplified>li>a:hover,
  html.ab-js body .ab-site-header .ab-menu--simplified>li>a:focus-visible,
  html.ab-js body .ab-site-header .ab-menu--simplified .ab-menu-parent-row>a:hover,
  html.ab-js body .ab-site-header .ab-menu--simplified .ab-menu-parent-row>a:focus-visible{
    background:#0a2034!important;
  }

  html.ab-js body .ab-site-header .ab-menu-parent-row{
    grid-template-columns:minmax(0,1fr) 46px!important;
  }
  html.ab-js body .ab-site-header .ab-submenu-toggle{
    width:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    background:transparent!important;
  }

  html.ab-js body .ab-site-header .ab-stage2-header-actions{
    border-bottom:0!important;
    padding:6px 0!important;
  }
  html.ab-js body .ab-site-header .ab-stage2-header-actions__calc{
    min-height:44px!important;
    padding:10px 12px!important;
    border-radius:10px!important;
    font-size:15px!important;
  }

  html.ab-js body .ab-site-header .ab-stage3-auth-actions{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
    margin:6px 0 0!important;
    padding:8px 0 0!important;
  }
  html.ab-js body .ab-site-header .ab-stage3-auth-actions a{
    min-height:44px!important;
    padding:10px!important;
    border-radius:10px!important;
    font-size:.84rem!important;
  }

  html.ab-js body .ab-site-header .ab-menu-item-has-mega.is-open>.ab-mega-menu{
    padding:8px!important;
    border-top:1px solid #173653!important;
    background:#040d18!important;
  }
  html.ab-js body .ab-site-header .ab-menu-card{
    padding:11px!important;
    border-radius:10px!important;
  }

  /* Browser translation may translate a brand name into ordinary words. */
  .ab-brand-copy.notranslate{unicode-bidi:isolate}
}

@media (max-width:420px){
  html.ab-js body .ab-site-header .ab-primary-nav,
  html.ab-js body.admin-bar .ab-site-header .ab-primary-nav{
    padding-top:calc(var(--ab-menu-content-top,68px) + 10px)!important;
    padding-inline:max(10px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right))!important;
  }
  html.ab-js body .ab-site-header .ab-menu--simplified{padding:7px!important;border-radius:15px!important}
  html.ab-js body .ab-site-header .ab-menu--simplified>li>a,
  html.ab-js body .ab-site-header .ab-menu--simplified .ab-menu-parent-row>a{font-size:14px!important}
}


/* ===== AffiliateBest 1.0.5 — scrollable mobile drawer below header ===== */
@media (max-width:1100px){
  /* Lock only the page behind the menu. Never use touch-action:none on BODY:
     iOS includes ancestors in gesture arbitration, which can block scrolling
     inside an otherwise scrollable fixed drawer. */
  html.ab-js body.ab-menu-open{
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }

  /* Keep the real header + close button visible. The menu occupies only the
     remaining viewport underneath the measured header and owns vertical scroll. */
  html.ab-js body .ab-site-header .ab-primary-nav.is-open,
  html.ab-js body.admin-bar .ab-site-header .ab-primary-nav.is-open{
    box-sizing:border-box!important;
    top:76px!important;
    bottom:auto!important;
    height:calc(100dvh - var(--ab-menu-content-top,76px))!important;
    min-height:0!important;
    max-height:calc(100dvh - var(--ab-menu-content-top,76px))!important;
    padding-top:10px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:none!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y pinch-zoom!important;
    scrollbar-gutter:stable;
  }

  html.ab-js body .ab-site-header .ab-primary-nav.is-open .ab-menu--simplified{
    min-height:min-content!important;
    height:auto!important;
    overflow:visible!important;
  }

  /* Header controls must stay above the drawer so users can always close it. */
  html.ab-js body .ab-site-header .ab-brand,
  html.ab-js body .ab-site-header .ab-mobile-nav-toggle{
    position:relative!important;
    z-index:5200!important;
  }
}
