/*
 * Notion-inspired typography normalization.
 *
 * Loaded after the legacy section CSS so Bridge uses one Inter-led stack across
 * public pages, auth, dashboard, conversations, and workspace screens.
 */
:root {
    --font-notion: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    --font-sans: var(--font-notion);
    --font-main: var(--font-notion);
    --font-display: var(--font-notion);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

:root:lang(zh) {
    --font-notion: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-sans: var(--font-notion);
    --font-main: var(--font-notion);
    --font-display: var(--font-notion);
}

html,
body {
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
}

body {
    letter-spacing: 0;
}

body :where(*):not(.material-symbols-outlined):not(.material-symbols-rounded):not(.material-icons):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not([class^="fa-"]):not([class*=" fa-"]):not(svg):not(path):not(canvas):not(video):not(audio):not(img):not(code):not(pre):not(kbd):not(samp):not([style*="monospace"]):not([style*="ui-monospace"]) {
    font-family: var(--font-main) !important;
    letter-spacing: 0 !important;
}

body :where(input, textarea, select, button) {
    font-family: var(--font-main) !important;
}

body :where(code, pre, kbd, samp, [style*="monospace"], [style*="ui-monospace"]) {
    font-family: var(--font-mono) !important;
}
