body {
    -webkit-font-smoothing: antialiased; /* For Chrome and Safari */
    -moz-osx-font-smoothing: grayscale; /* For Firefox */
    text-rendering: optimizeLegibility; /* Improve text readability */
}

/* COMMENTED OUT FOR TESTING — selection suppression rules */

/* Prevent native browser selection on Flutter scene layers (can conflict with Flutter selection).
flt-glass-pane,
flt-scene-host,
flt-semantics-placeholder,
flt-semantics,
flt-semantics-container {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
*/

/* Keep native selection enabled for actual editable elements.
input,
textarea,
[contenteditable="true"],
[contenteditable="plaintext-only"] {
    -webkit-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
}
*/

/* Suppress browser-native selection UI on Flutter's hidden web text editor element.
flt-text-editing-host input.flt-text-editing,
flt-text-editing-host textarea.flt-text-editing,
input.flt-text-editing,
textarea.flt-text-editing {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}
*/
