.duet-internal-label {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  margin-bottom: 12px !important;
  position: relative;
  z-index: 100;
  display: inline-flex;
  width: auto;
  margin-top: 8px !important;
  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 !important;
  line-height: 1.25;
  line-height: 1.25;
  color: rgb(8, 42, 77);
  text-align: left;
  word-break: break-word;
  cursor: default;
}
.duet-internal-label.duet-p-0 {
  padding: 0 !important;
}
.duet-internal-label.duet-m-0 {
  margin: 0 !important;
}
.duet-internal-label span {
  font-size: 1rem;
  font-weight: 600 !important;
  word-break: break-word;
}
.duet-internal-label.duet-m-0 {
  margin-bottom: 0 !important;
}
.duet-internal-label.duet-small-margin {
  margin-top: 8px !important;
  margin-bottom: 4px !important;
}
.duet-internal-label.duet-has-tooltip {
  padding-right: 48px;
}
@media (min-width: 48em) {
  .duet-internal-label.duet-has-tooltip {
    padding-right: 0;
  }
}
.duet-internal-label.duet-internal-label-small {
  font-size: 0.875rem;
}
.duet-internal-label.duet-internal-label-small span {
  font-size: 0.875rem;
}
.duet-internal-label.duet-weight-normal {
  font-weight: 400 !important;
}
.duet-internal-label.duet-weight-normal span {
  font-weight: 400 !important;
}
.duet-internal-label.duet-theme-turva {
  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, 42, 59);
}

*,
*::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-right: 8px !important;
  margin-bottom: 12px !important;
  -webkit-user-select: none;
  user-select: none;
  display: inline-flex;
  width: 100%;
  vertical-align: bottom;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
:host:last-child, :host:last-of-type {
  margin-right: 0 !important;
}
[alignment=form-distribute] > :host:last-of-type:not(:last-child) {
  margin-right: 8px !important;
}

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

:host(.duet-toggle-is-disabled) {
  cursor: not-allowed;
}

:host(.duet-toggle-is-loading) {
  cursor: wait;
}

.duet-side-label {
  display: flex;
  gap: 12px;
  align-items: center;
}

.duet-reverse-label {
  flex-direction: row-reverse;
}

.duet-switch {
  position: relative;
  display: block;
  width: 48px;
  height: 28px;
}
.duet-switch input {
  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-switch input:checked + .duet-slider {
  background-color: rgb(0, 119, 179);
  box-shadow: none;
}
.duet-theme-turva .duet-switch input:checked + .duet-slider {
  background-color: rgb(198, 12, 48);
}
.duet-switch input:checked + .duet-slider::before {
  background-color: rgb(255, 255, 255);
  box-shadow: -1px 0 2px #004467;
  transform: translateX(20px);
}
.duet-theme-turva .duet-switch input:checked + .duet-slider::before {
  background-color: rgb(255, 255, 255);
  box-shadow: -1px 0 2px #660619;
}
.duet-switch input:disabled + .duet-slider::before {
  box-shadow: none;
}
.duet-theme-turva .duet-switch input:disabled + .duet-slider::before {
  box-shadow: none;
}
.duet-switch input:disabled:not(:checked) + .duet-slider {
  background: #bfcbd2;
}
.duet-switch input:disabled:not(:checked) + .duet-slider::before {
  background: rgb(255, 255, 255);
  box-shadow: none;
}
.duet-theme-turva .duet-switch input:disabled:not(:checked) + .duet-slider {
  background: #c7c9cf;
}
.duet-theme-turva .duet-switch input:disabled:not(:checked) + .duet-slider::before {
  background: rgb(255, 255, 255);
}
.duet-switch input:disabled:checked + .duet-slider {
  background: #80bbd9;
}
.duet-theme-turva .duet-switch input:disabled:checked + .duet-slider {
  background: #e38698;
}
:host(.user-is-tabbing) .duet-switch input:focus + .duet-slider {
  outline: 2px solid;
  outline-offset: 2px;
  outline-color: rgba(0, 119, 179, 0.8);
}
.duet-theme-turva :host(.user-is-tabbing) .duet-switch input:focus + .duet-slider, :host(.user-is-tabbing) .duet-switch input:focus + .duet-slider.duet-theme-turva, .duet-theme-turva2 :host(.user-is-tabbing) .duet-switch input:focus + .duet-slider, :host(.user-is-tabbing) .duet-switch input:focus + .duet-slider.duet-theme-turva2 {
  outline-color: rgba(53, 79, 101, 0.8);
}

.duet-slider {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
  background-color: rgb(127, 150, 165);
  border-radius: 24px;
  transition: background-color 300ms ease;
}
.duet-slider::before {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  content: "";
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  box-shadow: 1px 0 2px 0 #5d6266;
  transition: 300ms ease;
}
.duet-toggle-is-loading .duet-slider::before {
  transform: translateX(10px) !important;
}
.duet-toggle-is-loading .duet-slider {
  cursor: wait;
}
.duet-toggle-is-disabled .duet-slider {
  cursor: not-allowed;
}
.duet-theme-turva .duet-slider {
  background-color: rgb(143, 147, 158);
}
.duet-theme-turva .duet-slider::before {
  background-color: rgb(255, 255, 255);
  box-shadow: 1px 0 2px 0 #00334d;
}

duet-spinner {
  margin: 2px;
  cursor: wait;
  transform: translate(-2px, -2px) scale(80%);
}

.duet-label-hidden .duet-internal-label {
  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;
}

:host(.duet-theme-turva2) .duet-switch input:checked + .duet-slider {
  background-color: rgb(230, 23, 64);
}
:host(.duet-theme-turva2) .duet-switch input:checked + .duet-slider::before {
  box-shadow: -1px 0 2px #890e26;
  transform: translateX(20px);
}
:host(.duet-theme-turva2) .duet-switch input:disabled:checked + .duet-slider {
  background: #f38ba0;
}