/* BAIZE-051 public recruitment page. Member-center selectors remain isolated below. */
body.baize-incentive-public-page main.container {
  width: 100%;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

body.baize-incentive-public-page main.container > .content-wrap,
body.baize-incentive-public-page main.container .content-layout,
body.baize-incentive-public-page main.container .page-article,
body.baize-incentive-public-page main.container .wp-posts-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.baize-incentive-public {
  --bi-navy: #061a3b;
  --bi-blue: #287cff;
  --bi-gold: #e1ad4d;
  --bi-gold-light: #ffe09a;
  --bi-ink: #102e58;
  --bi-muted: #607a9d;
  --bi-line: #e2e7ed;
  --bi-radius: 14px;
  position: relative;
  width: 100%;
  overflow: clip;
  padding: 0 0 68px;
  background: #f5f6f7;
  color: var(--bi-ink);
}

.baize-incentive-shell {
  width: min(1360px, calc(100% - 48px));
  margin-inline: auto;
}

.baize-incentive-hero-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 43%, rgba(48, 126, 255, .34), transparent 29%),
    radial-gradient(circle at 50% -30%, rgba(61, 137, 255, .19), transparent 48%),
    linear-gradient(118deg, #06152f 0%, #082550 56%, #061a3b 100%);
  color: #fff;
}

.baize-incentive-hero-stage::before,
.baize-incentive-hero-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.baize-incentive-hero-stage::before {
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(rgba(100, 161, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 161, 255, .11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.baize-incentive-hero-stage::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 21, 47, .36), transparent 48%, rgba(6, 21, 47, .08)),
    radial-gradient(ellipse at 73% 88%, rgba(31, 112, 255, .18), transparent 34%);
}

.baize-incentive-hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(540px, 1.04fr);
  gap: 26px;
  align-items: center;
  min-height: 620px;
  padding: 54px 0 112px;
}

.baize-incentive-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.baize-incentive-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(134, 180, 255, .35);
  border-radius: 7px;
  background: rgba(34, 83, 159, .24);
  color: #c2d8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

.baize-incentive-hero h1 {
  max-width: 12em;
  margin: 17px 0 11px;
  color: #fff;
  font-size: clamp(48px, 3.65vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.baize-incentive-hero h2 {
  margin: 0 0 16px;
  color: #dbe9ff;
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}

.baize-incentive-hero-copy > p {
  max-width: 62ch;
  margin: 0;
  color: #aebfda;
  font-size: 15px;
  line-height: 1.75;
}

.baize-incentive-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 27px;
}

.baize-incentive-public .baize-incentive-cta .pill.primary,
.baize-incentive-public .baize-incentive-bottom .pill.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid #f4c96f;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffe19d, #e6ae4d);
  color: #3d2b08;
  box-shadow: 0 12px 30px rgba(219, 168, 75, .22);
  font-weight: 850;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}

.baize-incentive-public .baize-incentive-cta .pill.primary:hover,
.baize-incentive-public .baize-incentive-bottom .pill.primary:hover {
  border-color: #ffe0a0;
  background: linear-gradient(135deg, #ffe8b4, #ebb857);
  color: #342204;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(219, 168, 75, .3);
}

.baize-incentive-public .baize-incentive-cta .pill.primary:active,
.baize-incentive-public .baize-incentive-bottom .pill.primary:active {
  transform: translateY(1px);
}

.baize-incentive-cta small {
  max-width: 27ch;
  color: #9fb3d1;
  font-size: 13px;
  line-height: 1.6;
}

.baize-incentive-hero-art {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.baize-incentive-hero-art::before {
  position: absolute;
  left: 50%;
  bottom: 25px;
  width: 470px;
  height: 108px;
  border: 1px solid rgba(92, 157, 255, .36);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(70, 139, 255, .66), rgba(17, 67, 152, .16) 54%, transparent 72%);
  box-shadow: 0 18px 0 -8px rgba(6, 25, 57, .86), 0 20px 0 -2px rgba(54, 124, 234, .22), 0 38px 42px rgba(2, 13, 34, .5);
  content: "";
  filter: drop-shadow(0 0 20px rgba(47, 128, 255, .35));
  transform: translateX(-50%);
}

.baize-incentive-hero-art::after {
  position: absolute;
  left: 50%;
  bottom: 39px;
  width: 350px;
  height: 62px;
  border: 1px solid rgba(135, 181, 255, .42);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(31, 84, 168, .48), rgba(5, 22, 54, .9));
  box-shadow: inset 0 8px 18px rgba(69, 140, 255, .3);
  content: "";
  transform: translateX(-50%);
}

.baize-incentive-orbit {
  position: absolute;
  left: 50%;
  top: 45%;
  z-index: 2;
  border: 1px solid rgba(112, 168, 255, .5);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(45, 118, 245, .08);
  transform: translate(-50%, -50%) rotate(-12deg);
}

.baize-incentive-orbit::before,
.baize-incentive-orbit::after {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f0bd5f;
  box-shadow: 0 0 22px rgba(240, 189, 95, .86);
  content: "";
}

.baize-incentive-orbit::before { left: 10%; top: 13%; }
.baize-incentive-orbit::after { right: 5%; bottom: 25%; width: 9px; height: 9px; background: #69a7ff; box-shadow: 0 0 19px rgba(105, 167, 255, .8); }
.baize-incentive-orbit.orbit-one { width: 620px; height: 310px; }
.baize-incentive-orbit.orbit-two { width: 420px; height: 510px; border-color: rgba(231, 177, 77, .4); transform: translate(-50%, -50%) rotate(55deg); }

.baize-incentive-ai-core {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(174, 208, 255, .76);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, .45), transparent 16%),
    radial-gradient(circle at 50% 44%, rgba(63, 142, 255, .4), transparent 43%),
    radial-gradient(circle, rgba(36, 105, 223, .3), rgba(5, 25, 62, .92) 72%);
  box-shadow: inset 0 0 72px rgba(113, 170, 255, .46), inset 0 -38px 72px rgba(2, 14, 41, .72), 0 0 32px rgba(86, 153, 255, .58), 0 0 118px rgba(37, 112, 255, .4);
  transform: translate(-50%, -50%);
}

.baize-incentive-ai-core::before,
.baize-incentive-ai-core::after {
  position: absolute;
  border: 1px solid rgba(131, 182, 255, .4);
  border-radius: 50%;
  content: "";
}

.baize-incentive-ai-core::before { inset: 27px; }
.baize-incentive-ai-core::after { inset: 58px; border-color: rgba(236, 185, 88, .24); }

.baize-incentive-ai-core span {
  position: relative;
  z-index: 2;
  width: 148px;
  height: 108px;
  border: 2px solid #8cbcff;
  border-radius: 25px;
  background: linear-gradient(145deg, #397ded, #0b3e9e);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, .22), 0 0 30px rgba(45, 126, 255, .9);
}

.baize-incentive-ai-core span::before,
.baize-incentive-ai-core span::after {
  position: absolute;
  top: 36px;
  width: 10px;
  height: 19px;
  border-radius: 7px;
  background: #e1edff;
  box-shadow: 0 0 12px #7eb1ff;
  content: "";
}

.baize-incentive-ai-core span::before { left: 38px; }
.baize-incentive-ai-core span::after { right: 38px; }
.baize-incentive-ai-core i { position: absolute; inset: 10px; border: 1px solid rgba(157, 198, 255, .26); border-radius: 50%; }
.baize-incentive-ai-core b { position: absolute; left: 50%; top: 60%; z-index: 3; width: 36px; height: 2px; border-radius: 2px; background: #d5e6ff; transform: translateX(-50%); }

.baize-incentive-art-caption {
  position: absolute;
  left: 50%;
  bottom: -4px;
  z-index: 4;
  color: #7898c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.baize-incentive-content { position: relative; z-index: 5; margin-top: -64px; }

.baize-incentive-overview {
  display: grid;
  grid-template-columns: minmax(350px, 2.1fr) minmax(0, 5.4fr);
  overflow: hidden;
  border: 1px solid rgba(102, 164, 255, .5);
  border-radius: var(--bi-radius);
  background: #092d64;
  color: #fff;
  box-shadow: 0 20px 50px rgba(7, 35, 79, .18);
}

.baize-incentive-cycle-summary { padding: 30px; border-right: 1px solid rgba(121, 174, 255, .24); background: linear-gradient(145deg, rgba(30, 83, 164, .9), rgba(8, 39, 85, .96)); }
.baize-incentive-overline { display: inline-flex; align-items: center; gap: 8px; color: #a5c1eb; font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.baize-incentive-overline svg { width: 17px; height: 17px; color: #f1bf63; }
.baize-incentive-cycle-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 9px 0 8px; }
.baize-incentive-cycle-heading h2 { margin: 0; color: #fff; font-size: 23px; font-weight: 850; line-height: 1.3; letter-spacing: 0; }
.baize-incentive-cycle-summary > p { margin: 5px 0; color: #c1d2e9; line-height: 1.65; }
.baize-incentive-cycle-summary .baize-incentive-cycle-note { margin-top: 12px; color: #93acd0; font-size: 13px; }

.baize-incentive-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); align-items: stretch; gap: 1px; background: rgba(122, 178, 255, .2); }
.baize-incentive-metrics > div { display: flex; min-width: 0; min-height: 166px; flex-direction: column; justify-content: center; padding: 22px 20px; background: linear-gradient(180deg, rgba(12, 54, 116, .98), rgba(8, 43, 94, .98)); }
.baize-incentive-metric-icon { display: inline-flex; width: 31px; height: 31px; align-items: center; justify-content: center; margin-bottom: 11px; border: 1px solid rgba(134, 182, 255, .24); border-radius: 9px; background: rgba(66, 130, 230, .13); color: #78afff; }
.baize-incentive-metric-icon svg { width: 17px; height: 17px; }
.baize-incentive-metrics .baize-incentive-metric-label { color: #9eb8dd; font-size: 13px; line-height: 1.4; }
.baize-incentive-metrics strong { margin-top: 9px; color: #fff; font-size: clamp(27px, 2.2vw, 36px); font-weight: 900; line-height: 1.1; overflow-wrap: anywhere; }
.baize-incentive-metrics .is-budget strong { color: var(--bi-gold-light); }
.baize-incentive-metrics .is-budget .baize-incentive-metric-icon { border-color: rgba(241, 191, 99, .34); background: rgba(225, 173, 77, .13); color: #f4c76f; }

.baize-incentive-hard-boundary { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; padding: 15px 18px; border: 1px solid #ead39a; border-radius: 11px; background: #fff8e7; box-shadow: 0 8px 24px rgba(55, 91, 140, .05); }
.baize-incentive-notice-mark { display: inline-flex; flex: 0 0 30px; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #f3c96e; color: #4f390d; font-weight: 900; }
.baize-incentive-hard-boundary div { display: flex; gap: 8px; flex-wrap: wrap; }
.baize-incentive-hard-boundary strong { color: #59400e; }
.baize-incentive-hard-boundary div > span { color: #756333; }

.baize-incentive-section { margin-top: 0; padding: 36px 0 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.baize-incentive-section + .baize-incentive-section { border-top: 1px solid rgba(218, 224, 231, .7); }
.baize-incentive-section-head { max-width: 800px; margin-bottom: 21px; }
.baize-incentive-section-head > span { color: #3372c4; font-size: 12px; font-weight: 850; letter-spacing: .07em; }
.baize-incentive-section-head h2 { margin: 6px 0 8px; color: var(--bi-ink); font-size: clamp(28px, 2.2vw, 30px); font-weight: 900; line-height: 1.25; letter-spacing: 0; }
.baize-incentive-module .baize-incentive-section-head h2:first-child,
.baize-incentive-faq-section .baize-incentive-section-head h2:first-child { margin-top: 0; }
.baize-incentive-section p, .baize-incentive-card p { color: var(--bi-muted); line-height: 1.68; }
.baize-incentive-section-head p { margin: 0; font-size: 14.5px; }

.baize-incentive-history-list { display: grid; gap: 10px; }
.baize-incentive-history-list article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .35fr) auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--bi-line); border-radius: 11px; background: rgba(255, 255, 255, .78); }
.baize-incentive-history-list article > div { display: grid; gap: 3px; }
.baize-incentive-history-list article span { color: var(--bi-muted); }
.baize-incentive-history-list article > .baize-co-status { color: inherit; }
.baize-incentive-history-list article > p { grid-column: 1 / -1; margin: 0; }

.baize-incentive-faq-section { padding: 34px 34px 6px; }
.baize-incentive-faq-section .baize-incentive-section-head { margin-right: 0; margin-bottom: 22px; margin-left: 0; text-align: left; }
.baize-incentive-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; align-items: start; }
.baize-incentive-faq details { overflow: hidden; border: 1px solid #e1e5ea; border-radius: 10px; background: #fff; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.baize-incentive-faq details:hover { border-color: #cbd4df; background: #fff; }
.baize-incentive-faq details[open] { border-color: #b9c9dc; background: #fff; box-shadow: 0 7px 18px rgba(27, 50, 82, .065); }
.baize-incentive-faq summary { position: relative; display: flex; min-height: 50px; align-items: center; padding: 12px 44px 12px 16px; cursor: pointer; color: #173b6b; font-size: 13.5px; font-weight: 800; line-height: 1.5; list-style: none; }
.baize-incentive-faq summary::-webkit-details-marker { display: none; }
.baize-incentive-faq summary::after { position: absolute; right: 14px; top: 50%; display: grid; width: 22px; height: 22px; place-items: center; color: #3377cf; font-size: 21px; font-weight: 500; line-height: 1; content: "+"; transform: translateY(-50%); }
.baize-incentive-faq details[open] summary::after { content: "−"; }
.baize-incentive-faq p { margin: 0; padding: 0 16px 14px; font-size: 13.5px; }

.baize-incentive-bottom { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: center; overflow: hidden; margin-top: 32px; padding: 32px 38px; border: 1px solid rgba(103, 162, 255, .48); border-radius: var(--bi-radius); background: radial-gradient(circle at 88% 0, rgba(58, 132, 255, .38), transparent 31%), linear-gradient(116deg, #071d40, #0c3472); color: #fff; box-shadow: 0 17px 42px rgba(17, 53, 104, .17); }
.baize-incentive-bottom::before, .baize-incentive-bottom::after { position: absolute; border: 1px solid rgba(113, 167, 255, .2); border-radius: 50%; content: ""; }
.baize-incentive-bottom::before { right: 17%; top: -72px; width: 190px; height: 190px; }
.baize-incentive-bottom::after { right: 7%; bottom: -78px; width: 138px; height: 138px; border-color: rgba(231, 177, 77, .16); }
.baize-incentive-bottom > div, .baize-incentive-bottom .pill { position: relative; z-index: 1; }
.baize-incentive-bottom h2 { margin: 0 0 8px; color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; letter-spacing: 0; }
.baize-incentive-bottom p { margin: 0 0 8px; color: #c2d2e8; }
.baize-incentive-bottom small { color: #8da6c8; }
.baize-incentive-public a:focus-visible, .baize-incentive-faq summary:focus-visible { outline: 3px solid rgba(40, 124, 255, .52); outline-offset: 3px; }
.dark-theme .baize-incentive-public { background: #0f1825; }

/* Existing member-center incentive UI. */
.baize-incentive-cycle-card, .baize-incentive-card, .baize-incentive-history { border: 1px solid #d8e4f3; border-radius: 8px; background: #fff; }
.baize-incentive-cycle-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; margin-bottom: 18px; padding: 20px; }
.baize-incentive-cycle-card h3 { margin: 6px 0; }
.baize-incentive-cycle-card > div:nth-child(2) { display: grid; justify-items: end; gap: 5px; }
.baize-incentive-cycle-card > div:nth-child(2) > strong { font-size: 25px; }
.baize-incentive-cycle-card > p { grid-column: 1 / -1; margin: 0; color: #607896; }
.baize-incentive-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.baize-incentive-member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.baize-incentive-card { padding: 20px; }
.baize-incentive-card h3 { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.baize-incentive-card p { margin: 0 0 8px; }
.baize-incentive-card small { color: #607896; }
.baize-incentive-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #8796aa; }
.baize-incentive-dot.is-eligible { background: #247549; }
.baize-incentive-dot.is-not_eligible, .baize-incentive-dot.is-membership_inactive { background: #b13b52; }
.baize-incentive-dot.is-pending_rule, .baize-incentive-dot.is-unconfigured, .baize-incentive-dot.is-cycle_inactive { background: #e3a817; }
.baize-incentive-history { margin-top: 18px; padding: 20px; }
.baize-incentive-history h3 { margin-top: 0; }
.dark-theme .baize-incentive-cycle-card, .dark-theme .baize-incentive-card, .dark-theme .baize-incentive-history { border-color: #40516a; background: #192536; }
.dark-theme .baize-incentive-card p, .dark-theme .baize-incentive-cycle-card > p { color: #b8c6d8; }

/* BAIZE-062 member-center variants are defined by baize-cocreation.css. */
.baize-user-center-page .baize-incentive-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.baize-user-center-page .baize-incentive-history { margin-top: 0; border-color: #dce8fc; border-radius: 15px; box-shadow: 0 10px 30px rgba(23,65,132,.05); }

@media (max-width: 1100px) {
  .baize-incentive-shell { width: min(100% - 40px, 1360px); }
  .baize-incentive-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); gap: 10px; }
  .baize-incentive-hero-art { transform: scale(.88); }
  .baize-incentive-overview { grid-template-columns: 1fr; }
  .baize-incentive-cycle-summary { border-right: 0; border-bottom: 1px solid rgba(121, 174, 255, .22); }
  .baize-incentive-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .baize-incentive-public { padding-bottom: 44px; }
  .baize-incentive-shell { width: min(100% - 24px, 1360px); }
  .baize-incentive-hero-stage { min-height: auto; }
  .baize-incentive-hero { grid-template-columns: 1fr; gap: 0; min-height: auto; padding: 40px 0 82px; }
  .baize-incentive-hero h1 { max-width: none; font-size: clamp(34px, 10vw, 42px); }
  .baize-incentive-hero h2 { font-size: 18px; }
  .baize-incentive-hero-copy > p { font-size: 15px; line-height: 1.75; }
  .baize-incentive-cta { align-items: stretch; flex-direction: column; gap: 11px; }
  .baize-incentive-cta .pill { width: 100%; }
  .baize-incentive-cta small { max-width: none; text-align: center; }
  .baize-incentive-hero-art { min-height: 300px; margin: 12px -42px 0; transform: scale(.75); }
  .baize-incentive-content { margin-top: -42px; }
  .baize-incentive-cycle-summary { padding: 22px; }
  .baize-incentive-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .baize-incentive-metrics > div { min-height: 108px; padding: 16px; }
  .baize-incentive-hard-boundary { align-items: flex-start; }
  .baize-incentive-hard-boundary div { display: grid; gap: 5px; }
  .baize-incentive-section { padding-top: 28px; }
  .baize-incentive-faq-section { padding-right: 16px; padding-left: 16px; }
  .baize-incentive-section-head h2 { font-size: 28px; }
  .baize-incentive-faq { grid-template-columns: 1fr; }
  .baize-incentive-history-list article { grid-template-columns: 1fr; gap: 10px; }
  .baize-incentive-history-list article > p { grid-column: auto; }
  .baize-incentive-bottom { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; padding: 26px 22px; }
  .baize-incentive-bottom .pill { width: 100%; }
  .baize-incentive-cycle-card { grid-template-columns: 1fr; }
  .baize-incentive-cycle-card > div:nth-child(2) { justify-items: start; }
  .baize-incentive-member-grid { grid-template-columns: 1fr; }
  .baize-incentive-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
  .baize-incentive-shell { width: calc(100% - 20px); }
  .baize-incentive-hero h1 { font-size: 34px; }
  .baize-incentive-hero-art { margin-inline: -54px; }
  .baize-incentive-metrics strong { font-size: 23px; }
  .baize-incentive-cycle-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .baize-incentive-public * { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}
