@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 (lightmode) background-overlay */
/** Used for (lightmode) background-overlay */
/** Used for (lightmode) background-overlay */
/** 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 */
/**
* Semantic Color Tokens - Light
*/
/** 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. */
/** 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 in soft 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 serve decoration and function, adding color */
/** 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 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 decorative, large texts only (from font size 24) to use above backgrounds with brand color Examples: Onboarding screen Riverty App */
/** 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 */
/**
* Semantic Color Tokens - Dark
*/
/** 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. */
/** 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 in soft 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 serve decoration and function, adding color */
/** 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 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 decorative, large texts only (from font size 24) to use above backgrounds with brand color Examples: Onboarding screen Riverty App */
/** 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 */
: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;
  position: relative;
  overflow: visible;
  font-family: var(--r-font-family-text, system-ui);
  font-weight: var(--r-font-weight-regular, 400);
  font-size: var(--r-font-size-400, 1rem);
  text-align: left;
}
:host slot {
  display: contents;
}
:host {
  --board--shift: 1rem;
  --board--min-width: 304px;
  --board--max-width: 504px;
  --board--max-height: 320px;
  --pointer--width: 1rem;
  --pointer--height: 0.5rem;
  --pointer--spacer: 0.25rem;
}

:host([data-open=true]) {
  --r-popover--pointer--display: block;
  --r-popover--board--visibility: visible;
  --r-popover--board--left: var(--r-popover--trigger--left);
  --r-popover--board--top: var(--r-popover--trigger--top);
}
:host([data-open=true]) ::slotted([slot=trigger]) {
  --r-popover--trigger--display: none;
}

:host([data-vertical=top]) {
  --r-popover--pointer--top: 100%;
  --r-popover--pointer--transform: rotate(0deg) translate(0,-1px);
}

:host([data-vertical=bottom]) {
  --r-popover--pointer--bottom: 100%;
  --r-popover--pointer--transform: rotate(180deg);
}

:host([data-vertical=middle]) {
  --r-popover--pointer--top: calc(50% - var(--pointer--height)/2);
  --r-popover--pointer--bottom: auto;
}

:host([data-horizontal=left]) {
  --r-popover--board--left: calc(var(--r-popover--trigger--left, 0) + var(--r-popover--trigger--width, 0) + var(--board--shift));
  --r-popover--pointer--left: calc(100% - var(--r-popover--trigger--width, 0)/2 - var(--board--shift) - var(--pointer--width)/2);
}

:host([data-horizontal=right]) {
  --r-popover--pointer--left: calc(var(--r-popover--trigger--width, 0)/2 + var(--pointer--width)/2);
}

:host([data-horizontal=center]) {
  --r-popover--pointer--left: calc(50% - var(--pointer--width)/2);
}

:host([data-vertical=top][data-horizontal=left]) {
  --r-popover--board--transform: translate(-100%, calc(-100% - var(--pointer--spacer) - var(--r-popover--pointer--height, var(--pointer--height))));
}

:host([data-vertical=top][data-horizontal=right]) {
  --r-popover--board--transform: translate(calc(0px - var(--board--shift)), calc(-100% - var(--pointer--spacer) - var(--r-popover--pointer--height, var(--pointer--height))));
}

:host([data-vertical=top][data-horizontal=center]) {
  --r-popover--board--transform: translate(calc(-50% + var(--r-popover--trigger--width, 0)/2), calc(-100% - var(--pointer--spacer) - var(--r-popover--pointer--height, var(--pointer--height))));
}

:host([data-vertical=top][data-horizontal=cover]) {
  --r-popover--pointer--left: calc(var(--r-popover--trigger--left, 0) + var(--r-popover--trigger--width, 0)/2 - var(--r-popover--pointer--width, var(--pointer--width))/2);
  --r-popover--board--left: 0;
  --r-popover--board--transform: translate(0, calc(-100% - var(--r-popover--pointer--height, var(--pointer--height))));
}

:host([data-vertical=middle][data-horizontal=left]) {
  --r-popover--board--left: var(--r-popover--trigger--left, 0);
  --r-popover--board--transform: translate(calc(-100% - var(--pointer--height) - var(--pointer--spacer)), calc(-50% + var(--r-popover--trigger--height, 0)/2));
  --r-popover--pointer--left: 100%;
  --r-popover--pointer--right: auto;
  --r-popover--pointer--transform: rotate(-90deg) translate(0, calc(0px - var(--pointer--spacer)));
}

:host([data-vertical=middle][data-horizontal=right]) {
  --r-popover--board--left: calc(var(--r-popover--trigger--left, 0) + var(--r-popover--trigger--width, 0) + var(--pointer--height) + var(--pointer--spacer));
  --r-popover--board--transform: translate(0, calc(-50% + var(--r-popover--trigger--height, 0)/2));
  --r-popover--pointer--top: calc(50% - var(--pointer--height)/2);
  --r-popover--pointer--left: auto;
  --r-popover--pointer--right: 100%;
  --r-popover--pointer--transform: rotate(90deg) translate(0, calc(0px - var(--pointer--spacer)));
}

:host([data-vertical=middle][data-horizontal=center]) {
  --r-popover--pointer--display: none;
  --r-popover--board--transform: translate(calc(-50% + var(--r-popover--trigger--width, 0)/2), calc(-50% + var(--r-popover--trigger--height, 0)/2));
}

:host([data-vertical=middle][data-horizontal=cover]) {
  --r-popover--pointer--display: none;
  --r-popover--board--left: 0;
  --r-popover--board--transform: translate(0, calc(-50% + var(--r-popover--trigger--height, 0)/2));
}

:host([data-vertical=bottom][data-horizontal=left]) {
  --r-popover--board--transform: translate(-100%, calc(var(--r-popover--trigger--height, 0) + var(--pointer--spacer) + var(--r-popover--pointer--height, var(--pointer--height))));
}

:host([data-vertical=bottom][data-horizontal=right]) {
  --r-popover--board--transform: translate(calc(0px - var(--board--shift)), calc(var(--r-popover--trigger--height, 0) + var(--r-popover--pointer--height, var(--pointer--height)) + var(--pointer--spacer)));
}

:host([data-vertical=bottom][data-horizontal=center]) {
  --r-popover--board--transform: translate(calc(-50% + var(--r-popover--trigger--width, 0)/2), calc(var(--r-popover--trigger--height, 0) + var(--pointer--spacer) + var(--r-popover--pointer--height, var(--pointer--height))));
}

:host([data-vertical=bottom][data-horizontal=cover]) {
  --r-popover--pointer--left: calc(var(--r-popover--trigger--left, 0) + var(--r-popover--trigger--width, 0)/2 - var(--r-popover--pointer--width, var(--pointer--width))/2);
  --r-popover--board--left: 0;
  --r-popover--board--transform: translate(0, calc(var(--r-popover--trigger--height, 0) + var(--r-popover--pointer--height, var(--pointer--height))));
}

:host([data-vertical=cover]) {
  --r-popover--board--top: 0;
  --r-popover--board--height: 100%;
  --r-popover--board-content--height: 100%;
  --r-popover--pointer--top: calc(var(--r-popover--trigger--top, 0) + var(--r-popover--trigger--height)/2 - var(--pointer--height)/2);
  --r-popover--pointer--bottom: auto;
}

:host([data-vertical=cover][data-content-has-scroll=false]) {
  --r-popover--board--top: var(--r-popover--trigger--top, 0);
}

:host([data-vertical=cover][data-horizontal=left]) {
  --r-popover--board--left: var(--r-popover--trigger--left, 0);
  --r-popover--board--transform: translate(calc(-100% - var(--pointer--spacer) - var(--pointer--height)), 0);
  --r-popover--pointer--left: 100%;
  --r-popover--pointer--right: auto;
  --r-popover--pointer--transform: rotate(-90deg) translate(0, calc(0px - var(--pointer--spacer)));
}

:host([data-vertical=cover][data-horizontal=right]) {
  --r-popover--board--left: calc(var(--r-popover--trigger--left, 0) + var(--r-popover--trigger--width, 0) + var(--pointer--width));
  --r-popover--pointer--left: auto;
  --r-popover--pointer--right: 100%;
  --r-popover--pointer--transform: rotate(90deg) translate(0, calc(0px - var(--pointer--spacer)));
}

:host([data-vertical=cover][data-horizontal=center]),
:host([data-vertical=cover][data-horizontal=cover]) {
  --r-popover--pointer--display: none;
  --r-popover--board--transform: translate(calc(-50% + var(--r-popover--trigger--width, 0)/2), 0);
}

:host([data-vertical=cover][data-horizontal=cover]) {
  --r-popover--pointer--display: none;
  --r-popover--board--transform: none;
  --r-popover--board--height: 100%;
  --r-popover--board--border-radius: var(--r-popover--border-radius, var(--r-radius-s));
  --r-popover--board--width: 100%;
  --r-popover--board--left: 0;
}

:host([data-fixed-top=true]) {
  --r-popover--board-container--height: var(--r-popover--trigger--top, var(--board--max-height));
}

:host([dismiss-mode=manual]) {
  --r-popover--board-content--padding: 1.5rem 3.5rem 1.5rem 1.5rem;
}

.r-popover {
  position: var(--r-popover--position, relative);
  display: var(--r-popover--display, inline-flex);
}
.r-popover--dismiss {
  position: var(--r-popover--dismiss--position, absolute);
  top: var(--r-popover--dismiss--top, 20px);
  right: var(--r-popover--dismiss--right, 20px);
  color: var(--r-text-inverse);
}
@media (hover: hover) {
  .r-popover--dismiss:hover {
    --r-icon-button--background-color: var(--r-background-state-hovered-inverse);
  }
}
.r-popover--dismiss:active {
  --r-icon-button--background-color: var(--r-background-state-activated-inverse);
}
.r-popover--trigger {
  border: var(--r-popover--trigger--border, none);
  background: var(--r-popover--trigger--background, none);
  padding: var(--r-popover--trigger--padding, 0);
  cursor: var(--r-popover--trigger--cursor, pointer);
  display: var(--r-popover--trigger--display, inline-flex);
  align-items: var(--r-popover--trigger--align-items, center);
  justify-content: var(--r-popover--trigger--justify-content, center);
  min-width: var(--r-popover--trigger--min-width, unset);
  min-height: var(--r-popover--trigger--min-height, unset);
}
.r-popover--trigger:focus {
  box-shadow: 0 0 0 6px var(--r-border-focused-outlined);
  outline: 2px solid var(--r-border-focused);
  outline-offset: 2px;
}
.r-popover--board {
  position: var(--r-popover--board--position, fixed);
  top: var(--r-popover--board--top, -1000em);
  right: var(--r-popover--board--right, auto);
  bottom: var(--r-popover--board--bottom, auto);
  left: var(--r-popover--board--left, -1000em);
  visibility: var(--r-popover--board--visibility, hidden);
  width: var(--r-popover--board--width, 100%);
  min-width: var(--board--min-width);
  max-width: var(--board--max-width);
  height: var(--r-popover--board--height, auto);
  max-height: var(--r-popover--board--max-height, var(--board--max-height));
  background-color: var(--r-popover--board--background-color, var(--r-background-inverse));
  border-radius: var(--r-popover--board--border-radius, var(--r-radius-s));
  color: var(--r-popover--board--color, var(--r-text-inverse));
  border: var(--r-popover--board--border, none);
  box-shadow: var(--r-popover--board--box-shadow, var(--r-shadow-floating));
  transform: var(--r-popover--board--transform, none);
  box-sizing: var(--r-popover--board--box-sizing, border-box);
  padding: var(--r-popover--board--padding, 0);
  margin: var(--r-popover--board--margin, 0);
  overflow: var(--r-popover--board--overflow, visible);
}
.r-popover--board-content {
  display: var(--r-popover--board-content--display, flex);
  flex-direction: var(--r-popover--board-content--flex-direction, column);
  gap: var(--r-popover--board-content--gap, 1.5rem);
  overflow: var(--r-popover--board-content--overflow, auto);
  height: var(--r-popover--board-content--height, auto);
  max-height: var(--r-popover--board-content--max-height, var(--board--max-height));
  padding: var(--r-popover--board-content--padding, 1.5rem);
  box-sizing: var(--r-popover--board-content--box-sizing, border-box);
}
.r-popover--board-pointer {
  display: var(--r-popover--pointer--display, flex);
  width: var(--r-popover--pointer--width, var(--pointer--width));
  height: var(--r-popover--pointer--height, var(--pointer--height));
  position: var(--r-popover--pointer--position, absolute);
  top: var(--r-popover--pointer--top, auto);
  right: var(--r-popover--pointer--right, auto);
  bottom: var(--r-popover--pointer--bottom, auto);
  left: var(--r-popover--pointer--left, auto);
  color: var(--r-popover--pointer--color, var(--r-background-inverse));
  transform: var(--r-popover--pointer--transform, none);
  transform-origin: var(--r-popover--pointer--transform-origin, center);
}
.r-popover--board-pointer > svg {
  display: flex;
}