@font-face {
  font-family: "Open Sans";
  src: url("/static/brand/open-sans-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/static/brand/open-sans-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/static/brand/open-sans-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/static/brand/open-sans-800-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 0 9px;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
}

.brand-sub {
  margin: 0;
  color: var(--brand-gold);
  font-size: 11px;
  letter-spacing: .18em;
}

.workspace-label {
  margin-top: 44px;
}

.sidebar nav a[aria-current] {
  color: var(--brand-gold);
  box-shadow: inset 3px 0 var(--brand-red);
}

.sidebar nav a[aria-current] .nav-icon {
  color: var(--brand-gold);
}

.sidebar-bottom > a:hover,
.signout:hover {
  color: var(--brand-gold);
}

h1,
.kpis strong {
  font-weight: 800;
}

h2,
h3,
.style-action > strong,
.lead-badge {
  font-weight: 600;
}

table,
.kpis strong,
.size-cell > strong {
  font-variant-numeric: tabular-nums;
}

.button:not(.secondary) {
  border-color: var(--brand-red-strong);
}

.risk-kpi {
  border-top-color: var(--brand-red) !important;
}

.login-story .brand {
  width: min(100%, 390px);
  padding: 0;
}

.login-story .brand-logo {
  max-width: none;
}

.login-story h1 {
  color: var(--brand-gold);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(34px, 3.3vw, 49px);
  letter-spacing: -.035em;
}

.buy-bar {
  border-top: 3px solid var(--brand-gold);
}

.buy-bar h2 {
  color: var(--brand-gold);
}

.document-logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin-bottom: 24px;
}

.supplier-document > header {
  border-bottom: 3px solid var(--brand-gold);
  padding-bottom: 28px;
}

@media (max-width: 900px) {
  .brand {
    gap: 10px;
    padding: 0 5px;
  }

  .brand-sub {
    font-size: 10px;
    letter-spacing: .12em;
  }
}

@media (max-width: 650px) {
  .sidebar > .brand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }

  .sidebar .brand-logo {
    width: 180px;
    flex-shrink: 0;
  }

  .sidebar .brand-sub {
    font-size: 9px;
    text-align: right;
    max-width: 90px;
    line-height: 1.6;
  }

  .sidebar nav a[aria-current] {
    box-shadow: inset 0 -2px var(--brand-red);
  }

  .login-story .brand {
    max-width: 330px;
  }
}

@media print {
  .document-logo {
    width: 200pt;
  }
}
