*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
}

:host {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  margin-bottom: 12px !important;
  display: block;
  width: 100%;
}

:host(.duet-m-0) {
  margin: 0 !important;
}

fieldset {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 0;
}
fieldset legend {
  position: absolute !important;
  top: 0;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.duet-legend-wrapper {
  position: relative;
  display: block;
  width: 100%;
  font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgb(8, 42, 77);
  text-align: left;
  background: transparent;
}
.duet-legend-wrapper.duet-legend-compact:not(.duet-legend-has-caption) {
  line-height: 1.25;
}
.duet-theme-turva .duet-legend-wrapper {
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: rgb(23, 28, 58);
}

.duet-fieldset-label {
  margin-bottom: 12px !important;
  display: flex;
  margin-top: 8px;
}
.duet-legend-has-caption .duet-fieldset-label {
  margin-bottom: 6px !important;
}
@media (min-width: 48em) {
  .duet-legend-has-tooltip.duet-legend-has-caption .duet-fieldset-label {
    margin-bottom: -3px !important;
  }
}

.duet-fieldset-caption {
  margin-bottom: 12px !important;
}

.duet-fieldset-help {
  display: block;
  font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
  color: rgb(214, 28, 82);
  border-radius: 4px;
}
.duet-fieldset-help span {
  display: block;
  margin-top: 12px;
}
.duet-fieldset-help span.duet-m-0 {
  margin-top: 0;
}
.duet-theme-turva .duet-fieldset-help {
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: rgb(214, 28, 82);
}

::slotted(duet-tooltip) {
  position: relative;
  top: 4px;
}

.duet-legend-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

:host(.duet-theme-turva2) .duet-theme-turva .duet-legend-wrapper {
  color: rgb(23, 42, 59);
}