.labor-router {
  --lr-ink: #1d1d1f;
  --lr-deep: #1d1d1f;
  --lr-sea: #005bb5;
  --lr-paper: #f5f5f7;
  --lr-line: rgba(0, 0, 0, 0.085);
  --lr-accent: #005bb5;
  width: min(1220px, calc(100% - 40px));
  margin: clamp(70px, 9vw, 126px) auto;
  color: var(--lr-ink);
  scroll-margin-top: 110px;
}

.labor-router-header {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, .55fr);
  gap: clamp(38px, 7vw, 94px);
  align-items: end;
  padding: clamp(38px, 6vw, 76px);
  color: #ffffff;
  background: var(--lr-deep);
}

.labor-router-header h2 {
  max-width: 820px;
  margin: 14px 0 20px;
  color: #ffffff;
  font-family: var(--sans);
  font-size: clamp(2.55rem, 5.3vw, 5.4rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.055em;
}

.labor-router-header > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.labor-router-header aside {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .055);
}

.labor-router-header aside > span,
.labor-router-result span,
.labor-router-dossier > div > span,
.labor-router-sources > span {
  display: block;
  color: #93c5fd;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.labor-router-header aside strong {
  display: block;
  margin: 10px 0 14px;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
}

.labor-router-header [role="progressbar"] {
  height: 3px;
  overflow: hidden;
}

.labor-router-header [role="progressbar"] i {
  display: block;
  height: 100%;
  transition: width .28s ease;
}

.labor-router-header aside small {
  display: block;
  margin-top: 16px;
  color: #ffffff;
  line-height: 1.5;
}

.labor-router-workbench fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.labor-router-workbench legend {
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  font-family: var(--sans);
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.04;
}

.labor-router-workbench legend span {
  display: block;
  margin-bottom: 10px;
  color: #005bb5;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: .14em;
}

.labor-router-matters {
  padding: clamp(34px, 5vw, 64px) !important;
  border-bottom: 1px solid var(--lr-line) !important;
}

.labor-router-matters > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--lr-line);
  background: var(--lr-line);
}

.labor-router button {
  min-width: 0;
  color: #005bb5;
  text-align: left;
  border: 0;
  background: #ffffff;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.labor-router button:hover {
  color: var(--lr-ink);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .65);
}

.labor-router button:focus-visible {
  outline: 3px solid #005bb5;
  outline-offset: -3px;
}

.labor-router-matters button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 112px;
  padding: 22px 20px;
  line-height: 1.42;
}

.labor-router-matters button > span {
  color: #005bb5;
  font-size: 0.8125rem;
  letter-spacing: .12em;
}

.labor-router-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.labor-router-secondary fieldset {
  padding: clamp(34px, 5vw, 58px) !important;
}

.labor-router-secondary fieldset + fieldset {
  border-left: 1px solid var(--lr-line);
}

.labor-router-secondary button {
  width: 100%;
  margin-top: 9px;
  padding: 15px 17px;
  line-height: 1.38;
  border: 1px solid var(--lr-line);
}

.labor-router-result {
  color: #ffffff;
  background: var(--lr-sea);
}

.labor-router-empty {
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: clamp(42px, 7vw, 88px);
  text-align: center;
}

.labor-router-empty h3 {
  max-width: 760px;
  margin: 16px auto;
  color: #ffffff;
  font-family: var(--sans);
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

.labor-router-empty p {
  max-width: 690px;
  margin: 0 auto;
  color: #ffffff;
  line-height: 1.65;
}

.labor-router-empty > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
}

.labor-router-empty i {
  padding: 8px 10px;
  color: #93c5fd;
  font-size: 0.8125rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .11em;
  border: 1px solid rgba(255, 255, 255, .2);
}

.labor-router-sources {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 40px;
  align-items: center;
  padding: 24px clamp(34px, 5vw, 62px);
  background: #f5f5f7;
}

.labor-router-sources > span {
  color: #005bb5;
}

.labor-router-sources > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.labor-router-sources a {
  color: #48484a;
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .labor-router-header {
    grid-template-columns: 1fr;
  }

  .labor-router-header aside {
    max-width: 520px;
  }

  .labor-router-matters > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .labor-router {
    width: calc(100% - 20px);
    margin: 56px auto 84px;
    scroll-margin-top: 88px;
  }

  .labor-router-header,
  .labor-router-matters,
  .labor-router-secondary fieldset,
  .labor-router-result-heading,
  .labor-router-dossier,
  .labor-router-result > footer,
  .labor-router-sources {
    padding: 27px 20px !important;
  }

  .labor-router-header h2 {
    font-size: clamp(2.55rem, 13.2vw, 4rem);
  }

  .labor-router-matters > div,
  .labor-router-secondary,
  .labor-router-dossier {
    grid-template-columns: 1fr;
  }

  .labor-router-matters button {
    min-height: 0;
    padding: 17px 15px;
  }

  .labor-router-secondary fieldset + fieldset {
    border-top: 1px solid var(--lr-line);
    border-left: 0;
  }

  .labor-router-sources {
    grid-template-columns: 1fr;
  }

  .labor-router-sources > div {
    display: grid;
    justify-content: start;
  }
}
.labor-router button[aria-pressed="true"] {
  color: #ffffff;
  background: #0d2b3e;
}
.labor-router-matters button[aria-pressed="true"] > span {
  color: #93c5fd;
}
