/* Staging-only opt-in trial. Paint only: preserve every existing layout metric.
 * The important layer overrides old unlayered !important rules without inflating selectors.
 * Never target cards, links, buttons, summary hit areas, avatars or illustration containers. */
@layer mvy-icon-surface-preview {
  html.mvy-icons-unboxed .mvy-icon-slot[data-mvy-icon-slot],
  html.mvy-icons-unboxed .mvy-homepage-v4 .mvy-home3-stat-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-homepage-v4 .mvy-home3-section-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-homepage-v4 .mvy-home3-download:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-homepage-v4 .mvy-home-author-cta-check:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-homepage-v4 .mvy-home-author-cta-benefit-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ap__metric-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ap__section-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ap__side-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ap__step:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mva-chip-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-filter-system__icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mva-eyebrow > span:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mva-action-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-pw-metric-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-pw-process-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-pw-empty-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-wd2-certificate-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-wd2-feature-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-wd2-meta-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-bz-hero-status-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-bz-dashboard-order-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-bz-library-metric-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-bz-library-export-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-bz-empty-visual:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-buyer-zone .mvy-empty-visual:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-bz-step > span:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-bz-guide-head > span:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-author-overview-metric-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-author-overview-quick-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-author-security-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ad-earnings-metric-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ad-earnings-analytics-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ad-articles-metric-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ad-webinars-metric-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-icon-orb:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-author-empty-visual-slot:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ad-articles-empty-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ad-webinars-empty-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-growth-empty-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-upload-visual-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-ad-articles-thumb-placeholder:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-bundle-picker-thumb-fallback:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-author-bundle-card-custom-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-credit-topup-hero__visual:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-purchase-toast__icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-claims-open-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-notification-bell__item-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-notification-icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-report-visual:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-cart-split-notice__icon:has(> .mvy-icon-slot[data-mvy-icon-slot]),
  html.mvy-icons-unboxed .mvy-material-detail-v2 .mvy-md2-section-icon:has(> img[data-mvy-visual-slot]),
  html.mvy-icons-unboxed .mvy-material-detail-v2 .mvy-md2-meta-icon:has(> img[data-mvy-visual-slot]),
  html.mvy-icons-unboxed .mvy-author-lp__benefit-bubble:has(> .mvy-author-lp__icon),
  html.mvy-icons-unboxed .mvy-author-lp__tool-more-icon:has(> .mvy-author-lp__icon),
  html.mvy-icons-unboxed .mvy-author-lp__balance-icon:has(> .mvy-author-lp__icon),
  html.mvy-icons-unboxed .mvy-author-lp__import-bubble:has(> .mvy-author-lp__icon),
  html.mvy-icons-unboxed .mvy-author-lp__import-placeholder-icon:has(> .mvy-author-lp__icon),
  html.mvy-icons-unboxed .mvy-author-lp__flow-marker:has(> .mvy-author-lp__icon),
  html.mvy-icons-unboxed .privacy-point > .icon-well:has(> svg),
  html.mvy-icons-unboxed .mvy-auth-scope .has-custom-icon[data-mvy-icon-slot],
  html.mvy-icons-unboxed .mvy-author-dashboard-tab-icon.has-custom-icon[data-mvy-icon-slot],
  html.mvy-icons-unboxed .mvy-author-mobile-tab-icon.has-custom-icon[data-mvy-icon-slot] {
    background: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }
  /* Checkout icons live in background-image; preserve that glyph and its sizing. */
  html.mvy-icons-unboxed .mvy-commerce-redesign-v2.mvy-checkout-v2 .woocommerce-billing-fields > h3::before,
  html.mvy-icons-unboxed .mvy-commerce-redesign-v2.mvy-checkout-v2 .woocommerce-additional-fields > h3::before,
  html.mvy-icons-unboxed .mvy-commerce-redesign-v2.mvy-checkout-v2 .mvy-checkout-marketing-optin > h3::before {
    background-color: transparent !important;
  }

  /* Variant3 changes painted glyphs only; their layout boxes keep the old metrics. */
  html.mvy-icons-unboxed-fill [data-mvy-icon-fill-glyph] {
    scale: var(--mvy-icon-fill-scale) !important;
    translate: var(--mvy-icon-fill-x) var(--mvy-icon-fill-y) !important;
    transform-origin: center !important;
    transition: none !important;
  }
  html.mvy-icons-unboxed-fill .mvy-commerce-redesign-v2.mvy-checkout-v2 .woocommerce-billing-fields > h3::before,
  html.mvy-icons-unboxed-fill .mvy-commerce-redesign-v2.mvy-checkout-v2 .woocommerce-additional-fields > h3::before,
  html.mvy-icons-unboxed-fill .mvy-commerce-redesign-v2.mvy-checkout-v2 .mvy-checkout-marketing-optin > h3::before {
    background-size: contain !important;
  }

}
/* Isolated comparison control; no relationship to application forms. */
#mvy-icon-surface-preview {position:fixed;right:16px;bottom:96px;z-index:89999;max-width:calc(100vw - 32px);padding:10px 12px;border:1px solid #dedce9;border-radius:16px;background:#fff;color:#18213a;box-shadow:0 8px 30px #15204420;font:13px/1.4 system-ui,sans-serif;}
#mvy-icon-surface-preview p {margin:0 0 6px;font-size:11px;color:#626679;}
#mvy-icon-surface-preview .mvy-icon-preview-buttons {display:flex;flex-wrap:wrap;gap:6px;}
#mvy-icon-surface-preview button {font:inherit;cursor:pointer;border:1px solid #dedce9;border-radius:9px;padding:6px 10px;background:#fff;color:#29324c;}
#mvy-icon-surface-preview button[aria-pressed="true"] {background:#eeebff;border-color:#8a73ed;color:#4733ac;}
#mvy-icon-surface-preview button:focus-visible {outline:3px solid #7256e8;outline-offset:2px;}
@media(max-width:480px) {#mvy-icon-surface-preview {right:10px;bottom:calc(96px + env(safe-area-inset-bottom,0px));padding:8px 10px;max-width:calc(100vw - 20px);}}
