@charset "UTF-8";
/**
* Root-level entry point for consuming @limetech/lime-elements SCSS utilities.
*
* This file enables the clean import path:
* `@use '@limetech/lime-elements' as lime-elements;`
*
* It simply forwards everything from the built exports file.
*/
/**
* Public SCSS exports for consumers of @limetech/lime-elements.
*
* This file provides reusable styling utilities.
*
* Import this file using:
* `@use '@limetech/lime-elements' as lime-elements;`
*
* For detailed documentation of each utility, its parameters,
* and usage examples, refer to the respective source files.
*/
/**
* Note! This file is forwarded via `src/style/exports.scss`
* and exposed to consumers through the root `index.scss`.
*
* Consumers import it using:
* `@use '@limetech/lime-elements' as lime-elements;`
*
* Legacy import paths (`dist/scss/mixins`) are maintained
* for backward compatibility via copy rules in the Stencil config.
*/
/**
* Neutralizes the user-agent styles that browsers apply to `<button>` elements
* (their default background, border, padding, font, etc.), without stripping
* the useful defaults that `all: unset;` would also remove
* (such as `display`, `cursor`, and focus behavior).
*
* Prefer this mixin over `all: unset;` on `<button>` elements, then layer
* the styling you want on top — often one of the `is-*-clickable` mixins.
*/
/**
* This can be used on a trigger element that opens a dropdown menu or a popover.
*/
/**
 * This mixin will mask out the content that is close to
 * the edges of a scrollable area.
 * - If the scrollable content has `overflow-y`, use `vertically`
 * as an argument for `$direction`.
 - If the scrollable content has `overflow-x`, use `horizontally`
 * as an argument for `$direction`.
 *
 * For the visual effect to work smoothly, we need to make sure that
 * the size of the fade-out edge effect is the same as the
 * internal paddings of the scrollable area. Otherwise, content of a
 * scrollable area that does not have a padding will fade out before
 * any scrolling has been done.
 * This is why this mixin already adds paddings, which automatically
 * default to the size of the fade-out effect.
 * This size defaults to `1rem`, but to override the size use
 * `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
 * when `vertically` argument is set, and use
 * `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
 * when `horizontally` argument is set.
 * Of course you can also programmatically increase and decrease the
 * size of these variables for each edge, based on the amount of
 * scrolling that has been done by the user. In this case, make sure
 * to add a custom padding where the mixin is used, to override
 * the paddings that are automatically added by the mixin in the
 * compiled CSS code.
 */
/**
* This mixin will add an animated underline to the bottom of an `a` elements.
* Note that you may need to add `all: unset;` –depending on your use case–
* before using this mixin.
*/
/**
* This mixin creates a cross-browser font stack.
* - `sans-serif` can be used for the UI of the components.
* - `monospace` can be used for code.
*
* ⚠️ If we change the font stacks, we need to update
* 1. the consumer documentation in `README.md`, and
* 2. the CSS variables of `--kompendium-example-font-family`
* in the `<style>` tag of `index.html`.
*/
/**
* This mixin is a hack, using old CSS syntax
* to enable you to truncate a piece of text,
* after a certain number of lines.
*/
/**
* This mixin will add a chessboard background pattern,
* typically used to visualize transparency.
*/
/**
* Make a container resizable by the user.
* This is used in the documentations and examples
* of some components, to demonstrate how the component
* behaves in a resizable container.
*/
/**
 * Drag to reorder mixins
 */
/**
 * The breakpoints below are used to create responsive designs
 * in Lime's products. Therefore, they are here to get distributed
 * to all components in other private repos, which rely on this `mixins`
 * file, to create consistent styles.
 *
 * :::important
 * In very rare cases you should used media queries!
 * Nowadays, there are many better ways of achieving responsive design
 * without media queries. For example, using CSS Grid, Flexbox, and their features.
 * :::
 */
/**
  * Media query mixins for responsive design based on screen width.
  * Note that these mixins do not detect the device type!
  */
* {
  box-sizing: border-box;
}

:host(limebb-trend-indicator) {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}

limel-notched-outline:not([invalid]:not([invalid=false])) .limel-notched-outline--outlines {
  --limel-notched-outline-border-color: transparent;
}

div[slot=content] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: inherit;
  background-color: transparent !important;
}
div[slot=content]:focus {
  outline: none;
}
div[slot=content]:focus-visible {
  outline: none;
  box-shadow: var(--shadow-depth-8-focused);
}
:host(limebb-trend-indicator):has(label) div[slot=content] {
  min-height: 2.5rem;
  padding: 0 0.375rem 0 1rem;
}
:host(limebb-trend-indicator[former-value]) div[slot=content] {
  cursor: help;
}
div[slot=content] span {
  flex-shrink: 0;
}

.icon {
  flex-shrink: 0;
  display: flex;
  transition-property: color, background-color, transform;
  transition-duration: 0.4s;
  transition-timing-function: ease;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  padding: 0.12rem;
  color: rgb(var(--color-white));
  background-color: rgb(var(--color-gray-default), 0.5);
}
:host(.has-value-40to30-negative) .icon {
  color: rgb(var(--color-gray-darker));
}
:host(.has-value-30to20-negative) .icon {
  color: rgb(var(--color-gray-darker));
}
:host(.has-value-20to10-negative) .icon {
  color: rgb(var(--color-gray-darker));
}
:host(.has-value-10to0-negative) .icon {
  color: rgb(var(--color-gray-darker));
}
:host(.has-value-0to10-positive) .icon {
  color: rgb(var(--color-gray-dark));
}
:host(.has-value-10to20-positive) .icon {
  color: rgb(var(--color-gray-dark));
}
:host(.has-value-20to30-positive) .icon {
  color: rgb(var(--color-gray-dark));
}
:host(.has-value-30to40-positive) .icon {
  color: rgb(var(--color-gray-dark));
}
:host(.has-value-200or-larger-negative) .icon {
  background-color: rgb(var(--color-red-darker));
  transform: rotate(90deg);
}
:host(.has-value-200to100-negative) .icon {
  background-color: rgb(var(--color-red-dark));
  transform: rotate(90deg);
}
:host(.has-value-100to90-negative) .icon {
  background-color: rgb(var(--color-red-dark));
  transform: rotate(90deg);
}
:host(.has-value-90to80-negative) .icon {
  background-color: rgb(var(--color-red-dark));
  transform: rotate(81deg);
}
:host(.has-value-80to70-negative) .icon {
  background-color: rgb(var(--color-red-default));
  transform: rotate(72deg);
}
:host(.has-value-70to60-negative) .icon {
  background-color: rgb(var(--color-red-default));
  transform: rotate(63deg);
}
:host(.has-value-60to50-negative) .icon {
  background-color: rgb(var(--color-coral-default));
  transform: rotate(54deg);
}
:host(.has-value-50to40-negative) .icon {
  background-color: rgb(var(--color-coral-default));
  transform: rotate(45deg);
}
:host(.has-value-40to30-negative) .icon {
  background-color: rgb(var(--color-orange-default));
  transform: rotate(36deg);
}
:host(.has-value-30to20-negative) .icon {
  background-color: rgb(var(--color-orange-default));
  transform: rotate(27deg);
}
:host(.has-value-20to10-negative) .icon {
  background-color: rgb(var(--color-amber-default));
  transform: rotate(18deg);
}
:host(.has-value-10to0-negative) .icon {
  background-color: rgb(var(--color-amber-default));
  transform: rotate(9deg);
}
:host(.has-value-0) .icon {
  background-color: rgb(var(--color-gray-default));
  transform: rotate(0deg);
}
:host(.has-value-0to10-positive) .icon {
  background-color: rgb(var(--color-yellow-default));
  transform: rotate(-9deg);
}
:host(.has-value-10to20-positive) .icon {
  background-color: rgb(var(--color-yellow-default));
  transform: rotate(-18deg);
}
:host(.has-value-20to30-positive) .icon {
  background-color: rgb(var(--color-grass-default));
  transform: rotate(-27deg);
}
:host(.has-value-30to40-positive) .icon {
  background-color: rgb(var(--color-grass-default));
  transform: rotate(-36deg);
}
:host(.has-value-40to50-positive) .icon {
  background-color: rgb(var(--color-lime-default));
  transform: rotate(-45deg);
}
:host(.has-value-50to60-positive) .icon {
  background-color: rgb(var(--color-lime-default));
  transform: rotate(-54deg);
}
:host(.has-value-60to70-positive) .icon {
  background-color: rgb(var(--color-teal-default));
  transform: rotate(-63deg);
}
:host(.has-value-70to80-positive) .icon {
  background-color: rgb(var(--color-teal-default));
  transform: rotate(-72deg);
}
:host(.has-value-80to90-positive) .icon {
  background-color: rgb(var(--color-teal-dark));
  transform: rotate(-81deg);
}
:host(.has-value-90to100-positive) .icon {
  background-color: rgb(var(--color-teal-dark));
  transform: rotate(-90deg);
}
:host(.has-value-100to200-positive) .icon {
  background-color: rgb(var(--color-teal-dark));
  transform: rotate(-90deg);
}
:host(.has-value-200or-larger-positive) .icon {
  background-color: rgb(var(--color-teal-darker));
  transform: rotate(-90deg);
}

:host(.has-value-0) .icon {
  background-color: rgb(var(--color-gray-default), 0.5);
  transform: rotate(0deg);
}
:host(.has-value-0) .icon polyline {
  color: transparent;
}
:host(.has-value-200or-larger-negative) .icon:after, :host(.has-value-200or-larger-negative) .icon:before, :host(.has-value-200to100-negative) .icon:after, :host(.has-value-200to100-negative) .icon:before, :host(.has-value-100to200-positive) .icon:after, :host(.has-value-100to200-positive) .icon:before, :host(.has-value-200or-larger-positive) .icon:after, :host(.has-value-200or-larger-positive) .icon:before {
  transition: border-color 0.6s ease;
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px solid transparent;
  border-radius: 50%;
}
:host(.has-value-200or-larger-negative) .icon:before, :host(.has-value-200to100-negative) .icon:before, :host(.has-value-100to200-positive) .icon:before, :host(.has-value-200or-larger-positive) .icon:before {
  transform: scale(1.2);
}
:host(.has-value-200or-larger-negative) .icon:after, :host(.has-value-200to100-negative) .icon:after, :host(.has-value-100to200-positive) .icon:after, :host(.has-value-200or-larger-positive) .icon:after {
  transform: scale(1.4);
  opacity: 0.4;
}
:host(.has-value-200to100-negative) .icon:before, :host(.has-value-200or-larger-negative) .icon:before {
  border-color: rgb(var(--color-red-dark));
}
:host(.has-value-200or-larger-negative) .icon:after {
  border-color: rgb(var(--color-red-darker));
}
:host(.has-value-100to200-positive) .icon:before, :host(.has-value-200or-larger-positive) .icon:before {
  border-color: rgb(var(--color-teal-dark));
}
:host(.has-value-200or-larger-positive) .icon:after {
  border-color: rgb(var(--color-teal-darker));
}

.no-value {
  transform: translateY(0.5rem);
}

.growth-unit {
  padding-left: 0.5rem;
  opacity: 0.5;
}

:host(limebb-trend-indicator:focus),
:host(limebb-trend-indicator:focus-visible),
:host(limebb-trend-indicator:focus-within) {
  --limel-h-l-grid-template-rows-transition-speed: 0.46s;
  --limel-h-l-grid-template-rows: 1fr;
}

:host(limebb-trend-indicator) {
  --limel-h-l-grid-template-rows-transition-speed: 0.3s;
  --limel-h-l-grid-template-rows: 0fr;
}

:host(limebb-trend-indicator:focus) limel-helper-line,
:host(limebb-trend-indicator:focus-visible) limel-helper-line,
:host(limebb-trend-indicator:focus-within) limel-helper-line,
:host(limebb-trend-indicator:hover) limel-helper-line {
  will-change: grid-template-rows;
}