/* One application typeface. Monospace remains reserved for actual code/data. */
:root { --app-font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif; }

body.site-flat {
  font-family:var(--app-font-family)!important;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
}

body.site-flat :where(button,input,select,textarea,option) {
  font-family:var(--app-font-family)!important;
}

body.site-flat :where(code,pre,kbd,samp,.font-mono,[data-font="mono"]) {
  font-family:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace!important;
  font-synthesis:auto;
}

/* Keep placeholder metrics equal to the field value metrics. */
body.site-flat :where(input,textarea)::placeholder {
  font-family:inherit;
  font-weight:inherit;
}
