/**
 * Fluence pricing cards — parity with marketing home (#pricing).
 * Loaded by dashboard paywall (#paywallBackdrop.pricing-page-embed).
 */

/* Dashboard body uses blue --accent; force Fluence / pricing CTAs to homepage purple. */
#paywallBackdrop.pricing-page-embed {
  --accent: #8675d4;
  --accent-hover: #7563c4;
}
html[data-theme="dark"] #paywallBackdrop.pricing-page-embed {
  --accent: #9b8ae8;
  --accent-hover: #b4a6f0;
}

@property --flu-pw-cta-shimmer-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes flu-pw-cta-shimmer-spin {
  to {
    --flu-pw-cta-shimmer-angle: 360deg;
  }
}

    /* Pricing Fluence (export index.html #pricing) — grille 1140px, gap 24px, colonnes (1140−48)/3 = 364px, carte padding 24px */
    #paywallBackdrop.pricing-page-embed .flu-pricing-top {
      text-align: center;
      max-width: min(1140px, 100%);
      margin-left: auto;
      margin-right: auto;
      padding: 0 1rem;
      box-sizing: border-box;
    }
    /* Match home ``.below > h2:first-of-type`` + ``color: var(--text)``. */
    #paywallBackdrop.pricing-page-embed .flu-pricing-top .paywall-title {
      margin: 0 0 0.5rem;
      font-family: var(--font, "Inter", -apple-system, BlinkMacSystemFont, sans-serif);
      font-weight: 600;
      font-size: clamp(1.75rem, 1.35vw + 1.2rem, 2.1rem);
      letter-spacing: -0.055em;
      line-height: 1.12;
      text-align: center;
      color: var(--text, #18181b);
      font-feature-settings: "blwf" on, "cv09" on, "cv03" on, "cv04" on, "cv11" on;
      text-wrap: balance;
    }
    /* Match home ``.below > p.lead`` + ``.home-sublead-type`` (“See how Mytruffl…”). */
    #paywallBackdrop.pricing-page-embed .flu-pricing-lede {
      margin: 0 auto 2.25rem;
      max-width: 46ch;
      width: 100%;
      box-sizing: border-box;
      padding: 0;
      text-align: center;
      font-family: var(--font, "Inter", ui-sans-serif, system-ui, sans-serif);
      font-size: 0.875rem;
      line-height: 1.5;
      font-weight: 400;
      letter-spacing: 0;
      color: var(--charcoal-350, #6d6d6d);
      text-wrap: balance;
    }
    @media (min-width: 901px) {
      #paywallBackdrop.pricing-page-embed .flu-pricing-lede {
        font-size: 0.9375rem;
        line-height: 1.55;
      }
    }
    @media (max-width: 900px) {
      #paywallBackdrop.pricing-page-embed .flu-pricing-lede {
        font-size: 0.8125rem;
        line-height: 1.5;
        padding: 0 2px;
        max-width: none;
      }
    }
    @media (max-width: 540px) {
      #paywallBackdrop.pricing-page-embed .flu-pricing-lede {
        font-size: 0.78rem;
      }
    }
    @media (max-width: 380px) {
      #paywallBackdrop.pricing-page-embed .flu-pricing-lede {
        font-size: 0.75rem;
      }
    }
    #paywallBackdrop.pricing-page-embed .flu-p-toggle {
      display: inline-flex;
      padding: 4px;
      border-radius: 10px;
      background: rgb(237, 235, 238);
      gap: 0;
      margin-bottom: 0.5rem;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-toggle[hidden] {
      display: none !important;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-seg {
      appearance: none;
      border: none;
      cursor: pointer;
      padding: 0.4rem 1.05rem;
      border-radius: 6px;
      font-size: 0.8125rem;
      font-weight: 500;
      font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      color: rgba(28, 12, 38, 0.6);
      background: transparent;
      transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-seg--active {
      background: #ffffff;
      color: #1b0c25;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }
    #paywallBackdrop.pricing-page-embed .flu-p-grid {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 1.25rem;
      max-width: min(960px, 100%);
      margin: 2rem auto 0;
      padding: 0 1rem 1rem;
      box-sizing: border-box;
    }
    @media (min-width: 810px) {
      #paywallBackdrop.pricing-page-embed .flu-p-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 24px;
        align-items: stretch;
        justify-content: center;
        padding-top: 0.75rem;
        padding-bottom: 2rem;
      }
      /* Deux cartes dans 1140px − gap 24 → ~558px par colonne */
      #paywallBackdrop.pricing-page-embed .flu-p-card {
        flex: 1 1 0;
        width: 1px;
        min-width: 0;
        max-width: min(100%, 558px);
      }
    }
    #paywallBackdrop.pricing-page-embed .flu-p-card {
      position: relative;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      padding: 24px;
      border-radius: 16px;
      /* Léger rosé (proche #fefaff) — lisible, pas « barbie » */
      background: #faf7fb;
      border: 1px solid rgba(0, 0, 0, 0.06);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
      overflow: hidden;
      color: #1b0c25;
    }
    /* Featured Solo: same card shell as non-featured (home pricing — no extra halo). */
    #paywallBackdrop.pricing-page-embed .flu-p-card--featured {
      border: 1px solid rgba(0, 0, 0, 0.06);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
      z-index: 1;
    }
    /* Growth: soft purple light in the top-right corner (legacy flu-p-glow stays unused). */
    #paywallBackdrop.pricing-page-embed .flu-p-card--growth .flu-p-glow {
      display: none !important;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-card--growth:not(.settings-addon-card)::before {
      content: "";
      position: absolute;
      top: -8%;
      right: -12%;
      left: auto;
      width: min(78%, 340px);
      height: min(52%, 220px);
      pointer-events: none;
      z-index: 0;
      background: radial-gradient(
        ellipse 100% 90% at 100% 0%,
        rgba(155, 138, 232, 0.45) 0%,
        rgba(182, 166, 240, 0.2) 38%,
        transparent 70%
      );
    }
    #paywallBackdrop.pricing-page-embed .flu-p-card > :not(.flu-p-glow):not(.flu-p-popular--corner) {
      position: relative;
      z-index: 1;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-stack {
      display: flex;
      flex-direction: column;
      gap: 32px;
      width: 100%;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-top {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
      width: 100%;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-mid {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      width: 100%;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-name-block {
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-name-block--band {
      padding: 12px 14px;
      border-radius: 8px;
      background: #fcf8fb;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
      border: 1px solid rgba(0, 0, 0, 0.05);
    }
    #paywallBackdrop.pricing-page-embed .flu-p-title-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      width: 100%;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-card--solo .flu-p-title-row .flu-p-icon {
      width: 24px;
      height: 24px;
      color: #1b0c25;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-card--solo .flu-p-title-row .flu-p-icon svg {
      display: block;
      width: 100%;
      height: 100%;
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-card--solo .flu-p-title-row .flu-p-icon {
      color: var(--text, #f4f4f5);
    }
    #paywallBackdrop.pricing-page-embed .flu-p-plan-title {
      margin: 0;
      flex: 1 1 auto;
      min-width: 0;
      font-size: clamp(1.25rem, 2.5vw, 1.625rem);
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: -0.02em;
      color: #1b0c25;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-icon {
      flex-shrink: 0;
      width: 22px;
      height: 22px;
    }
    /* Growth: hide sparkle icon everywhere on card (corner badge reads clean). */
    #paywallBackdrop.pricing-page-embed .flu-p-card--growth .flu-p-icon {
      display: none !important;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-popular {
      flex-shrink: 0;
      padding: 2px 10px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 500;
      line-height: 16px;
      text-transform: capitalize;
      color: #ffffff;
      background: #1b0c25;
    }
    /* Badge « popular » — coin haut-droit de la carte Solo featured */
    #paywallBackdrop.pricing-page-embed .flu-p-popular--corner {
      position: absolute;
      top: 18px;
      right: 18px;
      z-index: 4;
      margin: 0;
      letter-spacing: 0.03em;
    }
    /* Pastille lavande — même bloc que `/lab` Solo */
    #paywallBackdrop.pricing-page-embed .flu-p-popular--lab {
      background: #f3e8ff;
      color: #6b55c4;
      text-transform: none;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-popular--lab.flu-p-popular--corner.flu-p-popular--phrase {
      text-transform: none;
      font-size: 12px;
      padding: 2px 8px;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-sub {
      margin: 0;
      font-size: 0.9375rem;
      line-height: 1.45;
      color: rgba(28, 12, 38, 0.72);
    }
    #paywallBackdrop.pricing-page-embed .flu-p-price-row {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.35rem 0.5rem;
      width: 100%;
    }
    /* mytruffl.com home: $ + stacked monthly / yearly effective prices */
    #paywallBackdrop.pricing-page-embed .flu-p-price-row--home {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.35rem;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-price-hero {
      display: flex;
      flex-direction: row;
      align-items: baseline;
      gap: 0.02rem;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-price-row--home .flu-p-price-hero::after {
      content: "/month";
      margin-left: 0.35rem;
      font-size: clamp(0.85rem, 2vw, 1rem);
      font-weight: 500;
      letter-spacing: 0;
      line-height: 1;
      color: rgba(28, 12, 38, 0.52);
      white-space: nowrap;
      align-self: flex-end;
      padding-bottom: 0.2em;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-price-currency {
      margin: 0;
      font-size: clamp(1.65rem, 3.8vw, 2.2rem);
      font-weight: 600;
      line-height: 1;
      letter-spacing: -0.045em;
      color: #1b0c25;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-price-nums {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      line-height: 1.05;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-price-line--a,
    #paywallBackdrop.pricing-page-embed .flu-p-price-line--b {
      font-variant-numeric: tabular-nums;
      color: #1b0c25;
    }
    /* Une seule ligne de prix visible — l'autre est masquée selon la période active. */
    #paywallBackdrop.pricing-page-embed .flu-p-price-row--home[data-pw-period="monthly"] .flu-p-price-line--a,
    #paywallBackdrop.pricing-page-embed .flu-p-price-row--home[data-pw-period="yearly"] .flu-p-price-line--b {
      display: inline-block;
      font-size: clamp(1.65rem, 3.8vw, 2.2rem);
      font-weight: 600;
      letter-spacing: -0.055em;
      opacity: 1;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-price-row--home[data-pw-period="monthly"] .flu-p-price-line--b,
    #paywallBackdrop.pricing-page-embed .flu-p-price-row--home[data-pw-period="yearly"] .flu-p-price-line--a {
      display: none;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-price {
      margin: 0;
      font-size: clamp(1.65rem, 3.8vw, 2.1rem);
      font-weight: 500;
      line-height: 1.2;
      letter-spacing: 0;
      color: #1b0c25;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-cta-slot {
      width: 100%;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      box-sizing: border-box;
      padding: 0.65rem 1rem;
      border-radius: 8px;
      font-size: 0.9375rem;
      font-weight: 500;
      font-family: inherit;
      line-height: 1.2;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta {
      margin: 0;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-cta--ghost {
      border: 1px solid rgb(237, 235, 238);
      background: #ffffff;
      color: #1b0c25;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    }
    #paywallBackdrop.pricing-page-embed .flu-p-cta--ghost:hover {
      background: #f5f0f7;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-cta--solid {
      /* Même boîte que --ghost (bordure 1px) pour hauteur / largeur identiques */
      border: 1px solid transparent;
      background: #1b0c25;
      color: #ffffff;
      box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35), 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    #paywallBackdrop.pricing-page-embed .flu-p-cta--solid:hover {
      background: #2d1a38;
    }
    /* Hero CTA parity — home `.home-hero-cta-row .nav-btn-signup` (shimmer ring + accent fill). */
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn {
      --flu-pw-shimmer-color: rgba(255, 255, 255, 0.95);
      --flu-pw-shimmer-spread: 90deg;
      --flu-pw-shimmer-speed: 3s;
      --flu-pw-shimmer-cut: 1.5px;
      --flu-pw-shimmer-radius: 12px;
      --flu-pw-shimmer-bg: var(--accent, #8675d4);

      position: relative;
      isolation: isolate;
      overflow: hidden;
      white-space: nowrap;
      padding: 0.58rem 1.25rem;
      border-radius: var(--flu-pw-shimmer-radius);
      border: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 0.875rem;
      font-weight: 400;
      letter-spacing: -0.015em;
      color: #ffffff;
      background: var(--flu-pw-shimmer-bg);
      background-image: none;
      box-shadow: 0 0 18px 1px rgba(134, 117, 212, 0.4);
      transition:
        transform 0.18s ease,
        background 0.2s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      border-radius: inherit;
      background: conic-gradient(
        from var(--flu-pw-cta-shimmer-angle) at 50% 50%,
        transparent 0deg,
        var(--flu-pw-shimmer-color) var(--flu-pw-shimmer-spread),
        transparent calc(var(--flu-pw-shimmer-spread) * 2)
      );
      animation: flu-pw-cta-shimmer-spin var(--flu-pw-shimmer-speed) linear infinite;
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn::after {
      content: "";
      position: absolute;
      inset: var(--flu-pw-shimmer-cut);
      z-index: -1;
      border-radius: calc(var(--flu-pw-shimmer-radius) - var(--flu-pw-shimmer-cut));
      background: var(--flu-pw-shimmer-bg);
      box-shadow: inset 0 -8px 12px rgba(255, 255, 255, 0.14);
      transition: background 0.2s ease, box-shadow 0.2s ease;
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn > span {
      position: relative;
      z-index: 1;
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn:hover {
      background: var(--accent-hover, #7563c4);
      background-image: none;
      border-color: rgba(255, 255, 255, 0.18);
      color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 0 18px 1px rgba(134, 117, 212, 0.4);
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn:hover::before {
      animation: none;
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn:hover::after {
      background: var(--accent-hover, #7563c4);
      box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.22);
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn:active::after {
      box-shadow: inset 0 -10px 12px rgba(255, 255, 255, 0.28);
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn:active {
      transform: translateY(0);
      transition-duration: 0.08s;
    }
    #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn:focus-visible {
      outline: 2px solid var(--accent, #8675d4);
      outline-offset: 3px;
    }
    @media (prefers-reduced-motion: reduce) {
      #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn::before {
        animation: none;
      }
    }
    #paywallBackdrop.pricing-page-embed .flu-p-feats {
      display: flex;
      flex-direction: column;
      gap: 16px;
      width: 100%;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-feats-label {
      margin: 0;
      font-size: 0.8125rem;
      font-weight: 500;
      opacity: 0.7;
      color: #1b0c25;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.9375rem;
      line-height: 1.45;
      color: #1b0c25;
    }
    /* Feature list icons — stroke only, no disc (check / cross in black on light cards). */
    #paywallBackdrop.pricing-page-embed .flu-p-li-icon {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 20px;
      height: 20px;
      margin-top: 1px;
      border-radius: 0;
      background: transparent;
      color: #000000;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-li-icon svg {
      width: 15px;
      height: 15px;
      display: block;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-list li.flu-p-li--neg {
      color: rgba(27, 12, 37, 0.58);
    }
    #paywallBackdrop.pricing-page-embed .flu-p-list li.flu-p-li--neg .flu-p-li-icon--neg {
      background: transparent;
      color: #000000;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-list li.flu-p-li--neg .flu-p-li-muted,
    #paywallBackdrop.pricing-page-embed .flu-p-card--solo .flu-p-li-muted {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      color: rgba(27, 12, 37, 0.42);
    }
    #paywallBackdrop.pricing-page-embed .flu-p-card--solo .flu-p-list li > span:has(.flu-p-li-muted) {
      display: inline-flex;
      align-items: center;
      flex-wrap: nowrap;
      gap: 0.4rem;
    }
    #paywallBackdrop.pricing-page-embed .flu-p-card--solo .flu-p-li-inline-x {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      margin-top: 0;
      color: #000000;
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-pricing-lede {
      color: var(--charcoal-350, #a1a1aa);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-pricing-top .paywall-title {
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-toggle {
      background: rgba(255, 255, 255, 0.08);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-seg--active {
      background: rgba(255, 255, 255, 0.1);
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-card {
      background: var(--pw-card, #1f1d26);
      border-color: rgba(255, 255, 255, 0.1);
      box-shadow: none;
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-card--featured {
      border-color: rgba(255, 255, 255, 0.1);
      box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.42),
        -8px 20px 48px -12px rgba(107, 85, 196, 0.28),
        0 24px 56px rgba(107, 85, 196, 0.18);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-name-block--band {
      background: rgba(255, 255, 255, 0.06);
      box-shadow: none;
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-plan-title,
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-price,
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-list li {
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-list li.flu-p-li--neg {
      color: var(--charcoal-350, #a1a1aa);
    }
    /* Dark mode: light strokes on dark cards (no discs). */
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-list li.flu-p-li--neg .flu-p-li-icon--neg {
      background: transparent;
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-list li.flu-p-li--neg .flu-p-li-muted,
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-card--solo .flu-p-li-muted {
      color: var(--charcoal-350, #a1a1aa);
      opacity: 0.9;
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-price-currency,
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-price-line--a,
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-price-line--b {
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-price-row--home .flu-p-price-hero::after {
      color: var(--charcoal-350, #a1a1aa);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-card--growth .flu-p-li-icon.flu-p-li-icon--pos {
      background: transparent;
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-card--growth:not(.settings-addon-card)::before {
      background: radial-gradient(
        ellipse 100% 90% at 100% 0%,
        rgba(180, 166, 240, 0.38) 0%,
        rgba(155, 138, 232, 0.14) 40%,
        transparent 72%
      );
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-sub,
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-feats-label {
      color: var(--charcoal-350, #a1a1aa);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-li-icon {
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-card--solo .flu-p-li-inline-x {
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn {
      --flu-pw-shimmer-bg: var(--accent, #9b8ae8);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.12);
      box-shadow: 0 0 18px 1px rgba(155, 138, 232, 0.35);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn:hover {
      --flu-pw-shimmer-bg: var(--accent-hover, #b4a6f0);
      box-shadow: 0 0 20px 1px rgba(180, 166, 240, 0.45);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed button.flu-p-cta.paywall-upgrade-btn:hover::after {
      background: var(--accent-hover, #b4a6f0);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-cta--solid:not(.paywall-upgrade-btn) {
      background: #f4f4f5;
      color: #111827;
      box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-cta--solid:not(.paywall-upgrade-btn):hover {
      background: #e5e7eb;
      color: #111827;
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-cta--ghost:not(.paywall-upgrade-btn) {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.2);
      color: var(--text, #f4f4f5);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .flu-p-cta--ghost:not(.paywall-upgrade-btn):hover {
      background: rgba(255, 255, 255, 0.06);
    }
    #paywallBackdrop.pricing-page-embed .pw-header,
    .settings-plans-embed.pricing-page-embed .pw-header {
      margin-top: 0.85rem;
    }
    #paywallBackdrop.pricing-page-embed .home-pricing-student-note,
    .settings-plans-embed.pricing-page-embed .home-pricing-student-note {
      margin: 1.5rem auto 0;
      max-width: 36rem;
      padding: 0 1rem;
      box-sizing: border-box;
      text-align: center;
      font-size: 0.875rem;
      line-height: 1.5;
      color: rgba(28, 12, 38, 0.62);
    }
    html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .home-pricing-student-note,
    html[data-theme="dark"] .settings-plans-embed.pricing-page-embed .home-pricing-student-note {
      color: var(--charcoal-350, #a1a1aa);
    }

/* Dashboard paywall shell + billing chrome */
#paywallBackdrop.pricing-page-embed .paywall-modal {
  max-width: min(1180px, 100%);
}

#paywallBackdrop.pricing-page-embed .plan-card.plan-card--current.flu-p-card {
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 0 0 2px var(--pw-plan-outline, #dfc9fd);
}
html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .plan-card.plan-card--current.flu-p-card {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 0 0 2px rgba(223, 201, 253, 0.55);
}
#paywallBackdrop.pricing-page-embed .plan-card.plan-card--current.flu-p-card--growth {
  box-shadow: 0 0 0 2px var(--pw-plan-outline, #dfc9fd);
}
html[data-theme="dark"] #paywallBackdrop.pricing-page-embed .plan-card.plan-card--current.flu-p-card--growth {
  box-shadow: 0 0 0 2px rgba(223, 201, 253, 0.55);
}

#paywallBackdrop.pricing-page-embed .flu-p-cta-slot .pw-plan-current-stack {
  margin-top: 0.65rem;
  text-align: center;
}
#paywallBackdrop.pricing-page-embed .pw-manage-sub-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--paywall-accent, #6b55c4);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}
#paywallBackdrop.pricing-page-embed .pw-manage-sub-link:hover {
  color: var(--paywall-accent-hover, #5a45b0);
}
