/* Explicit product rule: do not add visual focus or tap highlighting.
   This first cascade layer also overrides legacy unlayered !important rings. */
@layer interaction-policy {
    :where(a, button, input, textarea, select, summary, label, dialog, [tabindex], [contenteditable], [role="button"], [role="link"]) {
        outline: none !important;
        outline-offset: 0 !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    :where(a, button, input, textarea, select, summary, dialog, [tabindex], [contenteditable], [role="button"], [role="link"]):is(:focus, :focus-visible) {
        outline: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    :where(.searchbox, .search-field, .chat-composer, .upload-zone, .prelanding-upload, .prelanding-preset, .prelanding-media-field, .look-grid > label, .personality-options label, .onboarding-choice, .subscription-plan, .shop-pack, .shop-payment-currencies label, .style-hitarea, .style-option, .header-search form):focus-within {
        outline: none !important;
        box-shadow: none !important;
        filter: none !important;
    }
    :where(*) {
        scrollbar-width: none !important;
        scrollbar-gutter: auto !important;
        -ms-overflow-style: none !important;
    }

    :where(*)::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}
