/**
 * 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 {
  --card-padding-top: 24px;
  --card-padding-end: 24px;
  --card-padding-bottom: 24px;
  --card-padding-start: 24px;
  --card-border-width: 1px;
  --card-border-color: var(--cpsl-color-card-border);
  --card-border-radius-tl: var(--cpsl-border-radius-card);
  --card-border-radius-tr: var(--cpsl-border-radius-card);
  --card-border-radius-bl: var(--cpsl-border-radius-card);
  --card-border-radius-br: var(--cpsl-border-radius-card);
  --card-background-color: var(--cpsl-color-card-surface);
  display: block;
}

.card {
  -webkit-padding-start: var(--card-padding-start);
  padding-inline-start: var(--card-padding-start);
  -webkit-padding-end: var(--card-padding-end);
  padding-inline-end: var(--card-padding-end);
  padding-top: var(--card-padding-top);
  padding-bottom: var(--card-padding-bottom);
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  border: var(--card-border-width) solid var(--card-border-color);
  border-radius: var(--card-border-radius-tl) var(--card-border-radius-tr) var(--card-border-radius-br) var(--card-border-radius-bl);
  background: var(--card-background-color);
}