.locale-review-note {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(10rem, 0.32fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 0;
  padding: 16px 18px;
  border: 1px solid #cfdbe5;
  border-left: 4px solid #176b87;
  border-radius: 10px;
  background: #f5f9fb;
  color: #385064;
  font-size: 0.88rem;
  line-height: 1.65;
}

.locale-review-note strong {
  color: #103b55;
  font-size: 0.9rem;
}

.locale-review-note span {
  min-width: 0;
}

.locale-review-note-floating {
  position: fixed;
  z-index: 95;
  left: 18px;
  bottom: 18px;
  display: flex;
  width: auto;
  max-width: min(31rem, calc(100% - 36px));
  margin: 0;
  padding: 10px 13px;
  border-color: rgba(255, 255, 255, 0.2);
  border-left-color: #42bdd1;
  background: rgba(10, 31, 44, 0.9);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 26px rgba(4, 18, 27, 0.2);
  backdrop-filter: blur(12px);
}

.locale-review-note-floating strong {
  color: #fff;
  white-space: nowrap;
}

.locale-review-note-floating span {
  display: none;
}

.locale-review-note-floating:hover span,
.locale-review-note-floating:focus span,
.locale-review-note-floating:focus-within span {
  display: block;
  padding-left: 0.8rem;
}

@media (max-width: 720px) {
  .locale-review-note {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    width: min(100% - 28px, 1180px);
    margin-top: 18px;
  }

  .locale-review-note-floating {
    display: flex;
    width: auto;
    margin: 0;
    padding: 9px 11px;
  }

  .locale-review-note-floating:hover,
  .locale-review-note-floating:focus,
  .locale-review-note-floating:focus-within {
    display: grid;
  }
}

.locale-compact-switch {
  display: inline-flex;
  align-items: center;
}

.locale-compact-switch .lang-select {
  width: auto;
  min-width: 6.7rem;
  height: 31px;
  padding: 0 28px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.locale-compact-switch .lang-select option {
  color: #162c3b;
  background: #fff;
}

.locale-compact-switch-floating {
  position: fixed;
  z-index: 120;
  top: 12px;
  right: 16px;
  padding: 5px;
  border-radius: 9px;
  background: #103b55;
  box-shadow: 0 8px 24px rgba(9, 36, 52, 0.18);
}

@media (max-width: 640px) {
  .locale-compact-switch .lang-select {
    min-width: 5.8rem;
    max-width: 7.2rem;
  }
}

@media (max-width: 760px) {
  .kemp-sitebar .ksb-context {
    display: none;
  }

  .kemp-sitebar .ksb-nav a:not(.ksb-cta) {
    display: none;
  }
}

@media (max-width: 480px) {
  .kemp-sitebar .ksb-nav .ksb-cta {
    display: none;
  }
}

/* Keep the industry navigation and language selector within tablet widths. */
@media (min-width: 761px) and (max-width: 1100px) {
  .kemp-sitebar .ksb-in {
    height: auto;
    min-height: 44px;
    flex-wrap: wrap;
    row-gap: 10px;
    padding-block: 10px;
  }
  .kemp-sitebar .ksb-context {
    display: none;
  }
  .kemp-sitebar .ksb-nav {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: flex-end;
  }
}

/* Separate the metric from its label without changing values or units. */
body:has(> .kemp-sitebar) .stats > div > .n {
  display: block;
  line-height: 1.35;
}
body:has(> .kemp-sitebar) .stats > div > .l {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}
@media (max-width: 900px) {
  body:has(> .kemp-sitebar) .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
