@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;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: none;
}

@media (prefers-reduced-motion) {
  :host {
    animation: none;
  }
}
:host([size=small]) {
  --r-image--size-base: 6rem;
  --r-image--size-max: 12.5rem;
}

:host([size=medium]) {
  --r-image--size-base: 13rem;
  --r-image--size-max: 20.5rem;
}

:host([size=large]) {
  --r-image--size-base: 21rem;
  --r-image--size-max: 30rem;
}

:host([size]) {
  width: 100%;
  max-width: var(--r-image--size-base);
  aspect-ratio: 1/1;
}

:host([size=custom]) {
  width: 100%;
  max-width: var(--r-image--width, 13rem);
  height: auto;
  max-height: var(--r-image--height, 13rem);
  aspect-ratio: auto;
}

:host([width]) {
  width: min(100%, clamp(var(--r-image--size-base), var(--r-image--width, 100%), var(--r-image--size-max)));
  max-width: min(100%, var(--r-image--size-max));
}

:host([height]) {
  height: min(100%, clamp(var(--r-image--size-base), var(--r-image--height, auto), var(--r-image--size-max)));
  max-width: fit-content;
}

:host([width][height]) {
  aspect-ratio: auto;
}

:host([data-loading=true]),
:host([data-error=true]) {
  background-color: var(--r-background-softer, var(--r-haze-200, #f3f1f0));
}

:host([data-loading=true]) {
  animation: 1.6s ease-in-out infinite skeleton-pulse;
}

@media (prefers-reduced-motion) {
  :host([data-loading=true]) {
    animation: none;
  }
}
@keyframes skeleton-pulse {
  0%, 100% {
    background-color: var(--r-background-softer, var(--r-haze-200, #f3f1f0));
  }
  50% {
    background-color: var(--r-background-soft, var(--r-haze-400, #e7e4e2));
  }
}
.r-image {
  width: min(100%, var(--r-image--width, 100%));
  height: min(100%, var(--r-image--height, 100%));
  max-width: 100%;
  max-height: 100%;
  object-fit: var(--r-image--object-fit, cover);
  object-position: var(--r-image--object-position, center);
}
.r-image[aria-busy=true] {
  visibility: var(--r-image--hidden--visibility, hidden);
}
.r-image--picture {
  display: var(--r-image--picture--display, contents);
}
.r-image--states {
  position: var(--r-image--states--position, absolute);
  top: var(--r-image--states--top, 50%);
  left: var(--r-image--states--left, 50%);
  transform: var(--r-image--states--transform, translate(-50%, -50%));
}
.r-image--loading-state {
  color: var(--r-image--error-state--color, var(--r-text-soft, #686868));
}
.r-image--error-state {
  display: var(--r-image--error-state--display, flex);
  flex-direction: var(--r-image--error-state--flex-direction, column);
  justify-content: var(--r-image--error-state--justify-content, center);
  align-items: var(--r-image--error-state--align-items, center);
  gap: var(--r-image--error-state--gap, var(--r-spacing-050, 0.5rem));
  color: var(--r-image--error-state--text--color, var(--r-text-soft, #686868));
}
.r-image--error-state--text {
  font-size: var(--r-image--error-state--text--font-size, var(--r-font-size-300, 0.875rem));
  font-weight: var(--r-image--error-state--text--font-weight, var(--r-font-weight-semibold, 600));
  font-family: var(--r-image--error-state--text--font-family, var(--r-font-family-text, system-ui));
}
.r-image--figure {
  position: relative;
  margin: var(--r-image--figure--margin, 0);
  padding: var(--r-image--figure--padding, 0);
  display: var(--r-image--figure--display, flex);
  flex-direction: var(--r-image--figure--flex-direction, column);
  width: var(--r-image--figure--width, 100%);
  height: var(--r-image--figure--height, 100%);
}
.r-image--caption {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.75rem;
  font-size: var(--r-image--caption--font-size, var(--r-font-size-200, 0.875rem));
  font-family: var(--r-image--caption--font-family, var(--r-font-family-text, system-ui));
  color: var(--r-image--caption--color, var(--r-text-soft, #686868));
  margin-top: var(--r-image--caption--margin-top, var(--r-spacing-050, 0.5rem));
  text-align: var(--r-image--caption--text-align, left);
  background-color: var(--r-image--caption--background-color, var(--r-background-softer, #F3F1F0));
}