/**
 * 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 {
  --qr-color: var(--cpsl-color-qr-fill);
  --qr-background-color: var(--cpsl-color-qr-background);
  --qr-border-color: var(--cpsl-color-qr-border);
  --qr-border-radius: var(--cpsl-border-radius-qr-code);
  --qr-border-width: 0px;
  --qr-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06);
  --qr-padding-top: 12px;
  --qr-padding-end: 12px;
  --qr-padding-bottom: 12px;
  --qr-padding-start: 12px;
  display: inline-block;
}

.qr-container {
  -webkit-padding-start: var(--qr-padding-start);
  padding-inline-start: var(--qr-padding-start);
  -webkit-padding-end: var(--qr-padding-end);
  padding-inline-end: var(--qr-padding-end);
  padding-top: var(--qr-padding-top);
  padding-bottom: var(--qr-padding-bottom);
  box-sizing: border-box;
  color: var(--qr-color);
  border-style: solid;
  border-width: var(--qr-border-width);
  border-color: var(--qr-border-color);
  border-radius: var(--qr-border-radius);
  background: var(--qr-background-color);
  box-shadow: var(--qr-box-shadow);
}

.qr-code {
  width: 100%;
  height: 100%;
}