/**
 * Convert a font size to a dynamic font size.
 * Fonts that participate in Dynamic Type should use
 * dynamic font sizes.
 * @param size - The initial font size including the unit (i.e. px or pt)
 * @param unit (optional) - The unit to convert to. Use this if you want to
 * convert to a unit other than $baselineUnit.
 */
/**
 * Convert a font size to a dynamic font size but impose
 * a maximum font size.
 * @param size - The initial font size including the unit (i.e. px or pt)
 * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
 * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
 * convert to a unit other than $baselineUnit.
 */
/**
 * Convert a font size to a dynamic font size but impose
 * a minimum font size.
 * @param size - The initial font size including the unit (i.e. px or pt)
 * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
 * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
 * convert to a unit other than $baselineUnit.
 */
/**
 * Convert a font size to a dynamic font size but impose
 * maximum and minimum font sizes.
 * @param size - The initial font size including the unit (i.e. px or pt)
 * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
 * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
 * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
 * convert to a unit other than $baselineUnit.
 */
/**
 * A heuristic that applies CSS to tablet
 * viewports.
 *
 * Usage:
 * @include tablet-viewport() {
 *   :host {
 *     background-color: green;
 *   }
 * }
 */
/**
   * A heuristic that applies CSS to mobile
   * viewports (i.e. phones, not tablets).
   *
   * Usage:
   * @include mobile-viewport() {
   *   :host {
   *     background-color: blue;
   *   }
   * }
   */
:host {
  --outer-container-padding-start: 8px;
  --outer-container-padding-end: 8px;
  --outer-container-padding-top: 8px;
  --outer-container-padding-bottom: 8px;
  --container-background-color: var(--cpsl-color-select-surface-default);
  --container-hover-background-color: var(--cpsl-color-select-surface-hover);
  --container-border-radius: calc(var(--cpsl-border-radius-select) - 4px);
  --container-padding-start: 8px;
  --container-padding-end: 8px;
  --container-padding-top: 8px;
  --container-padding-bottom: 8px;
  display: block;
  font-family: var(--cpsl-font-family, inherit);
  color: var(--cpsl-color-text-primary);
  cursor: pointer;
}

.inner-container {
  -webkit-padding-start: var(--container-padding-start);
  padding-inline-start: var(--container-padding-start);
  -webkit-padding-end: var(--container-padding-end);
  padding-inline-end: var(--container-padding-end);
  padding-top: var(--container-padding-top);
  padding-bottom: var(--container-padding-bottom);
  background-color: var(--container-background-color);
  border-radius: var(--container-border-radius);
  height: 100%;
  display: flex;
  align-items: center;
}

.outer-container {
  -webkit-padding-start: var(--outer-container-padding-start);
  padding-inline-start: var(--outer-container-padding-start);
  -webkit-padding-end: var(--outer-container-padding-end);
  padding-inline-end: var(--outer-container-padding-end);
  padding-top: var(--outer-container-padding-top);
  padding-bottom: var(--outer-container-padding-bottom);
}
.outer-container:hover > .inner-container {
  background-color: var(--container-hover-background-color);
}

.selected {
  background-color: var(--container-hover-background-color);
}

:host(.in-select-box) {
  --container-background-color: transparent;
  --container-hover-background-color: transparent;
  --container-border-width: 0px;
  --container-padding-start: 0px;
  --container-padding-end: 0px;
  --container-padding-top: 0px;
  --container-padding-bottom: 0px;
  flex: 1;
  height: 100%;
}