/* =========================================================
   InkFireBook Partners — /partners/ page and My Account → Partner
   Fraunces (titles), DM Sans (text), orange #FF6638, ink #101828, peach #FFF4EC.
   Scoped to .ifbpt so the theme and the old Additional CSS don't reach it.
   ========================================================= */

.ifbpt {
  --p-ink: #101828;
  --p-text: #344054;
  --p-muted: #475467;
  --p-soft: #667085;
  --p-line: #EAECF0;
  --p-field: #D0D5DD;
  --p-orange: #FF6638;
  --p-orange-dark: #EF5528;
  --p-orange-ink: #C2410C;
  --p-peach: #FFF4EC;
  --p-gray: #F9FAFB;
  --p-ok: #067647;
  --p-ok-bg: #ECFDF3;
  --p-warn: #B54708;
  --p-warn-bg: #FFFAEB;
  --p-serif: 'Fraunces', Georgia, serif;
  --p-sans: 'DM Sans', Arial, sans-serif;
  font-family: var(--p-sans);
  color: var(--p-text);
  font-size: 15px;
  line-height: 1.55;
  display: grid;
  gap: 22px;
}
.ifbpt *, .ifbpt *::before, .ifbpt *::after { box-sizing: border-box; }
.ifbpt h1, .ifbpt h2, .ifbpt h3 {
  font-family: var(--p-serif) !important;
  color: var(--p-ink) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -.01em;
  margin: 0 !important;
  text-wrap: balance;
}
#ifb-account .ifbpt h1 em, #ifb-account .ifbpt h2 em,
.ifbpt h1 em, .ifbpt h2 em { font: inherit !important; font-style: normal !important; color: var(--p-orange) !important; }
.ifbpt p { margin: 0; }
.ifbpt a { color: var(--p-orange-ink); }
.ifbpt-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--p-orange-ink);
  margin-bottom: 6px;
}

/* Buttons: orange pill with white text, or white with dark border */
.ifbpt .ifbpt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--p-orange);
  color: #fff !important;
  font: 600 15px/1.2 var(--p-sans);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 102, 56, .22);
  transition: background .15s;
}
.ifbpt .ifbpt-btn:hover { background: var(--p-orange-dark); }
.ifbpt .ifbpt-btn:focus-visible { outline: 3px solid rgba(255, 102, 56, .35); outline-offset: 2px; }
.ifbpt .ifbpt-btn.is-ghost { background: #fff; color: var(--p-ink) !important; border: 1.5px solid var(--p-ink); box-shadow: none; }
.ifbpt .ifbpt-btn.is-ghost:hover { background: var(--p-gray); }
.ifbpt .ifbpt-btn.is-sm { padding: 8px 16px; font-size: 14px; box-shadow: none; }
.ifbpt .ifbpt-btn.is-done { background: var(--p-ok); }

/* ---------- Dashboard (My Account → Partner) ---------- */
.ifbpt-head h2 { font-size: 30px !important; }
.ifbpt-share { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ifbpt-sharebox {
  border: 1px solid var(--p-line);
  border-radius: 16px;
  padding: 16px;
  background: var(--p-peach);
  display: grid;
  gap: 8px;
  min-width: 0;
}
.ifbpt-k { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--p-orange-ink); }
.ifbpt-copy {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  padding: 5px 5px 5px 12px;
  min-width: 0;
}
#ifb-account .ifbpt .ifbpt-copy input,
.ifbpt .ifbpt-copy input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  height: auto !important;
  font: 600 14px/1.4 var(--p-sans) !important;
  color: var(--p-ink) !important;
  text-overflow: ellipsis;
}
.ifbpt-sharebox small { font-size: 13px; color: var(--p-muted); }
.ifbpt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ifbpt-stat { border: 1px solid var(--p-line); border-radius: 14px; padding: 14px; min-width: 0; background: #fff; }
.ifbpt-stat span, .ifbpt-stat small { display: block; font-size: 13px; color: var(--p-muted); }
.ifbpt-stat b { display: block; font: 700 24px/1.2 var(--p-serif); color: var(--p-ink); font-variant-numeric: tabular-nums; margin: 2px 0; }
.ifbpt-money { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--p-line); border-radius: 14px; overflow: hidden; background: #fff; }
.ifbpt-money > div { padding: 14px 16px; border-right: 1px solid var(--p-line); min-width: 0; }
.ifbpt-money > div:last-child { border-right: 0; }
.ifbpt-money span { display: block; font-size: 13px; color: var(--p-muted); }
.ifbpt-money b { font: 700 20px var(--p-sans); color: var(--p-ink); font-variant-numeric: tabular-nums; }
.ifbpt-money .is-ready { background: var(--p-ok-bg); }
.ifbpt-money .is-ready b { color: var(--p-ok); }

.ifbpt-sales h3 { font-size: 20px !important; margin-bottom: 8px !important; }
.ifbpt-empty { color: var(--p-muted); border: 1px dashed var(--p-field); border-radius: 14px; padding: 18px; background: var(--p-gray); }
.ifbpt .ifbpt-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--p-line); border-radius: 14px; background: #fff; }
.ifbpt-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 150px;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--p-line);
  margin: 0;
}
.ifbpt-list li:last-child { border-bottom: 0; }
.ifbpt-date { color: var(--p-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.ifbpt-what b { display: block; color: var(--p-ink); font-weight: 600; overflow-wrap: anywhere; }
.ifbpt-what small { font-size: 13px; color: var(--p-muted); }
.ifbpt-amt { font-weight: 700; color: var(--p-ink); font-variant-numeric: tabular-nums; text-align: right; }
.ifbpt-tag { justify-self: start; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; background: #F2F4F7; color: var(--p-muted); }
.ifbpt-tag.is-p { background: var(--p-warn-bg); color: var(--p-warn); }
.ifbpt-tag.is-r { background: var(--p-ok-bg); color: var(--p-ok); }
.ifbpt-tag.is-x { background: #FEF3F2; color: #B42318; }

.ifbpt-payout { display: grid; gap: 6px; border-top: 1px solid var(--p-line); padding-top: 18px; }
.ifbpt-payout label { font-weight: 600; color: var(--p-ink); font-size: 14px; }
.ifbpt-inline { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; }
.ifbpt .ifbpt-inline input { flex: 1 1 240px; min-width: 0; }
.ifbpt-payout small { color: var(--p-muted); font-size: 13px; }

.ifbpt-state { border: 1px solid var(--p-line); border-radius: 20px; padding: 28px; background: linear-gradient(180deg, var(--p-peach), #fff); display: grid; gap: 12px; justify-items: start; }
.ifbpt-state h2 { font-size: 28px !important; }
.ifbpt-state p { max-width: 560px; color: var(--p-muted); }

/* Fields (public form and PayPal field) */
.ifbpt input[type="text"], .ifbpt input[type="email"], .ifbpt input[type="url"], .ifbpt textarea {
  width: 100%;
  border: 1px solid var(--p-field) !important;
  border-radius: 12px !important;
  padding: 11px 13px !important;
  font: 400 15px var(--p-sans) !important;
  color: var(--p-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  margin: 0 !important;
  height: auto;
}
.ifbpt textarea { min-height: 88px; resize: vertical; }
.ifbpt input:focus, .ifbpt textarea:focus { outline: none; border-color: var(--p-orange) !important; box-shadow: 0 0 0 3px rgba(255, 102, 56, .18) !important; }

/* ---------- Public page /partners/ ---------- */
#ifb-partners.ifbpt-public {
  width: 100%;
  max-width: 1180px !important; /* the site's content width; wins over the theme's narrow text column */
  margin: 0 auto !important;
  padding: 8px 0 72px;
  gap: 64px;
}
body.ifbpt-page .uicore-content,
body.ifbpt-page #content { background: linear-gradient(180deg, var(--p-peach, #FFF4EC) 0, #fff 640px); }
body.ifbpt-page .uicore-page-title, body.ifbpt-page .entry-header, body.ifbpt-page h1.entry-title, body.ifbpt-page .wp-block-post-title { display: none !important; }
.ifbpt-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; padding-top: 32px; }
.ifbpt-intro { display: grid; gap: 18px; }
.ifbpt-intro h1 { font-size: clamp(36px, 4.6vw, 54px) !important; }
.ifbpt-lead { font-size: 18px; color: var(--p-muted); max-width: 560px; }
.ifbpt-rates { border: 1px solid var(--p-line); border-radius: 16px; background: #fff; overflow: hidden; }
.ifbpt-rates div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--p-line); flex-wrap: wrap; }
.ifbpt-rates div:last-child { border-bottom: 0; }
.ifbpt-rates b { color: var(--p-ink); font-variant-numeric: tabular-nums; }
.ifbpt .ifbpt-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ifbpt-perks li { margin: 0; padding-left: 30px; position: relative; }
.ifbpt-perks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--p-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ifbpt-perks b { display: block; color: var(--p-ink); }
.ifbpt-perks span { font-size: 14px; color: var(--p-muted); }

.ifbpt-card { background: #fff; border: 1px solid var(--p-line); border-radius: 22px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 12px 32px rgba(16, 24, 40, .06); scroll-margin-top: 110px; }
.ifbpt-card h2 { font-size: 26px !important; }
.ifbpt-form { display: grid; gap: 14px; }
.ifbpt-field { display: grid; gap: 6px; }
.ifbpt-field label { font-size: 14px; font-weight: 600; color: var(--p-ink); }
.ifbpt-field small { font-size: 13px; color: var(--p-soft); }
.ifbpt-as { font-size: 14px; color: var(--p-muted); background: var(--p-gray); border-radius: 12px; padding: 10px 12px; }
.ifbpt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--p-muted); cursor: pointer; }
.ifbpt-check input { margin: 3px 0 0 !important; width: 17px; height: 17px; accent-color: var(--p-orange); flex: none; }
.ifbpt-form .ifbpt-btn { justify-self: start; }
.ifbpt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ifbpt-card .woocommerce-error, .ifbpt-card .woocommerce-message, .ifbpt-card .woocommerce-info {
  margin: 0 !important; padding: 12px 14px !important; border-radius: 12px !important; list-style: none !important;
  font-size: 14px !important; text-align: left !important; border: 1px solid #FECDCA !important; background: #FEF3F2 !important; color: #B42318 !important;
}
.ifbpt-card .woocommerce-error::before, .ifbpt-card .woocommerce-message::before, .ifbpt-card .woocommerce-info::before { display: none !important; }
.ifbpt-card .woocommerce-error li { margin: 0 !important; }
.ifbpt-card .woocommerce-error li + li { margin-top: 4px !important; }
.ifbpt-card .woocommerce-message { border-color: #ABEFC6 !important; background: var(--p-ok-bg) !important; color: var(--p-ok) !important; }

/* How it works: the stepper of the KDP landing (kdp-landing/sections.py + media.py) */
.ifbpt-how { display: grid; gap: 0; }
.ifbpt-how-head { max-width: 780px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 18px; }
.ifbpt-pill { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid #FFD8C9; border-radius: 999px; background: #FFF3EE; color: var(--p-orange); font-size: 12px; font-weight: 700; line-height: 1.2; }
.ifbpt-how h2, .ifbpt-terms h2 { font-size: clamp(28px, 3.4vw, 36px) !important; }
.ifbpt .ifbpt-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 56px 0 0; padding: 0; list-style: none; text-align: center; }
.ifbpt-steps::before { content: ""; position: absolute; top: 106px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: var(--p-orange); }
.ifbpt .ifbpt-steps li { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0 14px; }
.ifbpt-step-ill { display: block; width: 64px; height: 64px; margin-bottom: 18px; transition: transform .2s; }
.ifbpt-ill { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(2px 2px 0 #101828); }
.ifbpt-steps li:hover .ifbpt-step-ill { transform: rotate(-3deg) scale(1.05); }
.ifbpt-step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 4px solid #fff; border-radius: 50%; background: var(--p-orange); color: #fff; font-size: 15px; font-weight: 700; }
.ifbpt .ifbpt-steps h3 { margin-top: 18px !important; font-size: 20px !important; line-height: 1.25 !important; }
.ifbpt .ifbpt-steps p { max-width: 17em; margin: 8px auto 0; color: var(--p-muted); font-size: 15px; line-height: 1.55; }
/* Animation, only when the script runs (the steps stay visible without it): the line grows, then each step pops in */
.ifbpt-steps.is-anim::before { transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.ifbpt-steps.is-anim.is-in::before { transform: none; }
.ifbpt-steps.is-anim .ifbpt-step-n, .ifbpt-steps.is-anim .ifbpt-step-ill { transform: scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), opacity .4s; }
.ifbpt-steps.is-anim.is-in .ifbpt-step-n, .ifbpt-steps.is-anim.is-in .ifbpt-step-ill { transform: none; opacity: 1; }
.ifbpt-steps.is-anim li:nth-child(2) .ifbpt-step-n, .ifbpt-steps.is-anim li:nth-child(2) .ifbpt-step-ill { transition-delay: .4s; }
.ifbpt-steps.is-anim li:nth-child(3) .ifbpt-step-n, .ifbpt-steps.is-anim li:nth-child(3) .ifbpt-step-ill { transition-delay: .8s; }
.ifbpt-steps.is-anim li:nth-child(4) .ifbpt-step-n, .ifbpt-steps.is-anim li:nth-child(4) .ifbpt-step-ill { transition-delay: 1.2s; }
.ifbpt-steps.is-anim.is-in li:hover .ifbpt-step-ill { transform: rotate(-3deg) scale(1.05); transition-delay: 0s; }

.ifbpt-terms { display: grid; gap: 16px; scroll-margin-top: 110px; }
.ifbpt-terms-body { max-width: 760px; display: grid; gap: 10px; color: var(--p-text); }
.ifbpt-terms-body h3 { font-size: 18px !important; margin-top: 10px !important; }
.ifbpt-terms-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 1024px) {
  .ifbpt-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .ifbpt .ifbpt-steps { grid-template-columns: 1fr; max-width: 560px; margin: 40px auto 0; text-align: left; }
  .ifbpt-steps::before { display: none; }
  .ifbpt .ifbpt-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding: 0 0 32px; }
  .ifbpt .ifbpt-steps li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 4px; width: 2px; background: var(--p-orange); }
  .ifbpt .ifbpt-steps li:last-child::before { background: linear-gradient(var(--p-orange), transparent); }
  .ifbpt-step-ill { display: none; }
  .ifbpt-step-n { border: 0; }
  .ifbpt .ifbpt-steps h3 { margin-top: 10px !important; }
  .ifbpt .ifbpt-steps p { max-width: none; margin-left: 0; }
}
@media (max-width: 900px) {
  #ifb-account .ifbpt-head { display: none; } /* the account already shows the page title "Partner" here */
  .ifbpt-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; }
  .ifbpt-public { gap: 48px; padding-bottom: 48px; }
}
@media (max-width: 720px) {
  .ifbpt-share { grid-template-columns: 1fr; }
  .ifbpt-money { grid-template-columns: 1fr; }
  .ifbpt-money > div { border-right: 0; border-bottom: 1px solid var(--p-line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .ifbpt-money > div:last-child { border-bottom: 0; }
  .ifbpt-list li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .ifbpt-date { grid-column: 1 / -1; font-size: 13px; }
  .ifbpt-tag { grid-column: 1 / -1; }
  .ifbpt-head h2 { font-size: 26px !important; }
  .ifbpt-card { padding: 20px; border-radius: 18px; }
  .ifbpt-form .ifbpt-btn { justify-self: stretch; }
}
@media (max-width: 480px) {
  .ifbpt-stat b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .ifbpt .ifbpt-btn { transition: none; }
  .ifbpt-steps::before, .ifbpt-steps .ifbpt-step-n, .ifbpt-steps .ifbpt-step-ill { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* Icon of "Partner" in the account menu and in the bar at the bottom (Lucide share-2, ISC license) */
#ifb-account .woocommerce-MyAccount-navigation-link--partner { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98'/%3E%3Cpath d='m15.41 6.51-6.82 3.98'/%3E%3C/svg%3E"); }

/* Labels in bold whatever the theme does with <b> */
.ifbpt b, .ifbpt strong { font-weight: 700; }
.ifbpt-what b, .ifbpt-perks b, .ifbpt-how b { font-weight: 600 !important; }

/* ---------- Public page: new sections (Why, Who, What you earn, FAQ, final band) ---------- */
.ifbpt-how-head .ifbpt-lead { margin: 0 auto; }
.ifbpt-why, .ifbpt-who, .ifbpt-promote, .ifbpt-faq { display: grid; gap: 40px; }
.ifbpt-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ifbpt-benefit { border: 1px solid var(--p-line); border-radius: 18px; padding: 24px; background: #fff; display: grid; gap: 8px; align-content: start; transition: transform .2s, box-shadow .2s; }
.ifbpt-benefit:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16, 24, 40, .08); }
.ifbpt-benefit-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--p-peach); color: var(--p-orange); margin-bottom: 6px; }
.ifbpt-benefit-ico svg { width: 22px; height: 22px; }
.ifbpt .ifbpt-benefit h3, .ifbpt .ifbpt-card-s h3 { font-size: 19px !important; }
.ifbpt-benefit p, .ifbpt-card-s p { color: var(--p-muted); font-size: 15px; }

.ifbpt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ifbpt-card-s { border-radius: 20px; padding: 28px 24px; background: var(--p-peach); display: grid; gap: 8px; align-content: start; justify-items: start; }
.ifbpt-card-ill { display: block; width: 72px; height: 72px; margin-bottom: 10px; transition: transform .2s; }
.ifbpt-card-s:hover .ifbpt-card-ill { transform: rotate(-3deg) scale(1.05); }

.ifbpt-table-wrap { border: 1px solid var(--p-line); border-radius: 18px; overflow: hidden; background: #fff; max-width: 920px; width: 100%; margin: 0 auto; }
.ifbpt .ifbpt-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; border: 0; }
.ifbpt .ifbpt-table th, .ifbpt .ifbpt-table td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--p-line); text-align: right; font-variant-numeric: tabular-nums; background: transparent; color: var(--p-text); vertical-align: middle; }
.ifbpt .ifbpt-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p-soft); background: var(--p-gray); }
.ifbpt .ifbpt-table th:first-child { text-align: left; }
.ifbpt .ifbpt-table tbody th { font-weight: 600; color: var(--p-ink); }
.ifbpt .ifbpt-table tbody th small { display: block; font-weight: 400; font-size: 13px; color: var(--p-muted); }
.ifbpt .ifbpt-table tbody tr:last-child th, .ifbpt .ifbpt-table tbody tr:last-child td { border-bottom: 0; }
.ifbpt .ifbpt-table td b { color: var(--p-orange-ink); white-space: nowrap; }

.ifbpt-faq-list { max-width: 820px; width: 100%; margin: 0 auto; display: grid; gap: 10px; }
.ifbpt-faq-item { border: 1px solid var(--p-line); border-radius: 16px; background: #fff; }
.ifbpt-faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--p-ink); position: relative; }
.ifbpt-faq-item summary::-webkit-details-marker { display: none; }
.ifbpt-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--p-peach); color: var(--p-orange-ink); display: grid; place-items: center; font-size: 18px; line-height: 1; }
.ifbpt-faq-item[open] summary::after { content: "–"; }
.ifbpt-faq-item summary:focus-visible { outline: 3px solid rgba(255, 102, 56, .35); outline-offset: 2px; border-radius: 16px; }
.ifbpt-faq-item p { padding: 0 20px 18px; color: var(--p-muted); }

.ifbpt-cta { background: var(--p-ink); border-radius: 28px; padding: 56px 32px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.ifbpt .ifbpt-cta h2 { color: #fff !important; font-size: clamp(28px, 3.6vw, 40px) !important; }
.ifbpt-cta p { color: #D0D5DD; max-width: 520px; }
.ifbpt-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ifbpt .ifbpt-cta .ifbpt-btn.is-ghost { background: transparent; color: #fff !important; border-color: #fff; }
.ifbpt .ifbpt-cta .ifbpt-btn.is-ghost:hover { background: rgba(255, 255, 255, .08); }

.ifbpt-already { font-size: 14px; color: var(--p-muted); text-align: center; border-top: 1px solid var(--p-line); padding-top: 14px; }

/* Dashboard: ready-made links to our pages */
.ifbpt-links { border: 1px solid var(--p-line); border-radius: 14px; background: #fff; }
.ifbpt-links summary { cursor: pointer; padding: 14px 16px; font-weight: 600; color: var(--p-ink); font-size: 15px; }
.ifbpt .ifbpt-links ul { list-style: none; margin: 0; padding: 0 16px 14px; display: grid; gap: 10px; }
.ifbpt-links li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0; }
.ifbpt-links li > span { font-size: 14px; color: var(--p-muted); }
.ifbpt-links .ifbpt-copy { background: var(--p-gray); }

@media (max-width: 960px) {
  .ifbpt-benefits, .ifbpt-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ifbpt-benefits, .ifbpt-cards { grid-template-columns: 1fr; }
  .ifbpt-why, .ifbpt-who, .ifbpt-promote, .ifbpt-faq { gap: 28px; }
  .ifbpt .ifbpt-table thead { display: none; }
  .ifbpt .ifbpt-table tr { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 14px 16px; border-bottom: 1px solid var(--p-line); }
  .ifbpt .ifbpt-table tbody tr:last-child { border-bottom: 0; }
  .ifbpt .ifbpt-table tbody th { grid-column: 1 / -1; padding: 0 0 8px; border: 0; }
  .ifbpt .ifbpt-table td { padding: 0; border: 0; text-align: left; font-size: 15px; }
  .ifbpt .ifbpt-table td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--p-soft); }
  .ifbpt-cta { padding: 40px 20px; border-radius: 22px; }
  .ifbpt-links li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .ifbpt-benefit, .ifbpt-card-ill { transition: none; } .ifbpt-benefit:hover { transform: none; } }

/* =========================================================
   /partners/ v2 (06/11/2026): one authored moment, the "sale pings" stage
   (phone + earnings + clicks + link card, sample data), then a bento of
   working mini-interfaces, the calculator, steps, application, FAQ.
   Motion grammar: spring for arrivals (cubic-bezier(.34,1.56,.64,1)),
   exponential ease-out for numbers, nothing moves under reduced motion.
   ========================================================= */
#ifb-partners.ifbpt-public { gap: 112px; padding-top: 0; }
#ifb-partners ::selection { background: #FFD9C7; color: #101828; }
.ifbpt-public h2 { font-size: clamp(30px, 3.6vw, 46px) !important; }

/* ---------- Hero ---------- */
.ifbpt-hero2 {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 64px 32px 0;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, #fff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #FFF8F3 0%, #FFF1E8 100%);
  isolation: isolate;
}
.ifbpt-hero2::before { /* the swoosh: one soft curved plane behind the stage */
  content: "";
  position: absolute;
  z-index: -1;
  left: -20%;
  right: -20%;
  bottom: -330px;
  height: 640px;
  border-radius: 50%;
  background: linear-gradient(90deg, #FFE1D2 0%, #FFC7AE 45%, #FFB18F 100%);
  transform: rotate(-4deg);
}
.ifbpt-hero2::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 60px;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 102, 56, .28), rgba(255, 102, 56, 0));
}
.ifbpt-hero2-copy { max-width: 820px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.ifbpt-public .ifbpt-hero2 h1 { font-size: clamp(40px, 5.4vw, 72px) !important; line-height: 1.02 !important; letter-spacing: -.03em; max-width: 14.5em; }
.ifbpt-hero2 h1 em { display: inline-block; }
.ifbpt-hero2 .ifbpt-lead { max-width: 600px; font-size: 18px; }
.ifbpt-hero2-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ifbpt-hero2-login { font-size: 14px; color: var(--p-muted); margin-top: -6px !important; }

.ifbpt-stage { position: relative; max-width: 1000px; height: 560px; margin: 56px auto 0; text-align: left; }
.ifbpt-sample {
  position: absolute; left: 4px; bottom: 28px; z-index: 5;
  font-size: 12px; font-weight: 600; color: var(--p-orange-ink);
  background: rgba(255, 255, 255, .8); border-radius: 999px; padding: 5px 11px;
}

/* the phone */
.ifbpt-phone {
  position: absolute; left: 50%; top: 0; z-index: 2;
  width: 292px; height: 600px; margin-left: -146px;
  border-radius: 50px; border: 11px solid #101828;
  background:
    radial-gradient(70% 45% at 30% 92%, rgba(255, 102, 56, .85), rgba(255, 102, 56, 0) 70%),
    radial-gradient(60% 40% at 85% 25%, rgba(255, 177, 143, .35), rgba(255, 177, 143, 0) 70%),
    linear-gradient(165deg, #22140F 0%, #2E1811 55%, #130C0A 100%);
  box-shadow: 0 50px 90px -20px rgba(16, 24, 40, .45), inset 0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
  color: #fff;
}
.ifbpt-island { position: absolute; top: 10px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; }
.ifbpt-phone-date { position: absolute; top: 64px; left: 0; right: 0; text-align: center; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.ifbpt-phone-time { position: absolute; top: 80px; left: 0; right: 0; text-align: center; font: 600 76px/1 var(--p-sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .95); }
.ifbpt .ifbpt-notifs { position: absolute; top: 180px; left: 9px; right: 9px; bottom: 0; margin: 0; padding: 6px 0 0; overflow: hidden; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ifbpt-notif {
  margin: 0; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  color: var(--p-ink); font-size: 12px; line-height: 1.3;
  will-change: transform, opacity;
}
.ifbpt-notif-ico { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; background: var(--p-orange); color: #fff; display: grid; place-items: center; font: 700 13px var(--p-serif); }
.ifbpt-notif-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ifbpt-notif-txt { display: grid; min-width: 0; }
.ifbpt-notif-app { display: flex; justify-content: space-between; font-size: 10.5px; color: #475467; text-transform: uppercase; letter-spacing: .04em; }
.ifbpt-notif-app i { font-style: normal; text-transform: none; letter-spacing: 0; }
.ifbpt-notif b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ifbpt-notif [data-p] { color: #475467; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* floating cards: elevation by shadow only */
.ifbpt-earn, .ifbpt-live, .ifbpt-codecard {
  position: absolute; z-index: 3; background: #fff; border-radius: 20px;
  box-shadow: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 48px -12px rgba(16, 24, 40, .18);
}
.ifbpt-earn { left: 0; top: 108px; width: 300px; padding: 18px 20px 14px; display: grid; gap: 4px; }
.ifbpt-earn-k { font-size: 13px; color: var(--p-muted); font-weight: 500; }
.ifbpt-earn-n { font: 700 42px/1.05 var(--p-serif); color: var(--p-ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ifbpt-earn-chip { justify-self: start; font-size: 12px; font-weight: 600; color: var(--p-ok); background: var(--p-ok-bg); border-radius: 999px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.ifbpt-spark { width: 100%; height: 70px; margin-top: 8px; overflow: visible; }
.ifbpt-spark-line { fill: none; stroke: var(--p-orange); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ifbpt-spark-fill { fill: rgba(255, 102, 56, .12); stroke: none; }
.ifbpt-spark-dot { fill: var(--p-orange); stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 2px 4px rgba(255, 102, 56, .5)); }

.ifbpt-live { right: 30px; top: 92px; padding: 12px 16px 12px 14px; display: flex; gap: 12px; align-items: center; }
.ifbpt-live > span:last-child { display: grid; }
.ifbpt-live-k { font-size: 12px; color: var(--p-muted); }
.ifbpt-live b { font: 700 20px/1.2 var(--p-sans); color: var(--p-ink); font-variant-numeric: tabular-nums; }
.ifbpt-live-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #12B76A; flex: none; }
.ifbpt-live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #12B76A; opacity: 0; animation: ifbpt-pulse 1.8s cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes ifbpt-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.ifbpt-codecard { right: 0; top: 206px; width: 290px; padding: 16px; display: grid; gap: 6px; }
.ifbpt-codecard .ifbpt-k { font-size: 11px; }
.ifbpt-codecard-v { background: var(--p-peach); border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 600; color: var(--p-ink); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ifbpt-codecard-v.is-code { font-size: 16px; letter-spacing: .06em; }

/* hand-written notes (Fraunces italic) and drawn arrows */
.ifbpt-note { position: absolute; z-index: 4; font: italic 400 20px/1.1 var(--p-serif); color: var(--p-orange-ink); white-space: nowrap; }
.ifbpt-note-a { right: 54px; top: 400px; transform: rotate(-3deg); }
.ifbpt-note-b { left: 22px; top: 40px; transform: rotate(-4deg); }
.ifbpt-arrow { position: absolute; z-index: 4; width: 80px; height: 54px; fill: none; stroke: var(--p-orange-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ifbpt-arrow-a { right: 210px; top: 352px; transform: scaleY(-1) rotate(10deg); }
.ifbpt-arrow-b { left: 236px; top: 30px; transform: scaleX(-1) rotate(6deg); }
.ifbpt-stage.is-anim .ifbpt-arrow path { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1s cubic-bezier(.2, .7, .2, 1) 1.1s; }
.ifbpt-stage.is-anim.is-in .ifbpt-arrow path { stroke-dashoffset: 0; }

/* entrance: the cards settle in once, from slightly outside their place */
@keyframes ifbpt-in-l { from { opacity: 0; transform: translate(-24px, 8px); } }
@keyframes ifbpt-in-r { from { opacity: 0; transform: translate(24px, 8px); } }
@keyframes ifbpt-in-up { from { opacity: 0; transform: translateY(40px); } }
.ifbpt-phone { animation: ifbpt-in-up .9s cubic-bezier(.16, 1, .3, 1) .1s both; }
.ifbpt-earn { animation: ifbpt-in-l .8s cubic-bezier(.16, 1, .3, 1) .35s both; }
.ifbpt-live { animation: ifbpt-in-r .8s cubic-bezier(.16, 1, .3, 1) .5s both; }
.ifbpt-codecard { animation: ifbpt-in-r .8s cubic-bezier(.16, 1, .3, 1) .65s both; }
.ifbpt-note { animation: ifbpt-in-up .6s ease-out 1s both; }

/* ---------- Bento ---------- */
.ifbpt-bento-sec { display: grid; gap: 40px; }
.ifbpt-bento-sec > h2, .ifbpt-who2 > h2 { text-align: center; max-width: 18em; margin: 0 auto !important; }
.ifbpt-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ifbpt-tile { background: #fff; border: 1px solid var(--p-line); border-radius: 24px; padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; overflow: hidden; }
.ifbpt .ifbpt-tile h3 { font-size: 20px !important; margin-top: 10px !important; }
.ifbpt-tile p { color: var(--p-muted); font-size: 15px; }
.ifbpt-tile-studio { grid-column: span 2; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; background: var(--p-peach); border-color: transparent; padding: 32px 0 32px 32px; }
.ifbpt-tile-studio h3 { font-size: 26px !important; margin-top: 0 !important; }
.ifbpt-tile-copy { display: grid; gap: 10px; }
.ifbpt-shot { margin: 0; border-radius: 14px 0 0 14px; overflow: hidden; box-shadow: 0 24px 48px -16px rgba(16, 24, 40, .3); transform: translateX(8px); }
.ifbpt-shot img { display: block; width: 100%; height: auto; }

.ifbpt-desc { display: grid; gap: 10px; }
.ifbpt-desc-video { position: relative; aspect-ratio: 16 / 7; border-radius: 14px; background: linear-gradient(135deg, #2E1811, #101828); display: grid; place-items: center; }
.ifbpt-play { width: 46px; height: 32px; border-radius: 10px; background: var(--p-orange); position: relative; }
.ifbpt-play::after { content: ""; position: absolute; left: 18px; top: 9px; width: 12px; height: 14px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ifbpt-desc-time { position: absolute; right: 10px; bottom: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .6); border-radius: 5px; padding: 1px 6px; font-variant-numeric: tabular-nums; }
.ifbpt-desc-box { background: var(--p-gray); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.ifbpt-desc-line { height: 7px; border-radius: 4px; background: #E4E7EC; }
.ifbpt-desc-line.w80 { width: 80%; } .ifbpt-desc-line.w60 { width: 60%; }
.ifbpt-desc-box p { font-size: 13px !important; color: var(--p-text) !important; margin-top: 4px; }
.ifbpt-desc-box u { text-decoration-color: var(--p-orange); text-underline-offset: 2px; color: #1570EF; text-decoration-line: none; }
.ifbpt-desc-box mark { background: #FFD9C7; color: var(--p-ink); font-weight: 700; padding: 1px 5px; border-radius: 5px; }

.ifbpt .ifbpt-days { list-style: none; margin: 0; padding: 4px 0 0 18px; display: grid; gap: 14px; position: relative; }
.ifbpt-days::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 14px; width: 2px; background: repeating-linear-gradient(var(--p-line) 0 4px, transparent 4px 8px); }
.ifbpt-days li { margin: 0; position: relative; display: grid; font-size: 14px; }
.ifbpt-days li::before { content: ""; position: absolute; left: -18px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--p-orange); }
.ifbpt-days b { color: var(--p-ink); font-variant-numeric: tabular-nums; }
.ifbpt-days span { color: var(--p-muted); font-size: 13px; }
.ifbpt-days .is-win b { justify-self: start; color: var(--p-ok); background: var(--p-ok-bg); border-radius: 999px; padding: 2px 10px; font-size: 15px; }
.ifbpt-days .is-win::before { background: var(--p-ok); border-color: var(--p-ok); }

.ifbpt-bars { display: flex; align-items: flex-end; gap: 6px; height: 112px; padding: 8px 4px 0; border-bottom: 1px solid var(--p-line); }
.ifbpt-bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: #FFD9C7; height: calc(22% + (var(--i) * 4%)); transform-origin: bottom; }
.ifbpt-bars span:nth-child(3n) { background: var(--p-orange); }
.ifbpt-tile-dash.is-live .ifbpt-bars span { animation: ifbpt-bar 1.8s cubic-bezier(.45, 0, .55, 1) calc(var(--i) * -.17s) infinite alternate; }
@keyframes ifbpt-bar { 0% { transform: scaleY(.55); } 100% { transform: scaleY(1.15); } }

.ifbpt-payout { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; background: var(--p-ok-bg); border-radius: 14px; padding: 12px 14px; }
.ifbpt-payout-ok { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--p-ok); display: grid; place-items: center; }
.ifbpt-payout-ok svg { width: 20px; height: 20px; }
.ifbpt-payout b { display: block; color: var(--p-ink); font-size: 14px; }
.ifbpt-payout small { color: var(--p-ok); font-size: 12px; }
.ifbpt-payout strong { font: 700 22px var(--p-serif); color: var(--p-ok); font-variant-numeric: tabular-nums; }
.ifbpt-receipt { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; border: 1px dashed var(--p-field); border-radius: 14px; padding: 10px 14px; font-size: 14px; color: var(--p-text); margin-top: 8px; font-variant-numeric: tabular-nums; }
.ifbpt-receipt s { color: var(--p-soft); }
.ifbpt-receipt b { color: var(--p-orange-ink); font-size: 16px; }

/* ---------- Earnings calculator ---------- */
.ifbpt-earn-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; scroll-margin-top: 110px; }
.ifbpt-earn-copy { display: grid; gap: 18px; }
.ifbpt-earn-copy > p { color: var(--p-muted); font-size: 17px; max-width: 34em; }
.ifbpt .ifbpt-mini-table { width: 100%; border-collapse: collapse; margin: 6px 0 0; font-size: 14px; border: 0; }
.ifbpt .ifbpt-mini-table th, .ifbpt .ifbpt-mini-table td { padding: 9px 0; border: 0; border-bottom: 1px solid var(--p-line); background: transparent; text-align: left; font-variant-numeric: tabular-nums; color: var(--p-text); }
.ifbpt .ifbpt-mini-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--p-soft); font-weight: 700; }
.ifbpt .ifbpt-mini-table td { text-align: right; font-weight: 700; color: var(--p-ok); white-space: nowrap; }
.ifbpt .ifbpt-mini-table tbody th { font-weight: 600; color: var(--p-ink); }
.ifbpt .ifbpt-mini-table small { color: var(--p-soft); font-weight: 500; margin-left: 4px; }

.ifbpt-calc { background: var(--p-ink); color: #fff; border-radius: 28px; padding: 36px; display: grid; gap: 26px; box-shadow: 0 40px 80px -30px rgba(16, 24, 40, .5); }
.ifbpt-calc-row { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: baseline; }
.ifbpt-calc-row label { font-size: 15px; color: #EAECF0; }
.ifbpt-calc-row label small { color: #98A2B3; }
.ifbpt-calc-row output { font: 700 22px var(--p-sans); font-variant-numeric: tabular-nums; }
.ifbpt .ifbpt-calc input[type="range"] {
  grid-column: 1 / -1; width: 100%; height: 8px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 99px !important;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(90deg, var(--p-orange) var(--fill, 20%), #344054 var(--fill, 20%)) !important;
}
.ifbpt-calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--p-orange); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.ifbpt-calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--p-orange); }
.ifbpt-calc input[type="range"]:focus-visible { outline: 3px solid rgba(255, 102, 56, .5); outline-offset: 6px; }
.ifbpt-calc-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 22px; border-top: 1px solid #344054; color: #D0D5DD; font-size: 15px; }
.ifbpt-calc-total b { font: 700 clamp(48px, 6vw, 72px)/1 var(--p-serif); color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ifbpt-calc-note { font-size: 13px; color: #98A2B3; }

/* ---------- Who it's for ---------- */
.ifbpt-who2 { display: grid; gap: 40px; }
.ifbpt-who2-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.ifbpt-who2-main { background: var(--p-peach); border-radius: 24px; padding: 36px; display: grid; gap: 10px; align-content: end; min-height: 320px; }
.ifbpt-who2-main .ifbpt-card-ill { width: 96px; height: 96px; margin-bottom: auto; }
.ifbpt .ifbpt-who2-main h3 { font-size: 30px !important; }
.ifbpt-who2-main p { color: var(--p-text); font-size: 17px; max-width: 30em; }
.ifbpt-who2-side { display: grid; gap: 16px; }
.ifbpt-who2-side > div { border: 1px solid var(--p-line); border-radius: 24px; padding: 24px; display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px; align-items: center; }
.ifbpt-who2-side .ifbpt-card-ill { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
.ifbpt .ifbpt-who2-side h3 { font-size: 19px !important; }
.ifbpt-who2-side p { color: var(--p-muted); font-size: 15px; }

/* ---------- Apply ---------- */
.ifbpt-apply { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; scroll-margin-top: 100px; }
.ifbpt-apply-copy { display: grid; gap: 18px; position: sticky; top: 120px; }
.ifbpt-apply-copy > p { color: var(--p-muted); font-size: 17px; }
.ifbpt .ifbpt-next { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.ifbpt-next li { margin: 0; padding-left: 32px; position: relative; color: var(--p-muted); }
.ifbpt-next li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--p-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ifbpt-next b { color: var(--p-ink); }
.ifbpt-apply .ifbpt-card h3 { font-size: 24px !important; }

/* ---------- FAQ ---------- */
.ifbpt-faq2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.ifbpt-faq2-head { display: grid; gap: 16px; justify-items: start; position: sticky; top: 120px; }
.ifbpt-faq2-head p { color: var(--p-muted); }
.ifbpt-faq2 .ifbpt-faq-list { margin: 0; max-width: none; }

/* ---------- Final band and terms ---------- */
.ifbpt-public .ifbpt-cta { padding: 72px 32px; }
.ifbpt-terms { border-top: 1px solid var(--p-line); padding-top: 8px; }
.ifbpt-terms > summary { cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 16px 0; }
.ifbpt-terms > summary::-webkit-details-marker { display: none; }
.ifbpt-terms > summary span { font: 700 22px var(--p-serif); color: var(--p-ink); }
.ifbpt-terms > summary span::after { content: " +"; color: var(--p-orange); }
.ifbpt-terms[open] > summary span::after { content: " –"; }
.ifbpt-terms > summary small { color: var(--p-muted); font-size: 14px; }
.ifbpt-terms .ifbpt-terms-body { padding-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ifbpt-stage { transform: scale(.88); transform-origin: top center; margin-bottom: -60px; }
}
@media (max-width: 960px) {
  #ifb-partners.ifbpt-public { gap: 80px; }
  .ifbpt-bento { grid-template-columns: 1fr 1fr; }
  .ifbpt-tile-studio { grid-column: 1 / -1; }
  .ifbpt-earn-sec, .ifbpt-apply, .ifbpt-faq2, .ifbpt-who2-grid { grid-template-columns: 1fr; gap: 32px; }
  .ifbpt-apply-copy, .ifbpt-faq2-head { position: static; }
  .ifbpt-note, .ifbpt-arrow { display: none; }
  .ifbpt-stage { transform: none; margin: 56px auto 0; height: 640px; max-width: 640px; }
  .ifbpt-phone { height: 500px; }
  .ifbpt-codecard { display: none; }
  .ifbpt-live { right: 0; top: 40px; }
  .ifbpt-earn { left: 50%; bottom: 14px; top: auto; width: 320px; margin-left: -160px; padding: 16px 18px 12px; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
  .ifbpt-earn-k { grid-column: 1 / -1; }
  .ifbpt-earn-n { font-size: 34px; }
  .ifbpt-earn-chip { justify-self: end; }
  .ifbpt-spark { grid-column: 1 / -1; height: 48px; margin-top: 4px; }
  .ifbpt-sample { left: 50%; right: auto; top: -32px; bottom: auto; transform: translateX(-50%); white-space: nowrap; background: transparent; padding: 0; }
}
@media (max-width: 720px) {
  #ifb-partners.ifbpt-public { gap: 64px; }
  .ifbpt-hero2 { border-radius: 24px; padding: 40px 16px 0; margin: 0 -6px; }
  .ifbpt-hero2-actions .ifbpt-btn { flex: 1 1 100%; }
  .ifbpt-stage { height: 590px; margin-top: 44px; }
  .ifbpt-phone { width: 250px; height: 470px; margin-left: -125px; border-width: 9px; border-radius: 44px; }
  .ifbpt-phone-time { font-size: 64px; }
  .ifbpt .ifbpt-notifs { top: 166px; }
  .ifbpt-codecard { display: none; }
  .ifbpt-live { top: 22px; right: -4px; padding: 9px 12px; }
  .ifbpt-live-k { font-size: 11px; }
  .ifbpt-live b { font-size: 17px; }
  .ifbpt-earn { left: 50%; bottom: 14px; top: auto; width: 270px; margin-left: -135px; padding: 14px 16px 10px; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
  .ifbpt-earn-k { grid-column: 1 / -1; }
  .ifbpt-earn-n { font-size: 30px; }
  .ifbpt-earn-chip { justify-self: end; }
  .ifbpt-spark { grid-column: 1 / -1; height: 44px; margin-top: 4px; }
  .ifbpt-sample { left: 50%; right: auto; top: -30px; bottom: auto; transform: translateX(-50%); white-space: nowrap; background: transparent; padding: 0; }
  .ifbpt-bento { grid-template-columns: 1fr; }
  .ifbpt-tile-studio { grid-template-columns: 1fr; padding: 24px 0 0 24px; }
  .ifbpt-tile-studio .ifbpt-tile-copy { padding-right: 24px; }
  .ifbpt-calc { padding: 26px 22px; }
  .ifbpt-who2-main { padding: 26px; min-height: 0; }
  .ifbpt-public .ifbpt-cta { padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ifbpt-phone, .ifbpt-earn, .ifbpt-live, .ifbpt-codecard, .ifbpt-note { animation: none !important; }
  .ifbpt-live-dot::after, .ifbpt-tile-dash.is-live .ifbpt-bars span { animation: none !important; }
  .ifbpt-stage.is-anim .ifbpt-arrow path { stroke-dashoffset: 0; transition: none; }
}

/* Apply: the send button sits in the middle of the form */
.ifbpt-apply .ifbpt-form .ifbpt-btn { justify-self: center; min-width: 220px; }
@media (max-width: 720px) { .ifbpt-apply .ifbpt-form .ifbpt-btn { justify-self: stretch; } }

/* =========================================================
   Section rhythm (06/11/2026, Claudia: sections felt glued together).
   Alternating full-width bands: white / warm / white / gray / white / warm,
   drawn with a spread shadow + clip-path so the band reaches the screen edges
   without widening the page. More air above each heading.
   ========================================================= */
#ifb-partners.ifbpt-public { gap: 0; }
#ifb-partners.ifbpt-public > section, #ifb-partners.ifbpt-public > details { padding-block: 112px; }
#ifb-partners.ifbpt-public > .ifbpt-hero2 { padding-block: 64px 0; margin-bottom: 8px; }
#ifb-partners.ifbpt-public > .ifbpt-cta { margin-block: 112px 56px; padding-block: 72px; }
#ifb-partners.ifbpt-public > .ifbpt-terms { padding-block: 8px 72px; }
.ifbpt-earn-sec, .ifbpt-how, .ifbpt-faq2 {
  position: relative;
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}
.ifbpt-earn-sec { --band: #FFF8F3; }
.ifbpt-how { --band: #F9FAFB; }
.ifbpt-faq2 { --band: #FFF8F3; }
.ifbpt-faq2 .ifbpt-faq-item { border-color: #F2E4DA; }
.ifbpt-how .ifbpt-step-n { border-color: #F9FAFB; }
@media (max-width: 960px) {
  #ifb-partners.ifbpt-public > section, #ifb-partners.ifbpt-public > details { padding-block: 80px; }
  #ifb-partners.ifbpt-public > .ifbpt-hero2 { padding-block: 40px 0; }
  #ifb-partners.ifbpt-public > .ifbpt-cta { margin-block: 80px 40px; padding-block: 56px; }
}
@media (max-width: 720px) {
  #ifb-partners.ifbpt-public > section, #ifb-partners.ifbpt-public > details { padding-block: 64px; }
  #ifb-partners.ifbpt-public > .ifbpt-hero2 { padding-block: 40px 0; }
  #ifb-partners.ifbpt-public > .ifbpt-cta { margin-block: 64px 32px; padding-block: 48px; }
}

/* Each section settles in once as it scrolls into view (only with the script; visible without it). */
.ifbpt-reveal.is-pending > * { opacity: 0; transform: translateY(28px); }
.ifbpt-reveal.is-shown > * { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.ifbpt-reveal.is-shown > *:nth-child(2) { transition-delay: .08s; }
.ifbpt-reveal.is-shown > *:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .ifbpt-reveal.is-pending > * { opacity: 1; transform: none; } }

/* =========================================================
   Full-screen hero (06/11/2026, Claudia): the background reaches the screen
   edges, the content stays in the 1180 px column. The band is painted with a
   spread shadow and clipped to the section's height; the swoosh and glow are
   wider than the column, so the page clips sideways overflow (no scrollbar).
   ========================================================= */
html:has(body.ifbpt-page), body.ifbpt-page { overflow-x: clip; }
#ifb-partners.ifbpt-public > .ifbpt-hero2 {
  border-radius: 0;
  overflow: visible;
  background: #FFF4EC;
  box-shadow: 0 0 0 100vmax #FFF4EC;
  clip-path: inset(0 -100vmax);
  padding: 72px 0 0;
  margin: 0 0 8px;
}
.ifbpt-hero2::before { left: calc(50% - 75vw); right: calc(50% - 75vw); bottom: -360px; height: 680px; }
.ifbpt-hero2::after { width: 760px; height: 760px; margin-left: -380px; bottom: 0; }
.ifbpt-hero2-copy::before { /* soft light behind the headline */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -120px; width: 1400px; height: 700px; margin-left: -700px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
  pointer-events: none;
}
@media (max-width: 960px) {
  #ifb-partners.ifbpt-public > .ifbpt-hero2 { padding-top: 48px; }
}
@media (max-width: 720px) {
  #ifb-partners.ifbpt-public > .ifbpt-hero2 { padding-top: 36px; margin: 0 0 8px; }
  .ifbpt-hero2-copy::before { width: 700px; margin-left: -350px; }
}

/* =========================================================
   Partner Terms (06/11/2026, Claudia): a real box with an icon, a title and a
   "Read the terms" control; inside, the five rules in two columns.
   ========================================================= */
#ifb-partners.ifbpt-public > .ifbpt-terms { padding-block: 0; margin: 0 0 96px; }
.ifbpt-terms { border: 1px solid var(--p-line); border-top: 1px solid var(--p-line); border-radius: 24px; background: #fff; padding: 0; overflow: hidden; }
.ifbpt-terms > summary { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 24px 28px; cursor: pointer; list-style: none; flex-wrap: nowrap; }
.ifbpt-terms > summary span::after { content: none; }
.ifbpt-terms > summary:hover { background: #FFFBF8; }
.ifbpt-terms > summary:focus-visible { outline: 3px solid rgba(255, 102, 56, .35); outline-offset: -3px; border-radius: 24px; }
.ifbpt-terms-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--p-peach); color: var(--p-orange); display: grid; place-items: center; }
.ifbpt-terms-ico svg { width: 24px; height: 24px; }
.ifbpt-terms-title { display: grid; gap: 4px; }
.ifbpt-terms > summary .ifbpt-terms-title b { font: 700 22px/1.2 var(--p-serif); color: var(--p-ink); }
.ifbpt-terms > summary .ifbpt-terms-title small { font-size: 14px; color: var(--p-muted); }
.ifbpt-terms-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--p-ink); border-radius: 999px; padding: 10px 16px 10px 18px; font-weight: 600; font-size: 14px; color: var(--p-ink); white-space: nowrap; transition: background .15s; }
.ifbpt-terms > summary:hover .ifbpt-terms-toggle { background: var(--p-gray); }
.ifbpt-terms-toggle svg { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.ifbpt-terms[open] .ifbpt-terms-toggle svg { transform: rotate(180deg); }
.ifbpt-terms-close { display: none; }
.ifbpt-terms[open] .ifbpt-terms-open { display: none; }
.ifbpt-terms[open] .ifbpt-terms-close { display: inline; }
.ifbpt-terms .ifbpt-terms-body { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 4px 28px 28px; border-top: 1px solid var(--p-line); padding-top: 24px; }
.ifbpt-term { background: var(--p-gray); border-radius: 16px; padding: 20px 22px; display: grid; gap: 8px; align-content: start; }
.ifbpt-term:nth-child(4) { grid-row: span 2; }
.ifbpt .ifbpt-term h3 { display: flex; align-items: center; gap: 10px; font-size: 18px !important; margin: 0 !important; }
.ifbpt-term h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--p-orange); color: #fff; display: grid; place-items: center; font: 700 13px var(--p-sans); flex: none; }
.ifbpt-term p, .ifbpt-term li { color: var(--p-text); font-size: 15px; line-height: 1.6; }
.ifbpt .ifbpt-term ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.ifbpt-term li::marker { color: var(--p-orange); }
.ifbpt-terms-help { grid-column: 1 / -1; color: var(--p-muted); font-size: 14px; text-align: center; padding-top: 4px; }
@media (max-width: 720px) {
  .ifbpt-terms > summary { grid-template-columns: 44px minmax(0, 1fr); padding: 20px; gap: 14px; }
  .ifbpt-terms-ico { width: 44px; height: 44px; }
  .ifbpt-terms-toggle { grid-column: 1 / -1; justify-content: center; }
  .ifbpt-terms .ifbpt-terms-body { grid-template-columns: 1fr; padding: 20px; }
  .ifbpt-term:nth-child(4) { grid-row: auto; }
  #ifb-partners.ifbpt-public > .ifbpt-terms { margin-bottom: 64px; }
}
/* the older one-line summary styles must not reach the new parts */
.ifbpt-terms > summary span, .ifbpt-terms > summary small { font: inherit; }
.ifbpt-terms > summary span::after, .ifbpt-terms[open] > summary span::after { content: none !important; }
.ifbpt-terms > summary .ifbpt-terms-toggle { font: 600 14px/1 var(--p-sans); }
.ifbpt-terms > summary .ifbpt-terms-title small { font: 400 14px/1.45 var(--p-sans); color: var(--p-muted); }
/* two balanced columns: each rule as tall as its text */
@media (min-width: 721px) {
  .ifbpt-terms .ifbpt-terms-body { display: block; columns: 2; column-gap: 16px; }
  .ifbpt-term { break-inside: avoid; margin-bottom: 16px; }
  .ifbpt-terms-help { column-span: all; }
}

/* Apply form: messages under each field while filling it (13/11/2026) */
.ifbpt .ifbpt-err { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 500; color: #B42318; display: flex; gap: 6px; align-items: flex-start; }
.ifbpt .ifbpt-err::before { content: "!"; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #B42318; color: #fff; font: 700 11px/16px var(--p-sans); text-align: center; }
.ifbpt .ifbpt-err[hidden], .ifbpt .ifbpt-tip[hidden] { display: none; }
.ifbpt-field.is-bad input, .ifbpt-field.is-bad textarea { border-color: #F04438 !important; box-shadow: 0 0 0 3px rgba(240, 68, 56, .12) !important; }
.ifbpt-field.is-ok input, .ifbpt-field.is-ok textarea { border-color: #75E0A7 !important; }
.ifbpt .ifbpt-tip { margin: 0; font-size: 13px; color: var(--p-muted); }
.ifbpt .ifbpt-tip button { all: unset; cursor: pointer; font-weight: 600; color: var(--p-orange-ink); text-decoration: underline; text-underline-offset: 2px; }
.ifbpt .ifbpt-tip button:focus-visible { outline: 2px solid var(--p-orange); outline-offset: 2px; border-radius: 3px; }
.ifbpt .ifbpt-check + .ifbpt-err { margin-top: -6px; padding-left: 27px; }
/* the terms checkbox: the theme gives inputs a 30 px height, which pushed the box below the text */
.ifbpt .ifbpt-check { align-items: flex-start; line-height: 1.55; }
.ifbpt .ifbpt-check input[type="checkbox"] { width: 17px !important; height: 17px !important; min-height: 0 !important; padding: 0 !important; margin: 2px 0 0 !important; flex: none; }
.ifbpt .ifbpt-check.is-bad input[type="checkbox"] { outline: 2px solid #F04438; outline-offset: 1px; }

/* =========================================================
   Partner dashboard (13/11/2026, Claudia): on phones everything stays inside the card, and the
   PayPal box has its own style (it used to take the green "Payout sent" tile style of the public page).
   ========================================================= */
#ifb-account .ifbpt, .ifbpt:not(.ifbpt-public) { grid-template-columns: minmax(0, 1fr); }
.ifbpt > * { min-width: 0; }
.ifbpt-share { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ifbpt-sharebox { min-width: 0; }
.ifbpt-payform { display: grid; gap: 8px; border: 1px solid #ABEFC6; border-radius: 14px; background: var(--p-ok-bg); padding: 18px 20px; } /* green like "Ready to pay": this is where the money goes */
.ifbpt .ifbpt-payform label { font-weight: 600; color: var(--p-ink); font-size: 15px; margin: 0; }
.ifbpt-payform .ifbpt-inline { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap; max-width: 560px; }
#ifb-account .ifbpt .ifbpt-payform input, .ifbpt .ifbpt-payform input { flex: 1 1 auto; min-width: 0; width: auto; margin: 0 !important; background: #fff !important; }
.ifbpt .ifbpt-payform .ifbpt-btn { flex: none; min-width: 96px; }
.ifbpt-payform small { color: #344054; font-size: 13px; line-height: 1.5; }
#ifb-account .ifbpt .ifbpt-payform input, .ifbpt .ifbpt-payform input { border-color: #ABEFC6 !important; }
.ifbpt-payform small a { color: var(--p-orange-ink); font-weight: 600; }
@media (max-width: 720px) {
  .ifbpt-share { grid-template-columns: minmax(0, 1fr); }
  .ifbpt-links li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ifbpt-payform { padding: 16px; }
  .ifbpt-payform .ifbpt-inline { flex-wrap: wrap; }
  .ifbpt .ifbpt-payform .ifbpt-btn { flex: 1 1 100%; }
}
/* the account's form style was flattening the box: keep its border and rounded corners */
#ifb-account .ifbpt .ifbpt-payform, .ifbpt .ifbpt-payform { border: 1px solid #ABEFC6 !important; border-radius: 14px !important; }

/* =========================================================
   My Account → Overview: partner card (13/11/2026)
   ========================================================= */
#ifb-account .ifbpt.ifbpt-ov, .ifbpt.ifbpt-ov { display: grid; gap: 14px; border: 1px solid var(--p-line); border-radius: 20px; background: #fff; padding: 24px; margin: 0 0 20px; }
.ifbpt-ov-head { display: flex; align-items: center; gap: 12px; }
.ifbpt-ov-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--p-peach); color: var(--p-orange); display: grid; place-items: center; flex: none; }
.ifbpt-ov-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ifbpt .ifbpt-ov h2 { font-size: 24px !important; margin: 0 !important; }
.ifbpt-ov p { margin: 0; color: var(--p-text); font-size: 15px; }
.ifbpt-ov p a { color: var(--p-orange-ink); font-weight: 600; }
.ifbpt-ov-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ifbpt-ov-stats > div { border: 1px solid var(--p-line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.ifbpt-ov-stats span, .ifbpt-ov-stats small { display: block; font-size: 13px; color: var(--p-muted); }
.ifbpt-ov-stats b { display: block; font: 700 22px/1.2 var(--p-serif); color: var(--p-ink); font-variant-numeric: tabular-nums; margin: 2px 0; }
.ifbpt-ov-stats .is-earned { background: var(--p-ok-bg); border-color: #ABEFC6; }
.ifbpt-ov-stats .is-earned b { color: var(--p-ok); }
.ifbpt-ov-foot { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ifbpt-ov-code { flex: 0 1 260px; background: var(--p-peach); }
.ifbpt-ov .ifbpt-btn.is-ghost { justify-self: start; }
@media (max-width: 720px) {
  #ifb-account .ifbpt.ifbpt-ov, .ifbpt.ifbpt-ov { padding: 18px; border-radius: 18px; }
  .ifbpt-ov-stats { gap: 8px; }
  .ifbpt-ov-stats > div { padding: 10px 12px; }
  .ifbpt-ov-stats b { font-size: 19px; }
  .ifbpt-ov-foot { flex-direction: column; align-items: stretch; }
  .ifbpt-ov-code { flex: none; }
  .ifbpt-ov .ifbpt-btn { text-align: center; justify-content: center; }
}
@media (max-width: 400px) {
  .ifbpt-ov-stats { grid-template-columns: 1fr 1fr; }
  .ifbpt-ov-stats .is-earned { grid-column: 1 / -1; }
}
/* on the Overview the account's link color was hiding the button text; and room under the welcome card */
#ifb-account .ifbpt.ifbpt-ov { margin-top: 20px; }
#ifb-account .ifbpt-ov a.ifbpt-btn, #ifb-account .ifbpt-ov a.ifbpt-btn:hover { color: #fff !important; text-decoration: none !important; }
#ifb-account .ifbpt-ov a.ifbpt-btn.is-ghost { color: var(--p-ink) !important; }

/* Creator access (1.2.0): Studio partner edition and the Rescue Kit, in the partner dashboard */
.ifbpt-creator { border: 1px solid #FFD8C7; border-radius: 16px; background: var(--p-peach); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; }
.ifbpt-creator-text { display: grid; gap: 6px; min-width: 0; }
.ifbpt .ifbpt-creator h3 { font-size: 22px !important; }
.ifbpt-creator p { margin: 0; color: var(--p-muted); font-size: 15px; }
.ifbpt-creator-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.ifbpt-creator-actions .ifbpt-btn { text-align: center; justify-content: center; }
@media (max-width: 720px) {
  .ifbpt-creator { grid-template-columns: minmax(0, 1fr); padding: 16px; }
}
/* Link buttons in My Account: the site's old Additional CSS (page-id-170 … a:not(.button)) colors every link there */
#ifb-account .ifbpt a.ifbpt-btn { color: #fff !important; }
#ifb-account .ifbpt a.ifbpt-btn.is-ghost { color: var(--p-ink) !important; }

/* /partners/: free creator access for approved partners, before the application (1.2.0) */
.ifbpt-access { display: grid; gap: 40px; }
.ifbpt-access-head { max-width: 760px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 16px; }
.ifbpt-access-head h2 { font-size: clamp(28px, 3.4vw, 40px) !important; }
.ifbpt-access-head p { margin: 0; color: var(--p-muted); font-size: 18px; max-width: 36em; }
.ifbpt-access-pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--p-ok); background: var(--p-ok-bg); border-radius: 999px; padding: 5px 14px; }
.ifbpt-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ifbpt-access-card { border: 1px solid var(--p-line); border-left: 5px solid var(--p-orange); border-radius: 10px 24px 24px 10px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: #fff; }
.ifbpt-access-img { aspect-ratio: 16 / 9; background: var(--p-peach); overflow: hidden; display: grid; place-items: center; }
.ifbpt-access-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ifbpt-access-img.is-kit img { object-position: center 40%; }
.ifbpt-access-body { padding: 24px 26px 28px; display: grid; gap: 8px; align-content: start; }
.ifbpt-access-tag { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--p-orange-ink); }
.ifbpt .ifbpt-access-body h3 { font-size: 22px !important; }
.ifbpt-access-body p { margin: 0; color: var(--p-muted); font-size: 16px; }
.ifbpt-access-note { margin: -16px 0 0; text-align: center; color: var(--p-soft); font-size: 15px; }
@media (max-width: 720px) {
  .ifbpt-access-grid { grid-template-columns: minmax(0, 1fr); }
  .ifbpt-access-body { padding: 20px; }
}

/* ---------- My Account → Overview: "Invite a friend" (customers, 20/11/2026) ---------- */
.ifbpt-fr-share { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
.ifbpt-fr-share .ifbpt-ov-code { flex: none; }
.ifbpt-fr-credits { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.ifbpt-fr-credits li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--p-line); border-radius: 14px; padding: 8px 12px; margin: 0 !important; }
.ifbpt-fr-credits li.is-ready { background: var(--p-ok-bg); border-color: #ABEFC6; }
.ifbpt-fr-credits li > b { font: 700 20px/1.2 var(--p-serif); color: var(--p-ok); min-width: 44px; font-variant-numeric: tabular-nums; }
.ifbpt-fr-credits li:not(.is-ready) > b { color: var(--p-soft); }
.ifbpt-fr-credits .ifbpt-copy { flex: 0 1 240px; }
.ifbpt-fr-credits small { font-size: 13px; color: var(--p-muted); }
.ifbpt-fr-code { font-weight: 600; font-size: 14px; color: var(--p-soft); text-decoration: line-through; }
.ifbpt-ov-foot:empty { display: none; }
#ifb-account .ifbpt-ov p.ifbpt-fr-fine, .ifbpt-ov p.ifbpt-fr-fine { font-size: 13px !important; color: var(--p-soft); line-height: 1.55; }
@media (max-width: 720px) {
  .ifbpt-fr-share { grid-template-columns: minmax(0, 1fr); }
  .ifbpt-fr-credits .ifbpt-copy { flex: 1 1 100%; }
}
.ifbpt-fr-preview { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--p-orange-ink); background: var(--p-peach); border: 1px dashed var(--p-orange); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 480px) { .ifbpt-fr .ifbpt-ov-head { flex-wrap: wrap; } .ifbpt-fr-preview { margin-left: 0; } }
/* the card opens and closes (20/11/2026, Claudia): closed = title and sentence, "Show your link" opens the rest */
.ifbpt-fr-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1.5px solid var(--p-ink); border-radius: 999px; font: 700 14px/1.2 var(--p-sans); color: var(--p-ink); background: #fff; }
.ifbpt-fr-more > summary::-webkit-details-marker { display: none; }
.ifbpt-fr-more > summary:hover { background: var(--p-gray); }
.ifbpt-fr-more > summary:focus-visible { outline: 3px solid rgba(255, 102, 56, .35); outline-offset: 2px; }
.ifbpt-fr-more > summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.ifbpt-fr-more[open] > summary svg { transform: rotate(180deg); }
.ifbpt-fr-more .is-open, .ifbpt-fr-more[open] .is-closed { display: none; }
.ifbpt-fr-more[open] .is-open { display: inline; }
.ifbpt-fr-body { display: grid; gap: 14px; margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .ifbpt-fr-more > summary svg { transition: none; } }

/* ---------- My Account → Rewards (20/11/2026) ---------- */
#ifb-account .woocommerce-MyAccount-navigation-link--rewards { --ifb-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13'/%3E%3Cpath d='M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7'/%3E%3Cpath d='M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }
.ifbpt-rw { display: grid; gap: 20px; }
.ifbpt-rw .ifbpt-head .ifbpt-fr-preview { margin-left: 8px; text-transform: none; letter-spacing: 0; }
.ifbpt-rw section { border: 1px solid var(--p-line); border-radius: 20px; background: #fff; padding: 22px 24px; display: grid; gap: 14px; }
#ifb-account .ifbpt-rw h3, .ifbpt-rw h3 { font: 700 18px/1.3 var(--p-sans) !important; color: var(--p-ink) !important; margin: 0 !important; }
.ifbpt-rw-ready { background: linear-gradient(180deg, var(--p-ok-bg), #fff 70%) !important; border-color: #ABEFC6 !important; }
.ifbpt-rw-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ifbpt-rw-total { display: block; font: 700 40px/1.1 var(--p-serif); color: var(--p-ok); font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.ifbpt-rw-top small { font-size: 14px; color: var(--p-muted); }
.ifbpt-rw .ifbpt-fr-credits li { background: #fff; }
.ifbpt-rw-use { margin-left: auto; }
#ifb-account .ifbpt-rw p.ifbpt-rw-note, .ifbpt-rw p.ifbpt-rw-note { font-size: 13px !important; color: var(--p-soft); margin: 0; }
.ifbpt-rw-list { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; }
.ifbpt-rw-list li { display: grid; grid-template-columns: 14px 104px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--p-line); margin: 0 !important; }
.ifbpt-rw-list li:first-child { border-top: 0; }
.ifbpt-rw-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--p-field); }
.ifbpt-rw-list .is-bought .ifbpt-rw-dot { background: var(--p-orange); }
.ifbpt-rw-list .is-ready .ifbpt-rw-dot { background: var(--p-ok); }
.ifbpt-rw-list .is-used .ifbpt-rw-dot { background: var(--p-ink); }
.ifbpt-rw-list .ifbpt-date { font-size: 13px; color: var(--p-muted); font-variant-numeric: tabular-nums; }
.ifbpt-rw-list .ifbpt-what { display: grid; min-width: 0; }
.ifbpt-rw-list .ifbpt-what b { font-size: 15px; color: var(--p-ink); }
.ifbpt-rw-list .ifbpt-what small { font-size: 13px; color: var(--p-muted); overflow-wrap: anywhere; }
.ifbpt-rw-list .ifbpt-what small a { color: var(--p-orange-ink); font-weight: 600; }
.ifbpt-rw-list .ifbpt-amt { font-weight: 700; color: var(--p-ink); font-variant-numeric: tabular-nums; }
.ifbpt-rw-list .is-ready .ifbpt-amt { color: var(--p-ok); }
.ifbpt-rw-list .is-cancelled .ifbpt-amt, .ifbpt-rw-list .is-expired .ifbpt-amt { color: var(--p-soft); text-decoration: line-through; }
@media (max-width: 720px) {
  .ifbpt-rw section { padding: 18px; border-radius: 18px; }
  .ifbpt-rw-top .ifbpt-btn { width: 100%; text-align: center; justify-content: center; }
  .ifbpt-rw-use { margin-left: 0; flex: 1 1 100%; text-align: center; justify-content: center; }
  .ifbpt-rw-list li { grid-template-columns: 14px minmax(0, 1fr) auto; }
  .ifbpt-rw-list .ifbpt-date { grid-column: 2 / -1; grid-row: 1; }
  .ifbpt-rw-list .ifbpt-what { grid-column: 2; }
  .ifbpt-rw-list .ifbpt-rw-dot { grid-row: 1 / span 2; align-self: start; margin-top: 4px; }
}
#ifb-account .ifbpt-rw p.ifbpt-fr-fine, .ifbpt-rw p.ifbpt-fr-fine { font-size: 13px !important; color: var(--p-soft); line-height: 1.55; margin: 0; }

/* gift illustration of Invite a friend (site icon style, 20/11/2026) */
.ifbpt-fr-ill { display: block; width: 60px; height: 60px; flex: none; transition: transform .2s; }
.ifbpt-fr:hover .ifbpt-fr-ill { transform: rotate(-3deg) scale(1.05); }
.ifbpt-fr .ifbpt-ov-head { gap: 14px; }
.ifbpt-rw-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; }
.ifbpt-rw-head .ifbpt-fr-ill { grid-row: span 2; width: 64px; height: 64px; }
@media (prefers-reduced-motion: reduce) { .ifbpt-fr-ill { transition: none; } }

/* Rewards → How it works (20/11/2026) */
#ifb-account .ifbpt-rw p.ifbpt-rw-lead, .ifbpt-rw p.ifbpt-rw-lead { margin: 0; font-size: 15px; color: var(--p-text); }
.ifbpt-rw-steps { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ifbpt-rw-steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--p-peach); border-radius: 16px; padding: 14px; margin: 0 !important; }
.ifbpt-rw-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--p-orange); color: #fff; font: 700 14px/28px var(--p-sans); text-align: center; }
.ifbpt-rw-steps b { display: block; font-size: 15px; color: var(--p-ink); margin-bottom: 4px; }
.ifbpt-rw-steps span:not(.ifbpt-rw-n) { display: block; font-size: 14px; line-height: 1.5; color: var(--p-muted); }
.ifbpt-rw-steps strong { color: var(--p-ink); }
.ifbpt-rw-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 !important; }
.ifbpt-rw-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--p-soft); font-weight: 700; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--p-line); background: none; }
.ifbpt-rw-table td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--p-line); color: var(--p-text); background: none; }
.ifbpt-rw-table td small { color: var(--p-soft); margin-left: 4px; }
.ifbpt-rw-table td b { color: var(--p-ok); }
#ifb-account .ifbpt-rw h4, .ifbpt-rw h4 { font: 700 15px/1.3 var(--p-sans) !important; color: var(--p-ink) !important; margin: 4px 0 0 !important; }
.ifbpt-rw-rules { margin: 0 !important; padding: 0 !important; list-style: none; display: grid; gap: 8px; }
.ifbpt-rw-rules li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--p-text); margin: 0 !important; }
.ifbpt-rw-rules li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 8px; border-left: 2.5px solid var(--p-ok); border-bottom: 2.5px solid var(--p-ok); transform: rotate(-45deg); }
@media (max-width: 900px) { .ifbpt-rw-steps { grid-template-columns: minmax(0, 1fr); } }

.ifbpt-fr-preview a { color: inherit; text-decoration: underline; font-weight: 700; }
