.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: 16px !important;
  margin-bottom: 12px !important;
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: left;
}
:host:last-child, :host:last-of-type {
  margin-right: 0 !important;
}
[alignment=form-distribute] > :host:last-of-type:not(:last-child) {
  margin-right: 16px !important;
}
@media (min-width: 36em) {
  :host {
    width: calc(50% - 16px - 3px);
  }
  :host.duet-expand {
    width: 100% !important;
  }
}

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

duet-tooltip,
::slotted(duet-tooltip) {
  position: absolute;
  top: 12px;
  right: 0;
}
@media (min-width: 48em) {
  duet-tooltip,
  ::slotted(duet-tooltip) {
    position: relative;
    top: 4px;
    right: auto;
  }
}

.duet-textarea-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.duet-textarea-container .duet-input-top-caption {
  display: none;
}
.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption {
  display: flex !important;
}

.duet-textarea-wrapper {
  position: relative;
}

.duet-textarea-placeholder {
  position: absolute;
  top: -9px;
  left: 9px;
  z-index: 200;
  display: block;
  width: auto;
  max-width: 60%;
  padding: 0 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgb(255, 255, 255);
}

.duet-textarea {
  padding: 15px !important;
  position: relative;
  z-index: 100;
  display: block;
  width: 100%;
  min-width: 8rem;
  min-height: 160px;
  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: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  color: rgb(8, 42, 77);
  resize: vertical;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(127, 150, 165);
  border-radius: 4px;
  transition: 150ms ease;
}
.duet-textarea:focus {
  outline: 2px solid;
  outline-offset: 0;
  outline-color: rgba(0, 119, 179, 0.8);
}
.duet-theme-turva .duet-textarea:focus, .duet-textarea:focus.duet-theme-turva, .duet-theme-turva2 .duet-textarea:focus, .duet-textarea:focus.duet-theme-turva2 {
  outline: 2px solid;
  outline-offset: 0;
  outline-color: rgba(53, 79, 101, 0.8);
}
.duet-theme-turva .duet-textarea {
  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);
  border-color: rgb(143, 147, 158);
}
.has-error .duet-textarea {
  border-color: rgb(214, 28, 82) !important;
}
.duet-theme-turva.has-error .duet-textarea {
  border-color: rgb(214, 28, 82) !important;
}
.duet-textarea[rows] {
  min-height: auto;
}
.duet-textarea::-webkit-input-placeholder {
  color: rgb(98, 121, 138);
  opacity: 1 !important;
  transition: color 300ms ease;
}
.duet-theme-turva .duet-textarea::-webkit-input-placeholder {
  color: rgb(143, 147, 158);
}
.duet-textarea:focus::-webkit-input-placeholder {
  color: rgb(181, 198, 208);
}
.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder {
  color: rgb(199, 202, 207);
}
.duet-textarea::-moz-placeholder {
  color: rgb(98, 121, 138);
  opacity: 1 !important;
}
.duet-theme-turva .duet-textarea::-moz-placeholder {
  color: rgb(143, 147, 158);
}
.duet-textarea:focus::-moz-placeholder {
  color: rgb(181, 198, 208);
}
.duet-theme-turva .duet-textarea:focus::-moz-placeholder {
  color: rgb(199, 202, 207);
}
.duet-textarea:-ms-input-placeholder {
  color: rgb(98, 121, 138);
}
.duet-theme-turva .duet-textarea:-ms-input-placeholder {
  color: rgb(143, 147, 158);
}
.duet-textarea:focus:-ms-input-placeholder {
  color: rgb(181, 198, 208);
}
.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder {
  color: rgb(199, 202, 207);
}
.duet-textarea[disabled] {
  color: rgb(98, 121, 138) !important;
  cursor: not-allowed !important;
  background: rgb(245, 248, 250) !important;
  border-color: rgb(245, 248, 250) !important;
}
.duet-theme-turva .duet-textarea[disabled] {
  color: rgb(143, 147, 158) !important;
  background: rgb(245, 247, 250) !important;
  border-color: rgb(245, 247, 250) !important;
}
.duet-textarea[disabled]::-webkit-input-placeholder {
  color: rgb(8, 42, 77);
  opacity: 1 !important;
  transition: color 300ms ease;
}
.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder {
  color: rgb(23, 28, 58);
}
.duet-textarea[disabled]::-moz-placeholder {
  color: rgb(8, 42, 77);
  opacity: 1 !important;
}
.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder {
  color: rgb(23, 28, 58);
}
.duet-textarea[disabled]:-ms-input-placeholder {
  color: rgb(8, 42, 77);
}
.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder {
  color: rgb(23, 28, 58);
}
.duet-textarea:hover:not(:disabled) {
  outline: 2px solid;
  outline-color: rgb(98, 121, 138);
  outline-offset: -1px;
}
.duet-theme-turva .duet-textarea:hover:not(:disabled), .duet-textarea:hover:not(:disabled).duet-theme-turva, .duet-theme-turva2 .duet-textarea:hover:not(:disabled), .duet-textarea:hover:not(:disabled).duet-theme-turva2 {
  outline-color: rgb(120, 145, 164);
}
.has-error .duet-textarea:hover:not(:disabled) {
  outline: 1px solid;
  outline-color: rgb(214, 28, 82);
  outline-offset: -1px;
}
.duet-textarea:focus {
  border-color: rgb(0, 119, 179);
  transition: none;
}
.duet-theme-turva .duet-textarea:focus {
  border-color: rgb(23, 28, 58);
}
.has-error .duet-textarea:focus {
  outline: 1px solid;
  outline-color: rgb(214, 28, 82);
  outline-offset: -1px;
}
.duet-textarea:not(:focus):not(:hover):invalid {
  outline: none;
}

.duet-textarea-help {
  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;
  line-height: 1.25;
}
.duet-textarea-help span {
  display: block;
  margin-top: 8px;
}
.duet-theme-turva .duet-textarea-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(143, 147, 158);
}
.has-error .duet-textarea-help {
  color: rgb(214, 28, 82);
}
.duet-theme-turva.has-error .duet-textarea-help {
  color: rgb(214, 28, 82);
}

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

.duet-character-count {
  display: block;
  margin: 8px 0 0 auto;
}

:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea {
  color: rgb(23, 42, 59);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus {
  border-color: rgb(23, 42, 59);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled] {
  background: rgb(245, 246, 247) !important;
  border-color: rgb(245, 246, 247) !important;
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:-webkit-input-placeholder {
  color: rgb(120, 145, 164);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder {
  color: rgb(178, 194, 205);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus::-moz-placeholder {
  color: rgb(178, 194, 205);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea:focus:-ms-input-placeholder {
  color: rgb(178, 194, 205);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder {
  color: rgb(23, 42, 59);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]::-moz-placeholder {
  color: rgb(23, 42, 59);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder {
  color: rgb(23, 42, 59);
}