@charset "UTF-8";
/** For enabled state of links (visited) in lightmode */
/** For hovered and activated state of links (visited) in lightmode */
/** For enabled state of links (not visited) in lightmode */
/** For hovered and activated state of links (not visited) in lightmode */
/** Used for (lightmode) status-info-soft */
/** Used for (lightmode) status-info-regular */
/** Used for (lightmode) background-state-hovered */
/** Used for (lightmode) background-state-selected */
/** Used for (lightmode) background-state-activated */
/** Used for (lightmode) background-overlay */
/** Used for (darkmode) background-overlay */
/** For hovered and activated state of links (visited) in darkmode */
/** For enabled state of links (visited) in darkmode */
/** For hovered and activated state of links (not visited) in darkmode */
/** For enabled state of links (not visited) in darkmode */
/** Used for (darkmode) status-info-regular */
/** Used for (darkmode) status-info-soft */
/** Used for (darkmode) status-success-regular */
/** Used for (darkmode) status-success-soft */
/** Used for (darkmode) status-warning-regular */
/** Used for (darkmode) status-warning-soft */
/** Used for (darkmode) status-error-regular */
/** Used for (darkmode) status-error-soft */
/** Used for focused outline in both lightmode and darkmode */
/** Used for (lightmode) status-success-soft */
/** Used for (lightmode) status-success-regular */
/** Used for (darkmode) background-state-hovered */
/** Used for (darkmode) background-state-selected */
/** Used for (darkmode) background-state-activated */
/** Used for (lightmode) status-warning-soft */
/** Used for (lightmode) status-warning-regular */
/** Used for (lightmode) status-error-soft */
/** Used for (lightmode) status-error-regular */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/** Deprecated: will be removed in @riverty/design-tokens@3 */
/**
* Semantic Color Tokens - Light
*/
/** Used in regular decorative screens, containers or sections Examples: Onboarding screens, Login screens */
/** Used in soft decorative screens, containers or sections Examples: Onboarding screens, Login screens */
/** Used for specific sections that require attention */
/** Used as an overlay background for components that behave modal */
/** Used for regular backgrounds in components Examples: Primary button */
/** Used as static backgrounds in our components Examples: dialog, bottom sheet */
/** Used as the main background color of our mobile interfaces */
/** Used as the main background color of our desktop interfaces, as well as small components Examples: input field, select */
/** Used as a soft background independent of mode */
/** Used for activated state in all interactive components */
/** Used for hovered state in all interactive components */
/** Used for selected state in all interactive components */
/** Used for borders that serve decoration and function, adding color */
/** Used for creating focus states of interactive components */
/** Used for highlighting the focus states of interactive components */
/** Used for borders that are on strong backgrounds in light mode and soft backgrounds in darkmode */
/** Used for borders balanced with regular texts and icons */
/** Used for smoother borders but still clearly visible */
/** Used for making distinctions between sections */
/** Used for borders that serve as decoration rather than function */
/** Used for clear, distinct borders */
/** Used to add emphasis on one single icon */
/** Used for icons that are used on inverse backgrounds */
/** Used for icons that are used on inverse backgrounds, static in darkmode */
/** Used for icons that are interactive */
/** Used for icons that are interactive but should keep static in darkmode */
/** Used for icons that are supporting labels (not interactive) */
/** Used on coloured backgrounds to ensure better contrast compared to r-icon-regular, static in darkmode */
/** Used to indicate to users the interactivity of a link, used for hover and activated states */
/** Used to indicate to users that a link is enabled */
/** Used to indicate to users the interactivity of a visited link, used for hover and activated states */
/** Used to indicate to users that a link has been visited before */
/** Used when logo requires attention */
/** Not used, will be removed in future */
/** Used on dark backgrounds, when logo doesn’t require much attention */
/** Used when logo doesn’t require much attention */
/** Used for indicating strong error  Examples: Error border for badge, error border for toast, error text */
/** Used for indicating strong error, static in both light and darkmode Examples: error background for primary button */
/** Used for indicating soft error, often combined with regular error color Examples: error background for badge, error background for toast */
/** Used for indicating strong info  Examples: info border for badge, info border for toast */
/** Used for indicating soft info, often combined with regular info color Examples: info background for badge, info background for toast */
/** Used for indicating strong success  Examples: success border for badge, success border for toast */
/** Used for indicating soft success, often combined with regular success color Examples: success background for badge, success background for toast */
/** Used for indicating strong warning  Examples: warning border for badge, warning border for toast */
/** Used for indicating soft warning, often combined with regular warning color Examples: warning background for badge, warning background for toast */
/** Used for decorative, large texts only (from font size 24), to emphasize brand Examples: Marketing email headers */
/** Used for regular texts but then on strong backgrounds Examples: Text in Primary button */
/** Used for decorative, large texts only (from font size 24) to use above backgrounds with brand color Examples: Onboarding screen Riverty App */
/** Used for all texts that aren’t in need of exceptions  Examples: Headlines, body texts, labels */
/** Used for texts that are additional, not crucial Examples: Hint texts, placeholder texts */
/** Used on coloured backgrounds to ensure better contrast compared to r-text-regular Example: Text in Toast with warning status */
/** Used on coloured backgrounds that don’t change from light to dark mode, compared to r-text-strong Examples: Text in Primary button */
/** Internal Design System token to enable 'inverse'-appearing components such as alert and popover. */
/** Internal Design System token to enable 'inverse'-appearing components such as alert and popover. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/**
* Semantic Color Tokens - Dark
*/
/** Used in regular decorative screens, containers or sections Examples: Onboarding screens, Login screens */
/** Used in soft decorative screens, containers or sections Examples: Onboarding screens, Login screens */
/** Used for specific sections that require attention */
/** Used as an overlay background for components that behave modal */
/** Used for regular backgrounds in components Examples: Primary button */
/** Used as static backgrounds in our components Examples: dialog, bottom sheet */
/** Used as the main background color of our mobile interfaces */
/** Used as the main background color of our desktop interfaces, as well as small components Examples: input field, select */
/** Used as a soft background independent of mode */
/** Used for activated state in all interactive components */
/** Used for hovered state in all interactive components */
/** Used for selected state in all interactive components */
/** Used for borders that serve decoration and function, adding color */
/** Used for creating focus states of interactive components */
/** Used for highlighting the focus states of interactive components */
/** Used for borders that are on strong backgrounds in light mode and soft backgrounds in darkmode */
/** Used for borders balanced with regular texts and icons */
/** Used for smoother borders but still clearly visible */
/** Used for making distinctions between sections */
/** Used for borders that serve as decoration rather than function */
/** Used for clear, distinct borders */
/** Used to add emphasis on one single icon */
/** Used for icons that are used on inverse backgrounds */
/** Used for icons that are used on inverse backgrounds, static in darkmode */
/** Used for icons that are interactive */
/** Used for icons that are interactive but should keep static in darkmode */
/** Used for icons that are supporting labels (not interactive) */
/** Used on coloured backgrounds to ensure better contrast compared to r-icon-regular, static in darkmode */
/** Used to indicate to users the interactivity of a link, used for hover and activated states */
/** Used to indicate to users that a link is enabled */
/** Used to indicate to users the interactivity of a visited link, used for hover and activated states */
/** Used to indicate to users that a link has been visited before */
/** Used when logo requires attention */
/** Not used, will be removed in future */
/** Used on dark backgrounds, when logo doesn’t require much attention */
/** Used when logo doesn’t require much attention */
/** Used for indicating strong error  Examples: Error border for badge, error border for toast, error text */
/** Used for indicating strong error, static in both light and darkmode Examples: error background for primary button */
/** Used for indicating soft error, often combined with regular error color Examples: error background for badge, error background for toast */
/** Used for indicating strong info  Examples: info border for badge, info border for toast */
/** Used for indicating soft info, often combined with regular info color Examples: info background for badge, info background for toast */
/** Used for indicating strong success  Examples: success border for badge, success border for toast */
/** Used for indicating soft success, often combined with regular success color Examples: success background for badge, success background for toast */
/** Used for indicating strong warning  Examples: warning border for badge, warning border for toast */
/** Used for indicating soft warning, often combined with regular warning color Examples: warning background for badge, warning background for toast */
/** Used for decorative, large texts only (from font size 24), to emphasize brand Examples: Marketing email headers */
/** Used for regular texts but then on strong backgrounds Examples: Text in Primary button */
/** Used for decorative, large texts only (from font size 24) to use above backgrounds with brand color Examples: Onboarding screen Riverty App */
/** Used for all texts that aren’t in need of exceptions  Examples: Headlines, body texts, labels */
/** Used for texts that are additional, not crucial Examples: Hint texts, placeholder texts */
/** Used on coloured backgrounds to ensure better contrast compared to r-text-regular Example: Text in Toast with warning status */
/** Used on coloured backgrounds that don’t change from light to dark mode, compared to r-text-strong Examples: Text in Primary button */
/** Internal Design System token to enable 'inverse'-appearing components such as alert and popover. */
/** Internal Design System token to enable 'inverse'-appearing components such as alert and popover. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
/** Deprecated: will be removed in @riverty/design-tokens@3. */
:host {
  font-style: normal;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: 1.5;
  word-spacing: normal;
  text-transform: none;
  opacity: 1;
  transform: none;
  filter: none;
  text-shadow: none;
  box-shadow: none;
  box-sizing: border-box;
  opacity: 1;
  display: block;
  outline: none;
  --r-label--margin-bottom: 0;
}

:host(:focus-visible) {
  outline: none;
}

:host([resize=none]) {
  --r-textarea--input--resize: none;
}

:host([resize=both]) {
  --r-textarea--input--resize: both;
}

:host([resize=horizontal]) {
  --r-textarea--input--resize: horizontal;
}

:host([resize=vertical]) {
  --r-textarea--input--resize: vertical;
}

:host([resize=initial]) {
  --r-textarea--input--resize: initial;
}

:host([resize=inherit]) {
  --r-textarea--input--resize: inherit;
}

:host([disabled]:not([disabled=false])) {
  --r-textarea--input--cursor: not-allowed;
  --r-textarea--input--border-color: var(--r-border-soft, #686868);
}

:host([invalid]:not([invalid=false])) {
  --r-textarea--input--background-color: var(--r-status-error-soft, #fef6f6);
  --r-textarea--input--border-color: var(--r-status-error-regular, #b00c15);
}

:host([data-hover=true]) {
  --r-textarea--input--background-color: var(--r-background-state-hovered);
}

:host([data-focus=true]) {
  --r-textarea--input--box-shadow: 0 0 0 6px var(--r-border-focused-outlined, #fff);
  --r-textarea--input--outline: 2px solid var(--r-border-focused, #0071e3);
  --r-textarea--input--outline-offset: 2px;
}

:host([data-active=true]) {
  --r-textarea--input--background-color: var(--r-background-state-activated);
}

:host([readonly]:not([readonly=false])) {
  --r-textarea--readonly-icon--display: block;
  --r-textarea--readonly-icon--offset: 0.75em;
  --r-textarea--input--background-color: var(--r-background-softer, #f3f1f0);
  --r-textarea--input--border-color: transparent transparent var(--r-border-soft, #686868) transparent;
  --r-textarea--input--cursor: text;
}

.r-textarea--label-container {
  display: var(--r-textarea--label-container--display, flex);
  gap: var(--r-textarea--label-container--gap, var(--r-spacing-100, 1rem));
  align-items: var(--r-textarea--label-container--align-items, center);
  justify-content: var(--r-textarea--label-container--align-items, space-between);
}
.r-textarea--label-container ::slotted([slot=popover]) {
  display: var(--r-textarea--popover--display, inline-flex);
  height: var(--r-textarea--popover--height, var(--r-spacing-150, 1.5));
  align-items: var(--r-textarea--popover--align-items, center);
  justify-content: var(--r-textarea--popover--justify-content, center);
  margin-right: var(--r-textarea--popover--margin-right, -0.25rem);
  --r-popover--trigger--min-width: var(--r-textarea--popover-trigger--min-width, var(--r-spacing-150, 1.5));
}
.r-textarea--container {
  position: var(--r-textarea--container--position, relative);
  display: var(--r-textarea--container--display, flex);
  align-items: var(--r-textarea--container--align-items, start);
  overflow: var(--r-textarea--container--overflow, visible);
  width: var(--r-textarea--container--width, auto);
  min-width: var(--r-textarea--container--min-width, 12.5rem);
  max-width: var(--r-textarea--container--max-width, 100%);
  background-color: var(--r-textarea--container--background-color, transparent);
}
@media (hover: hover) {
  .r-textarea--container:hover:not([data-disabled=true]):not([data-readonly=true]) {
    --r-textarea--input--background-color: var(--r-background-state-hovered);
  }
}
.r-textarea--container:active:not([data-disabled=true]):not([data-readonly=true]) {
  --r-textarea--input--background-color: var(--r-background-state-activated);
}
.r-textarea--container:focus-within {
  --r-textarea--input--box-shadow: 0 0 0 6px var(--r-border-focused-outlined, #fff);
  --r-textarea--input--outline: 2px solid var(--r-border-focused, #0071e3);
  --r-textarea--input--outline-offset: 2px;
}
.r-textarea--input::placeholder {
  color: var(--r-textarea--input--placeholder--color, var(--r-text-soft, #686868));
}
.r-textarea--input {
  vertical-align: top;
  width: var(--r-textarea--input--width, 100%);
  max-width: var(--r-textarea--input--max-width, 100%);
  min-height: var(--r-textarea--input--min-height, 8.875em);
  font-family: var(--r-textarea--input--font-family, var(--r-font-family-text, system-ui));
  font-weight: var(--r-textarea--input--font-weight, var(--r-font-weight-regular, 400));
  font-size: var(--r-textarea--input--font-size, var(--r-font-size-400, 1rem));
  line-height: var(--r-textarea--input--line-height, var(--r-line-height-m, 1.5));
  color: var(--r-textarea--input--color, var(--r-text-regular, #282828));
  background-color: var(--r-textarea--input--background-color, var(--r-background-softest, #f7f7f7));
  opacity: var(--r-textarea--input--opacity, 1);
  border-width: var(--r-textarea--input--border-width, 1px);
  border-style: var(--r-textarea--input--border-style, solid);
  border-color: var(--r-textarea--input--border-color, var(--r-border-soft, #686868));
  border-radius: var(--r-textarea--input--border-radius, 0);
  box-sizing: var(--r-textarea--input--box-sizing, border-box);
  box-shadow: var(--r-textarea--input--box-shadow, none);
  padding: var(--r-textarea--input--padding, var(--r-textarea--input--padding-top, 0.688em) var(--r-textarea--input--padding-right, 0.625em) var(--r-textarea--input--padding-bottom, 0.688em) var(--r-textarea--input--padding-left, 0.625em));
  margin-top: var(--r-textarea--input--margin-top, var(--r-spacing-025, 0.25rem));
  resize: var(--r-textarea--input--resize, both);
  position: var(--r-textarea--input--position, relative);
  z-index: var(--r-textarea--input--z-index, inherit);
  outline: var(--r-textarea--input--outline, none);
  outline-offset: var(--r-textarea--input--outline-offset, none);
  pointer-events: var(--r-textarea--input--pointer-events, auto);
  cursor: var(--r-textarea--input--cursor, inherit);
}
.r-textarea--readonly-icon {
  display: var(--r-textarea--readonly-icon--display, none);
  position: var(--r-textarea--readonly-icon--position, absolute);
  z-index: var(--r-textarea--readonly-icon--z-index, 1);
  top: var(--r-textarea--readonly-icon--top, var(--r-textarea--readonly-icon--offset, 0));
  right: var(--r-textarea--readonly-icon--right, var(--r-textarea--readonly-icon--offset, 0));
  color: var(--r-textarea--readonly-icon--color, var(--r-icon-soft, #686868));
}
.r-textarea--messages {
  display: flex;
  gap: var(--r-textarea--messages--gap, var(--r-spacing-025, 0.25rem));
}
.r-textarea--messages--counter {
  margin-left: auto;
}
.r-textarea--messages:has(r-hint) {
  margin-top: var(--r-spacing-025, 0.25rem);
}

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