/*
  DashWind legacy font sheet, ported from the intranet DashWind app.
  Linked with `stylesheet_link_tag "app"`; logical path is `app.css`, because
  app/assets/stylesheets is itself a Propshaft load-path root.

  ── Why the whole file sits inside `@layer dashwind` ──────────────────────
  This is unlayered vendor CSS. Left unlayered it would out-rank EVERY layered
  Tailwind v4 rule — including utilities — on any shared property, because an
  unlayered declaration beats every cascade layer. The `dashwind` layer is
  declared in app/assets/tailwind/application.css, on its very first line:

      @layer theme, base, dashwind, components, utilities;

  That single line pins this file BELOW `components`/`utilities` and ABOVE
  `base`. With only @font-face rules left here neither side has anything to
  win yet, but anything ported in later lands in the right place. See the long
  comment on that line before touching either file; the two are a matched pair.

  ── What is and is not in here ────────────────────────────────────────────
  Open Sans (5 weights) @font-face rules, and nothing else. The Nioicon icon
  font and its 1,194 `.ni-*` glyph rules were here until the app moved to
  Phosphor icons drawn as inline SVG (app/helpers/icons_helper.rb). The source
  `app.css` is an 8,097-line vendor blob; everything from its line 3616 on
  (simplebar, Choices.js, noUiSlider, Swiper, fullcalendar, tagify, dropzone,
  datepicker) is deliberately NOT ported — this app ships none of those widgets.

  Font references are RELATIVE on purpose (`fonts/OpenSans-Bold.woff2`, not
  `/fonts/…`). Propshaft's CssAssetUrls compiler resolves a relative asset
  reference against this file's own logical dirname and rewrites it to a digested
  `/assets/fonts/OpenSans-Bold-<digest>.woff2`. An absolute `/fonts/…` would be
  left alone and 404 — this app has no `public/fonts`.
*/
@layer dashwind {

/* ── Open Sans ────────────────────────────────────────────────────────────
   Backs `--font-body` / `--font-heading` in the @theme block. Nunito and
   Roboto are in the source sheet but are not ported: nothing references them.
   `font-display: swap` — body text, so a FOIT would be worse than a swap. */
@font-face {
    font-family: 'Open Sans';
    src: url("/assets/fonts/OpenSans-Light-6d65f4ff.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/assets/fonts/OpenSans-Regular-e13a7f8a.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/assets/fonts/OpenSans-Medium-ea7b53ba.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/assets/fonts/OpenSans-SemiBold-ae95766a.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/assets/fonts/OpenSans-Bold-f76b3611.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

}
