/* Self-hosted fonts; license notices are in ./fonts/. */
@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("./fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("./fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("./fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("./fonts/figtree-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
    font-family: "Figtree";
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url("./fonts/figtree-latin-ext-wght-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
    font-family: "Figtree";
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url("./fonts/figtree-latin-wght-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --sf-font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --sf-font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
}

html, body {
  font-family: var(--sf-font-body);
  font-optical-sizing: auto;
}

button, input, textarea, select, optgroup, .button, .nav-item, .nav-subitem {
  font-family: var(--sf-font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sf-font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  letter-spacing: 0;
}

.metric-card strong,
.application-stat-card strong,
.mediation-stat-card strong,
.client-metric-card strong,
.attention-summary-card strong,
.billing-metric-card strong,
.billing-kpi-card strong,
.status-metric-card strong,
.mini-box strong,
.profile-load strong,
.record-map-distance > strong,
.cashbook-summary strong,
.attendance-summary strong,
.settlement-summary strong,
.settlement-totals dd,
#loginWeatherTemperature,
#sidebarWeatherTemperature,
.timer,
.work-account-balance strong,
.portal-stat strong,
.leave-facts strong {
  font-family: var(--sf-font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  letter-spacing: 0;
}

.portal-stat strong {
  min-height: 2.6em;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
}

.sf-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  color: #172d42;
}

.sf-brand .sf-brand-icon {
  display: block;
  width: 48px;
  height: 43px;
  max-width: none;
  flex: 0 0 48px;
  object-fit: contain;
}

.sf-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
  text-align: left;
}

.sf-brand-copy strong {
  font-family: var(--sf-font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.sf-brand-copy small {
  color: #e77f6c;
  font-family: var(--sf-font-display);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.sidebar .sf-brand,
.sidebar .sf-brand-copy small {
  color: inherit;
}

.auth-logo.sf-brand {
  display: flex;
  justify-content: center;
  height: 72px;
}

.topbar > .portal-logo-mark.sf-brand {
  display: flex;
  width: 190px;
  max-width: calc(100% - 100px);
  height: 46px;
  flex: 0 1 190px;
  background: none;
}

@media (max-width: 359px) {
  .topbar > .sf-brand .sf-brand-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .topbar > .sf-brand .sf-brand-copy strong { font-size: 15px; }
}
