/*
 * Two-rule setup: the subset (below) carries the ~56 icons used in production
 * (see tools/used-icons.txt) and wins for their codepoints via unicode-range.
 * This full-font rule stays as a fallback and only downloads if an icon OUTSIDE
 * the subset is ever rendered. Regenerate the subset with tools/subset.sh.
 */
@font-face {
  font-family: "Phosphor";
  src:
    url("./Phosphor.woff2") format("woff2"),
    url("./Phosphor.woff") format("woff"),
    url("./Phosphor.ttf") format("truetype"),
    url("./Phosphor.svg#Phosphor") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Phosphor";
  src: url("./Phosphor.subset.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+E058,U+E06C,U+E0A2,U+E102,U+E10C,U+E138,U+E154,U+E156,U+E15C,U+E17E,U+E182,U+E184,U+E188,U+E198,U+E19A,U+E1A0,U+E1C8,U+E1FE,U+E20C,U+E214,U+E298,U+E2C4,U+E2CE,U+E320,U+E34C,U+E3B2,U+E3D0,U+E3D8,U+E3FC,U+E470,U+E4C2,U+E4E2,U+E4F6,U+E4F8,U+E538,U+E54C,U+E5B8,U+E642,U+E65A,U+E65C,U+E65E,U+E684,U+E6B8,U+E6D6,U+E6F4,U+E710,U+E750,U+E7B2,U+E7B4,U+E80E,U+E8B6,U+EA3A,U+EA8C,U+EAA6,U+EADC,U+EB46,U+EB60,U+EDEC,U+EE42;
}

.ph {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "Phosphor" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Enable Ligatures ================ */
  letter-spacing: 0;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  -ms-font-feature-settings: "liga" 1;
  font-feature-settings: "liga";
  -webkit-font-variant-ligatures: discretionary-ligatures;
  font-variant-ligatures: discretionary-ligatures;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ph.ph-arrow-left:before {
  content: "\e058";
}
.ph.ph-arrow-right:before {
  content: "\e06c";
}
.ph.ph-arrows-out:before {
  content: "\e0a2";
}
.ph.ph-buildings:before {
  content: "\e102";
}
.ph.ph-calculator:before {
  content: "\e538";
}
.ph.ph-calendar-dot:before {
  content: "\e7b2";
}
.ph.ph-calendar-dots:before {
  content: "\e7b4";
}
.ph.ph-calendar-x:before {
  content: "\e10c";
}
.ph.ph-caret-left:before {
  content: "\e138";
}
.ph.ph-chart-donut:before {
  content: "\eaa6";
}
.ph.ph-chart-line:before {
  content: "\e154";
}
.ph.ph-chart-line-down:before {
  content: "\e8b6";
}
.ph.ph-chart-line-up:before {
  content: "\e156";
}
.ph.ph-chat:before {
  content: "\e15c";
}
.ph.ph-chats-circle:before {
  content: "\e17e";
}
.ph.ph-check:before {
  content: "\e182";
}
.ph.ph-check-circle:before {
  content: "\e184";
}
.ph.ph-check-square-offset:before {
  content: "\e188";
}
.ph.ph-clipboard-text:before {
  content: "\e198";
}
.ph.ph-clock:before {
  content: "\e19a";
}
.ph.ph-clock-counter-clockwise:before {
  content: "\e1a0";
}
.ph.ph-clock-user:before {
  content: "\edec";
}
.ph.ph-compass:before {
  content: "\e1c8";
}
.ph.ph-currency-circle-dollar:before {
  content: "\e54c";
}
.ph.ph-dots-three:before {
  content: "\e1fe";
}
.ph.ph-download-simple:before {
  content: "\e20c";
}
.ph.ph-envelope:before {
  content: "\e214";
}
.ph.ph-files:before {
  content: "\e710";
}
.ph.ph-folder-simple-user:before {
  content: "\eb60";
}
.ph.ph-folder-user:before {
  content: "\eb46";
}
.ph.ph-hammer:before {
  content: "\e80e";
}
.ph.ph-hand:before {
  content: "\e298";
}
.ph.ph-hand-coins:before {
  content: "\ea8c";
}
.ph.ph-house-line:before {
  content: "\e2c4";
}
.ph.ph-info:before {
  content: "\e2ce";
}
.ph.ph-invoice:before {
  content: "\ee42";
}
.ph.ph-layout:before {
  content: "\e6d6";
}
.ph.ph-list-checks:before {
  content: "\eadc";
}
.ph.ph-medal:before {
  content: "\e320";
}
.ph.ph-megaphone-simple:before {
  content: "\e642";
}
.ph.ph-note-pencil:before {
  content: "\e34c";
}
.ph.ph-paint-roller:before {
  content: "\e6f4";
}
.ph.ph-pencil-line:before {
  content: "\e3b2";
}
.ph.ph-play:before {
  content: "\e3d0";
}
.ph.ph-plus-minus:before {
  content: "\e3d8";
}
.ph.ph-projector-screen-chart:before {
  content: "\e65a";
}
.ph.ph-push-pin-simple:before {
  content: "\e65c";
}
.ph.ph-push-pin-simple-slash:before {
  content: "\e65e";
}
.ph.ph-rocket:before {
  content: "\e3fc";
}
.ph.ph-ruler:before {
  content: "\e6b8";
}
.ph.ph-scales:before {
  content: "\e750";
}
.ph.ph-storefront:before {
  content: "\e470";
}
.ph.ph-strategy:before {
  content: "\ea3a";
}
.ph.ph-swatches:before {
  content: "\e5b8";
}
.ph.ph-umbrella:before {
  content: "\e684";
}
.ph.ph-user:before {
  content: "\e4c2";
}
.ph.ph-warning-circle:before {
  content: "\e4e2";
}
.ph.ph-x:before {
  content: "\e4f6";
}
.ph.ph-x-circle:before {
  content: "\e4f8";
}
