@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!
  */
/**
* @mixin action-bar-interactions($item-selector)
* This mixin applies styles for the action bar interactions.
* For example, it animates the height of the action bar from `0` to `auto`.
*
* :::note
* The consumer should set:
* `--limebb-promoted-action-bar-grid-template-rows: 0fr;`
* when the action bar is not supposed to be visible.
* :::
*
* @param {string} $item-selector - The consumer component's tag name for the item that displays the action bar.
*/
limel-action-bar {
  --action-bar-item-height: 1.75rem;
  transition: opacity 0.2s ease;
  justify-content: flex-start;
  opacity: 0.8;
}

.action-bar {
  display: grid;
  transition: grid-template-rows var(--limebb-promoted-action-bar-grid-template-rows-transition-speed, 0.2s) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-promoted-action-bar-grid-template-rows-transition-delay, 0s);
  grid-template-rows: var(--limebb-promoted-action-bar-grid-template-rows, 1fr);
}

.action-bar-hider {
  overflow: hidden;
}

limel-action-bar {
  transition: padding var(--limebb-promoted-action-bar-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89) var(--limebb-promoted-action-bar-grid-template-rows-transition-delay);
  padding-top: 0;
  padding-bottom: 0.75rem;
}

:host(limebb-feed-timeline-item:hover) .action-bar,
:host(limebb-feed-timeline-item:focus-within) .action-bar,
:host(limebb-feed-timeline-item:focus-visible) .action-bar {
  --limebb-promoted-action-bar-grid-template-rows: 1fr;
  will-change: grid-template-rows;
}
:host(limebb-feed-timeline-item:hover) limel-action-bar,
:host(limebb-feed-timeline-item:focus-within) limel-action-bar,
:host(limebb-feed-timeline-item:focus-visible) limel-action-bar {
  will-change: opacity;
  opacity: 1;
}

:host(limebb-feed-timeline-item:hover),
:host(limebb-feed-timeline-item:focus-within) {
  --limebb-promoted-action-bar-grid-template-rows-transition-speed: 0.46s;
  --limebb-promoted-action-bar-grid-template-rows-transition-delay: 0.7s;
}

:host(limebb-feed-timeline-item.is-tall) .markdown-container {
  margin-bottom: 0.5rem;
}
:host(limebb-feed-timeline-item.is-tall) .body-text {
  --body-text-min-height-set-by-code: 10rem;
  min-height: calc(var(--body-text-min-height-set-by-code) + 0.25rem);
}
:host(limebb-feed-timeline-item.is-tall) .body-text:after {
  transition: opacity 0.6s ease;
  content: "";
  opacity: 0.26;
  pointer-events: none;
  position: absolute;
  bottom: -0.125rem;
  right: -0.125rem;
  left: -0.125rem;
  height: 2.5rem;
  background: radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0)) 0 100%, linear-gradient(to bottom, rgb(var(--limebb-feed-item-background-color), 0) 0%, rgb(var(--limebb-feed-item-background-color), 90%) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.5rem, 100% 100%;
}

:host(limebb-feed-timeline-item.is-tall.shows-less) .markdown-container {
  grid-template-rows: 0fr;
}
:host(limebb-feed-timeline-item.is-tall.shows-less) .body-text:after {
  opacity: 1;
}

:host(limebb-feed-timeline-item.is-tall.shows-more) .markdown-container {
  grid-template-rows: 1fr;
}
:host(limebb-feed-timeline-item.is-tall.shows-more) #show-more-button limel-icon {
  rotate: 180deg;
}

.markdown-container {
  position: relative;
  display: grid;
}
.markdown-container:not(.opened) {
  transition: grid-template-rows min(var(--body-text-height) * 1.2ms, 500ms) cubic-bezier(1, 0.09, 0, 0.89);
}

.body-text {
  display: block;
  overflow: hidden;
}

button#show-more-button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
  cursor: pointer;
  color: var(--limel-theme-on-surface-color);
  background-color: var(--lime-elevated-surface-background-color);
  box-shadow: var(--button-shadow-normal);
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: -0.6rem;
  left: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3rem;
  width: 2rem;
  height: 1rem;
}
button#show-more-button:hover, button#show-more-button:focus, button#show-more-button:focus-visible {
  will-change: color, background-color, box-shadow, transform;
}
button#show-more-button:hover, button#show-more-button:focus-visible {
  transform: translate3d(0, -0.04rem, 0);
  color: var(--limel-theme-on-surface-color);
  background-color: var(--lime-elevated-surface-background-color);
  box-shadow: var(--button-shadow-hovered);
}
button#show-more-button:active {
  --limel-clickable-transform-timing-function: cubic-bezier(
      0.83,
      -0.15,
      0.49,
      1.16
  );
  transform: translate3d(0, 0.05rem, 0);
  box-shadow: var(--button-shadow-pressed);
}
button#show-more-button:hover, button#show-more-button:active {
  --limel-clickable-transition-speed: 0.2s;
  --limel-clickable-transform-speed: 0.16s;
}
button#show-more-button:focus {
  outline: none;
}
button#show-more-button:focus-visible {
  outline: none;
  box-shadow: var(--shadow-depth-8-focused);
}
button#show-more-button limel-icon {
  transition: rotate 0.2s ease 0.5s;
  color: var(--mdc-theme-primary);
  width: 0.75rem;
}

:host(limebb-feed-timeline-item[ui=standard]) .content {
  background-color: rgb(var(--limebb-feed-item-background-color));
}

:host(limebb-feed-timeline-item[ui=emphasized]) .content {
  border: 1px dashed rgb(var(--contrast-800));
}

:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown {
  --markdown-hyperlink-color: rgb(var(--contrast-900));
}
:host(limebb-feed-timeline-item[ui=minimal]) limel-markdown:hover {
  --markdown-hyperlink-color: rgb(var(--color-blue-default));
}
:host(limebb-feed-timeline-item[ui=minimal]) a.author {
  color: rgb(var(--contrast-900));
}
:host(limebb-feed-timeline-item[ui=minimal]) .header:hover a.author {
  color: rgb(var(--color-blue-default));
}
:host(limebb-feed-timeline-item[ui=minimal]) .icon {
  color: rgb(var(--contrast-900)) !important;
}
:host(limebb-feed-timeline-item[ui=minimal]) .body-text {
  color: rgb(var(--contrast-900));
}
:host(limebb-feed-timeline-item[ui=minimal]) .body-text:hover {
  color: rgb(var(--contrast-1100));
}

:host(limebb-feed-timeline-item[ui=thread-message]) {
  padding: 0.25rem 0;
}
:host(limebb-feed-timeline-item[ui=thread-message]) .content {
  border-radius: 0;
  box-shadow: var(--button-shadow-normal);
  margin-bottom: 0.25rem;
  background-color: var(--lime-elevated-surface-background-color);
}
:host(limebb-feed-timeline-item[ui=thread-message]) .header {
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
}
:host(limebb-feed-timeline-item[ui=thread-message]) .header:before {
  content: "";
  position: absolute;
  top: calc(var(--limebb-feed-item-paddings) * -1 + 0.25rem);
  left: calc(var(--limebb-feed-item-paddings) * -1);
  right: calc(var(--limebb-feed-item-paddings) * -1);
  bottom: 0;
  pointer-events: none;
  border-bottom: 1px dashed rgb(var(--contrast-600));
}
:host(limebb-feed-timeline-item[ui=thread-message]) .thread-effects {
  transition: transform 0.2s ease;
  pointer-events: none;
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: var(--button-shadow-normal);
  transform: translate3d(-0.225rem, -0.125rem, 0) rotate(0.5deg);
  background-color: rgb(var(--contrast-300));
}

:host(limebb-feed-timeline-item.is-tall[ui=thread-message]) .body-text {
  --body-text-min-height-set-by-code: 3rem;
  min-height: calc(var(--body-text-min-height-set-by-code) + 0.25rem);
  max-height: 35rem;
}

:host(limebb-feed-timeline-item.is-tall[ui=thread-message].shows-more) .body-text {
  overflow-y: auto;
}

:host(limebb-feed-timeline-item[ui=error-message]) .icon {
  color: rgb(var(--color-red-default));
}
:host(limebb-feed-timeline-item[ui=error-message]) .content {
  border: 1px dashed rgb(var(--color-red-light));
  background-color: rgb(var(--color-red-lighter), 0.2);
}

.content {
  position: relative;
}
.content:before, .content:after {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: -0.125rem;
  width: 0.25rem;
  border-radius: 0.25rem;
}
.content:before {
  background-color: var(--color-code);
}

:host(limebb-feed-timeline-item[ui=emphasized]) .content:before, :host(limebb-feed-timeline-item[ui=emphasized]) .content:after {
  left: calc(-0.125rem - 0.5px);
}

:host(limebb-feed-timeline-item[ui=minimal]) .content:before {
  opacity: 0.25;
}
:host(limebb-feed-timeline-item[ui=minimal]) .content:after {
  opacity: 0.5;
  background: repeating-linear-gradient(45deg, var(--color-code), var(--color-code) 0.5rem, transparent 0.5rem, transparent 1rem);
  background-size: 0.25rem 100%;
  background-repeat: repeat-y;
  background-position: left;
  rotate: 180deg;
}

:host(limebb-feed-timeline-item[ui=thread-message]) .content:before {
  top: 0.25rem;
  bottom: unset;
  height: 1.75rem;
}

* {
  box-sizing: border-box;
}

:host(limebb-feed-timeline-item) {
  --limebb-feed-item-paddings: 0.75rem;
  display: flex;
  gap: 0.75rem;
  position: relative;
  isolation: isolate;
  border-radius: 0.5rem;
}

:host(limebb-feed-timeline-item[is-bundled]:hover) {
  --limebb-feed-item-timestamp-opacity-delay: 0.5s;
}
:host(limebb-feed-timeline-item[is-bundled]:hover) .timestamp {
  opacity: 1;
}

:host(limebb-feed-timeline-item[is-bundled]) .timestamp {
  opacity: 0;
}

:host(limebb-feed-timeline-item:hover),
:host(limebb-feed-timeline-item:focus),
:host(limebb-feed-timeline-item:focus-within) {
  --limebb-feed-item-timeline-color: var(--mdc-theme-primary);
  --limebb-feed-item-timestamp-color: var(--mdc-theme-primary);
}

.left:before {
  transition: background-color 0.2s ease;
  content: "";
  position: absolute;
  z-index: -1;
  top: -0.25rem;
  bottom: -0.25rem;
  left: 1rem;
  width: 1px;
  border-radius: 1rem;
  background-color: var(--limebb-feed-item-timeline-color, rgb(var(--contrast-600)));
}

.info {
  position: sticky;
  top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.right,
.content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.content {
  border-radius: 1rem;
  gap: 0.25rem;
  padding: var(--limebb-feed-item-paddings);
}

.header {
  position: relative;
  display: flex;
  gap: 0.25rem;
  padding-bottom: 0.25rem;
  margin-top: -0.25rem;
  color: rgb(var(--contrast-900));
  font-size: 0.875rem;
}
:host(.has-unpromoted-actions) .header {
  padding-right: 2rem;
}
.header limel-markdown {
  --markdown-hyperlink-color: var(--mdc-theme-primary);
  --markdown-hyperlink-color--hovered: rgb(var(--color-teal-light));
}

.heading {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
}
.heading.expanded-heading {
  white-space: normal;
}

button.expand-heading {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
  cursor: pointer;
  color: rgb(var(--color-blue-default));
  background-color: transparent;
  border-radius: 1rem;
  padding: 0 0.25rem 0.25rem 0.25rem;
  height: 1rem;
  white-space: nowrap;
}
button.expand-heading:hover, button.expand-heading:focus, button.expand-heading:focus-visible {
  will-change: color, background-color, box-shadow, transform;
}
button.expand-heading:hover, button.expand-heading:focus-visible {
  transform: translate3d(0, 0.01rem, 0);
  color: rgb(var(--color-blue-default));
  background-color: var(--lime-elevated-surface-background-color);
}
button.expand-heading:hover {
  box-shadow: var(--button-shadow-hovered);
}
button.expand-heading:active {
  --limel-clickable-transform-timing-function: cubic-bezier(
      0.83,
      -0.15,
      0.49,
      1.16
  );
  transform: translate3d(0, 0.05rem, 0);
  box-shadow: var(--button-shadow-pressed);
}
button.expand-heading:hover, button.expand-heading:active {
  --limel-clickable-transition-speed: 0.2s;
  --limel-clickable-transform-speed: 0.16s;
}

button.collapse-heading {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  transition: color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);
  cursor: pointer;
  color: var(--limel-theme-on-surface-color);
  background-color: var(--lime-elevated-surface-background-color);
  box-shadow: var(--button-shadow-normal);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  width: 1rem;
}
button.collapse-heading:hover, button.collapse-heading:focus, button.collapse-heading:focus-visible {
  will-change: color, background-color, box-shadow, transform;
}
button.collapse-heading:hover, button.collapse-heading:focus-visible {
  transform: translate3d(0, -0.04rem, 0);
  color: var(--limel-theme-on-surface-color);
  background-color: var(--lime-elevated-surface-background-color);
  box-shadow: var(--button-shadow-hovered);
}
button.collapse-heading:active {
  --limel-clickable-transform-timing-function: cubic-bezier(
      0.83,
      -0.15,
      0.49,
      1.16
  );
  transform: translate3d(0, 0.05rem, 0);
  box-shadow: var(--button-shadow-pressed);
}
button.collapse-heading:hover, button.collapse-heading:active {
  --limel-clickable-transition-speed: 0.2s;
  --limel-clickable-transform-speed: 0.16s;
}
button.collapse-heading:focus {
  outline: none;
}
button.collapse-heading:focus-visible {
  outline: none;
  box-shadow: var(--shadow-depth-8-focused);
}
button.collapse-heading limel-icon {
  width: 0.75rem;
}

.unpromoted-actions-menu {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.timestamp {
  transition: color 0.4s ease, opacity 0.2s ease;
  transition-delay: var(--limebb-feed-item-timestamp-opacity-delay, 0s);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  text-align: center;
  color: var(--limebb-feed-item-timestamp-color, rgb(var(--contrast-800)));
  background-color: var(--limebb-feed-background-color);
  padding: 0.125rem 0;
  width: 2rem;
  border-radius: 1rem;
}
.timestamp:after {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgb(var(--color-red-default));
}
:host(.is-new) .timestamp:after {
  content: "";
}

.icon {
  --icon-background-color: var(--limebb-feed-background-color);
  width: 2rem;
  padding: 0.125rem;
}
:host(.has-author-picture) .icon {
  width: 1.5rem;
}

img {
  cursor: help;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  background-color: var(--limebb-feed-background-color);
  box-shadow: 0 0 0 1px rgb(var(--contrast-600));
}

.author {
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

a.author {
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease;
  color: var(--mdc-theme-primary);
}
a.author:before {
  transition: opacity 0.2s ease, transform 0.3s ease-out;
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  width: calc(100% - 0.5rem);
  margin: auto;
  height: 0.125rem;
  border-radius: 1rem;
  background-color: currentColor;
  opacity: 0;
  transform: scale(0.6);
}
a.author:hover {
  color: rgb(var(--color-teal-light));
}
a.author:hover:before {
  opacity: 0.3;
  transform: scale(1);
}

limel-chip-set {
  --limel-chip-size: 1.5rem;
  --button-shadow-normal: none;
  margin-left: -1rem;
  margin-bottom: -0.5rem;
}

.helper-text {
  transition: opacity 0.2s ease;
  opacity: 0.6;
  font-size: x-small;
  margin-top: 0.5rem;
  margin-bottom: -0.25rem;
}
:host(limebb-feed-timeline-item:hover) .helper-text, :host(limebb-feed-timeline-item:focus-within) .helper-text {
  opacity: 1;
}

.thumbnail-card-link {
  --card-border-radius: 0.5rem;
  border-radius: var(--card-border-radius);
  text-decoration: none;
  display: inline-block;
}
.thumbnail-card-link:focus {
  outline: none;
}
.thumbnail-card-link:focus-visible {
  outline: none;
  box-shadow: var(--shadow-depth-8-focused);
}

limel-masonry-layout {
  --masonry-layout-min-column-width: 10rem;
  --masonry-layout-gap: 0.5rem;
  margin: 0.25rem 0;
}

:host(limebb-feed-timeline-item[has-error]:not([has-error=false])) .left:before {
  background-color: rgb(var(--color-red-default));
  box-shadow: 0 0 0 1px rgb(var(--color-red-default));
}
:host(limebb-feed-timeline-item[has-error]:not([has-error=false])) img,
:host(limebb-feed-timeline-item[has-error]:not([has-error=false])) .icon {
  box-shadow: var(--shadow-error-state);
}
:host(limebb-feed-timeline-item[has-error]:not([has-error=false])) .helper-text {
  opacity: 1;
  color: rgb(var(--color-red-default));
}