/* eh-salary: salary guide v2 widget styles — shared by JobMarketDataView and SalaryGuideView */
.eh-salary {
  --eh-salary-tier-1: var(--wp--preset--color--light-violet-500, #9a58fc);
  --eh-salary-tier-2: var(--wp--preset--color--light-violet-400, #b382fd);
  --eh-salary-tier-3: var(--wp--preset--color--light-violet-300, #cdacfe);
}
.eh-salary__heading {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--wp--preset--color--off-black);
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin: 0 0 1.25rem;
}
.eh-salary-card {
  padding: 1.75rem 0;
  box-sizing: border-box;
}
.eh-salary-viz-box {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--neutral-100);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-sizing: border-box;
}
.eh-salary-heading-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.eh-salary-heading-row .eh-salary__heading {
  margin-bottom: 0;
}
.eh-salary-sticker--inline {
  display: block;
  width: 32px;
  height: auto;
  flex-shrink: 0;
}
.eh-salary-card__question {
  font-size: 17px;
  font-weight: 700;
  color: var(--wp--preset--color--off-black);
  line-height: 1.4;
  margin: 0 0 1rem;
}
.eh-salary-card__answer {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--wp--preset--color--neutral-500);
  margin: 0;
}
.eh-salary-card__answer strong {
  font-weight: 700;
  color: var(--wp--preset--color--off-black);
}
.eh-salary-card__answer a {
  color: var(--wp--preset--color--violet-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.eh-salary-panel__divider {
  border: 0;
  border-top: 1px solid var(--wp--preset--color--neutral-100);
  margin: 1.75rem 0;
}
.eh-salary-panel__divider ~ .eh-salary-card__answer {
  margin-bottom: 1.5rem;
}
.eh-salary-range__hero {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 0.5rem;
}
.eh-salary-range__figure {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--wp--preset--color--off-black);
  letter-spacing: -1px;
  line-height: 1;
}
.eh-salary-range__figure-note {
  font-size: 0.875rem;
  color: var(--wp--preset--color--neutral-500);
}
.eh-salary-range__plot {
  position: relative;
  height: 54px;
  margin-top: 1.5rem;
  margin-left: 0.75rem;
}
.eh-salary-range__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 10px;
  border-radius: 5px;
  background: var(--wp--preset--color--neutral-100);
}
.eh-salary-range__band {
  position: absolute;
  top: 18px;
  height: 10px;
  border-radius: 5px;
  background: var(--eh-salary-tier-1);
}
.eh-salary-range__tick {
  position: absolute;
  top: 10px;
  width: 3px;
  height: 26px;
  border-radius: 2px;
  background: var(--wp--preset--color--off-black);
  box-shadow: 0 0 0 2px var(--wp--preset--color--white);
}
.eh-salary-range__marker {
  position: absolute;
  top: 17px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--eh-salary-tier-3);
  box-shadow: 0 0 0 2px var(--wp--preset--color--white);
  transform: translateX(-6px);
}
.eh-salary-range__marker--p10 {
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--wp--preset--color--neutral-400);
  box-shadow: 0 0 0 2px var(--wp--preset--color--white);
  transform: translateX(-4px);
}
.eh-salary-range__cap {
  position: absolute;
  transform: translateX(-50%);
  top: 34px;
  font-size: 11px;
  color: var(--wp--preset--color--neutral-500);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.eh-salary-range__cap--median {
  top: -6px;
  color: var(--wp--preset--color--off-black);
  font-weight: 700;
}
.eh-salary-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1.5rem;
}
@media (max-width: 700px) {
  .eh-salary-grid {
    grid-template-columns: 1fr;
  }
}
.eh-salary-col-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.eh-salary-col-stack > .eh-salary-figure {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.eh-salary-col-stack > .eh-salary-figure > .eh-salary-caption {
  margin-top: auto;
  padding-top: 1rem;
}
.eh-salary-subtitle {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--wp--preset--color--neutral-500);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.eh-salary-figure {
  margin: 0;
}
.eh-salary-bars {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 74px;
  column-gap: 0.75rem;
  row-gap: 14px;
  align-items: center;
  position: relative;
}
.eh-salary-bars__label {
  font-size: 13px;
  color: var(--wp--preset--color--off-black);
  text-align: right;
}
.eh-salary-bars__plot {
  position: relative;
  height: 20px;
}
.eh-salary-bars__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 0 4px 4px 0;
  background: var(--c);
}
.eh-salary-bars__value {
  font-size: 13px;
  font-weight: 700;
  color: var(--wp--preset--color--off-black);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.eh-salary-bars__ref {
  position: absolute;
  left: calc(88px + (100% - 174px) * var(--x));
  top: -8px;
  bottom: -8px;
  width: 1px;
  background: var(--wp--preset--color--neutral-300);
  pointer-events: none;
  z-index: 2;
}
.eh-salary-bars__ref-label {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--wp--preset--color--neutral-500);
  white-space: nowrap;
}
.eh-salary-bars--ref {
  margin-bottom: 1.75rem;
}
.eh-salary-caption {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--wp--preset--color--neutral-500);
  margin: 1rem 0 0;
}
.eh-salary-table-wrap {
  overflow-x: auto;
}
.eh-salary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.eh-salary-table caption {
  caption-side: top;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--wp--preset--color--neutral-500);
  line-height: 1.5;
  padding: 0 0.75rem 0.75rem;
}
.eh-salary-table thead th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--wp--preset--color--neutral-500);
  padding: 0 0.75rem 0.25rem;
  text-align: left;
  border-bottom: 1px solid var(--wp--preset--color--neutral-100);
  white-space: nowrap;
}
.eh-salary-table thead th:not(:first-child) {
  text-align: right;
}
.eh-salary-table tbody th,
.eh-salary-table tbody td {
  padding: 6px 0.75rem;
  border-bottom: 1px solid var(--wp--preset--color--neutral-100);
  color: var(--wp--preset--color--off-black);
}
.eh-salary-table tbody th {
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.eh-salary-table tbody td:first-of-type {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.eh-salary-table tbody td:last-child {
  text-align: right;
}
.eh-salary-table tbody tr:last-child th,
.eh-salary-table tbody tr:last-child td {
  border-bottom: none;
}
.eh-salary-table__total th,
.eh-salary-table__total td {
  border-top: 1px solid var(--wp--preset--color--neutral-200);
  font-weight: 700;
  padding-top: 11px;
}
.eh-salary-table__total td:last-child {
  color: var(--wp--preset--color--neutral-500);
  font-weight: 400;
}
.eh-salary-delta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 13px;
}
.eh-salary-delta__glyph {
  font-size: 9px;
  line-height: 1;
}
.eh-salary-delta--up {
  color: var(--wp--preset--color--success-500);
}
.eh-salary-delta--down {
  color: var(--wp--preset--color--error-500);
}
.eh-salary-delta--flat {
  color: var(--wp--preset--color--neutral-500);
}
.eh-salary-delta--flat .eh-salary-delta__glyph {
  font-size: 13px;
}
.eh-salary-dbar {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 14px;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.eh-salary-dbar::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--wp--preset--color--neutral-100);
}
.eh-salary-dbar__fill {
  position: absolute;
  top: 4px;
  height: 6px;
  border-radius: 2px;
  width: var(--w);
  min-width: 2px;
}
.eh-salary-dbar__fill--up {
  left: 50%;
  background: var(--wp--preset--color--success-500);
}
.eh-salary-dbar__fill--down {
  right: 50%;
  background: var(--wp--preset--color--error-500);
}
.eh-salary-dbar__fill--flat {
  left: 50%;
  transform: translateX(-50%);
  background: var(--wp--preset--color--neutral-400);
  width: 3px;
}
.eh-salary-footnote {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--wp--preset--color--neutral-500);
  margin: 1.5rem 0 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
