@charset "UTF-8";
/**
* @prop --percentage-visualizer-color: defines the color of the percentage bar
*/
/**
* 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!
  */
*,
::before,
::after {
  box-sizing: border-box;
}

:host(limebb-percentage-visualizer) {
  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-percentage-visualizer[invalid]:not([invalid=false])) div[slot=content] {
  border-color: rgb(var(--color-red-default));
}
:host(limebb-percentage-visualizer):has(label) div[slot=content] {
  min-height: 2.5rem;
  padding: 0 0.375rem 0 1rem;
}

.percentage-text {
  flex-shrink: 0;
  min-width: 2.5rem;
}
:host([range-min^="-"]) .percentage-text {
  min-width: 3.75rem;
}

.percent-sign {
  opacity: 0.4;
}

.zero-point {
  content: "";
  position: absolute;
  transform: translateX(-50%);
  left: var(--limebb-percentage-visualizer-zero-point-position);
  height: 0.25rem;
  width: 0.25rem;
  border-radius: 50%;
  box-shadow: 0 0 0 0.125rem var(--limebb-percentage-visualizer-zero-point-color, rgb(var(--contrast-1200), 0.3));
  background-color: var(--limebb-percentage-visualizer-zero-point-color, rgb(var(--contrast-200), 0.9));
}

.percentage-bar {
  overflow: hidden;
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  height: 0.5rem;
  min-width: 2rem;
  border-radius: 0.5rem;
  background-color: rgb(var(--contrast-800), 0.6);
}

.percentage-fill {
  transition: width 0.2s ease;
  position: absolute;
  margin: auto;
  left: var(--limebb-percentage-visualizer-zero-point-position, 0);
  rotate: var(--limebb-percentage-visualizer-rotate, 0deg);
  transform-origin: left center;
  width: var(--limebb-percentage-visualizer-width);
  height: 100%;
  border-radius: 0.5rem;
}

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

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

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

.percentage-fill {
  background-color: var(--percentage-visualizer-color, var(--limebb-percentage-visualizer-color, var(--mdc-theme-primary)));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-200or-larger-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-red-darker));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-200to100-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-red-dark));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-100to90-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-red-dark));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-90to80-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-red-dark));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-80to70-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-red-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-70to60-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-red-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-60to50-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-coral-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-50to40-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-coral-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-40to30-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-orange-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-30to20-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-orange-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-20to10-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-amber-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-10to0-negative) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-amber-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-0) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--contrast-800));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-0to10-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-yellow-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-10to20-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-yellow-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-20to30-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-grass-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-30to40-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-grass-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-40to50-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-lime-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-50to60-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-lime-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-60to70-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-teal-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-70to80-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-teal-default));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-80to90-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-teal-dark));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-90to100-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-teal-dark));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-100to200-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-teal-dark));
}
:host([range-min^="-"][display-percentage-colors]:not([display-percentage-colors=false]).has-value-200or-larger-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-teal-darker));
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-0) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--contrast-800));
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-0to10-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--0to10);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-10to20-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--10to20);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-20to30-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--20to30);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-30to40-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--30to40);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-40to50-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--40to50);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-50to60-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--50to60);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-60to70-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--60to70);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-70to80-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--70to80);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-80to90-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--80to90);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-90to100-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: var(--color-percent--90to100);
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-100to200-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-teal-dark));
}
:host([display-percentage-colors]:not([display-percentage-colors=false]).has-value-200or-larger-positive) .percentage-fill {
  --limebb-percentage-visualizer-color: rgb(var(--color-teal-darker));
}