.spectrum-Typography {
    font-family: var(--spectrum-font-family);
    font-style: var(--spectrum-font-style);
    font-size: var(--spectrum-font-size);
}

.spectrum-Typography:lang(ar) {
    font-family: var(--spectrum-font-family-ar);
}

.spectrum-Typography:lang(he) {
    font-family: var(--spectrum-font-family-he);
}

.spectrum-Typography .spectrum-Heading {
    --spectrum-heading-margin-start: calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-top-multiplier));
    --spectrum-heading-margin-end: calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size)) * var(--spectrum-heading-margin-bottom-multiplier));
}

.spectrum-Typography .spectrum-Body {
    --spectrum-body-margin-end: calc(var(--mod-body-font-size, var(--spectrum-body-font-size)) * var(--spectrum-body-margin-multiplier));
}

.spectrum-Typography .spectrum-Detail {
    --spectrum-detail-margin-start: calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-top-multiplier));
    --spectrum-detail-margin-end: calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size)) * var(--spectrum-detail-margin-bottom-multiplier));
}

.spectrum-Heading,
.spectrum-Heading--sizeM {
    --spectrum-heading-font-size: var(--spectrum-heading-size-m);
    --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-m);
}

.spectrum-Heading--sizeXXS {
    --spectrum-heading-font-size: var(--spectrum-heading-size-xxs);
    --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxs);
}

.spectrum-Heading--sizeXS {
    --spectrum-heading-font-size: var(--spectrum-heading-size-xs);
    --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xs);
}

.spectrum-Heading--sizeS {
    --spectrum-heading-font-size: var(--spectrum-heading-size-s);
    --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-s);
}

.spectrum-Heading--sizeL {
    --spectrum-heading-font-size: var(--spectrum-heading-size-l);
    --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-l);
}

.spectrum-Heading--sizeXL {
    --spectrum-heading-font-size: var(--spectrum-heading-size-xl);
    --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xl);
}

.spectrum-Heading--sizeXXL {
    --spectrum-heading-font-size: var(--spectrum-heading-size-xxl);
    --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxl);
}

.spectrum-Heading--sizeXXXL {
    --spectrum-heading-font-size: var(--spectrum-heading-size-xxxl);
    --spectrum-heading-cjk-font-size: var(--spectrum-heading-cjk-size-xxxl);
}

.spectrum-Heading {
    --spectrum-heading-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
    --spectrum-heading-serif-font-family: var(--spectrum-serif-font-family-stack);
    --spectrum-heading-cjk-font-family: var(--spectrum-cjk-font-family-stack);
    --spectrum-heading-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
    --spectrum-heading-font-color: var(--spectrum-heading-color);
    font-family: var(--mod-heading-sans-serif-font-family, var(--spectrum-heading-sans-serif-font-family));
    font-style: var(--mod-heading-sans-serif-font-style, var(--spectrum-heading-sans-serif-font-style));
    font-weight: var(--mod-heading-sans-serif-font-weight, var(--spectrum-heading-sans-serif-font-weight));
    font-size: var(--mod-heading-font-size, var(--spectrum-heading-font-size));
    color: var(--highcontrast-heading-font-color, var(--mod-heading-font-color, var(--spectrum-heading-font-color)));
    line-height: var(--mod-heading-line-height, var(--spectrum-heading-line-height));
    margin-block-start: var(--mod-heading-margin-start, var(--spectrum-heading-margin-start, 0));
    margin-block-end: var(--mod-heading-margin-end, var(--spectrum-heading-margin-end, 0));
}

.spectrum-Heading .spectrum-Heading-strong,
.spectrum-Heading strong {
    font-style: var(--mod-heading-sans-serif-strong-font-style, var(--spectrum-heading-sans-serif-strong-font-style));
    font-weight: var(--mod-heading-sans-serif-strong-font-weight, var(--spectrum-heading-sans-serif-strong-font-weight));
}

.spectrum-Heading .spectrum-Heading-emphasized,
.spectrum-Heading em {
    font-style: var(--mod-heading-sans-serif-emphasized-font-style, var(--spectrum-heading-sans-serif-emphasized-font-style));
    font-weight: var(--mod-heading-sans-serif-emphasized-font-weight, var(--spectrum-heading-sans-serif-emphasized-font-weight));
}

.spectrum-Heading .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading em strong,
.spectrum-Heading strong em {
    font-style: var(--mod-heading-sans-serif-strong-emphasized-font-style, var(--spectrum-heading-sans-serif-strong-emphasized-font-style));
    font-weight: var(--mod-heading-sans-serif-strong-emphasized-font-weight, var(--spectrum-heading-sans-serif-strong-emphasized-font-weight));
}

.spectrum-Heading:lang(ja),
.spectrum-Heading:lang(ko),
.spectrum-Heading:lang(zh) {
    font-family: var(--mod-heading-cjk-font-family, var(--spectrum-heading-cjk-font-family));
    font-style: var(--mod-heading-cjk-font-style, var(--spectrum-heading-cjk-font-style));
    font-weight: var(--mod-heading-cjk-font-weight, var(--spectrum-heading-cjk-font-weight));
    font-size: var(--mod-heading-cjk-font-size, var(--spectrum-heading-cjk-font-size));
    line-height: var(--mod-heading-cjk-line-height, var(--spectrum-heading-cjk-line-height));
    letter-spacing: var(--mod-heading-cjk-letter-spacing, var(--spectrum-heading-cjk-letter-spacing));
}

.spectrum-Heading:lang(ja) .spectrum-Heading-emphasized,
.spectrum-Heading:lang(ja) em,
.spectrum-Heading:lang(ko) .spectrum-Heading-emphasized,
.spectrum-Heading:lang(ko) em,
.spectrum-Heading:lang(zh) .spectrum-Heading-emphasized,
.spectrum-Heading:lang(zh) em {
    font-style: var(--mod-heading-cjk-emphasized-font-style, var(--spectrum-heading-cjk-emphasized-font-style));
    font-weight: var(--mod-heading-cjk-emphasized-font-weight, var(--spectrum-heading-cjk-emphasized-font-weight));
}

.spectrum-Heading:lang(ja) .spectrum-Heading-strong,
.spectrum-Heading:lang(ja) strong,
.spectrum-Heading:lang(ko) .spectrum-Heading-strong,
.spectrum-Heading:lang(ko) strong,
.spectrum-Heading:lang(zh) .spectrum-Heading-strong,
.spectrum-Heading:lang(zh) strong {
    font-style: var(--mod-heading-cjk-strong-font-style, var(--spectrum-heading-cjk-strong-font-style));
    font-weight: var(--mod-heading-cjk-strong-font-weight, var(--spectrum-heading-cjk-strong-font-weight));
}

.spectrum-Heading:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading:lang(ja) em strong,
.spectrum-Heading:lang(ja) strong em,
.spectrum-Heading:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading:lang(ko) em strong,
.spectrum-Heading:lang(ko) strong em,
.spectrum-Heading:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading:lang(zh) em strong,
.spectrum-Heading:lang(zh) strong em {
    font-style: var(--mod-heading-cjk-strong-emphasized-font-style, var(--spectrum-heading-cjk-strong-emphasized-font-style));
    font-weight: var(--mod-heading-cjk-strong-emphasized-font-weight, var(--spectrum-heading-cjk-strong-emphasized-font-weight));
}

.spectrum-Heading--heavy {
    font-style: var(--mod-heading-sans-serif-heavy-font-style, var(--spectrum-heading-sans-serif-heavy-font-style));
    font-weight: var(--mod-heading-sans-serif-heavy-font-weight, var(--spectrum-heading-sans-serif-heavy-font-weight));
}

.spectrum-Heading--heavy .spectrum-Heading-strong,
.spectrum-Heading--heavy strong {
    font-style: var(--mod-heading-sans-serif-heavy-strong-font-style, var(--spectrum-heading-sans-serif-heavy-strong-font-style));
    font-weight: var(--mod-heading-sans-serif-heavy-strong-font-weight, var(--spectrum-heading-sans-serif-heavy-strong-font-weight));
}

.spectrum-Heading--heavy .spectrum-Heading-emphasized,
.spectrum-Heading--heavy em {
    font-style: var(--mod-heading-sans-serif-heavy-emphasized-font-style, var(--spectrum-heading-sans-serif-heavy-emphasized-font-style));
    font-weight: var(--mod-heading-sans-serif-heavy-emphasized-font-weight, var(--spectrum-heading-sans-serif-heavy-emphasized-font-weight));
}

.spectrum-Heading--heavy .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--heavy em strong,
.spectrum-Heading--heavy strong em {
    font-style: var(--mod-heading-sans-serif-heavy-strong-emphasized-font-style, var(--spectrum-heading-sans-serif-heavy-strong-emphasized-font-style));
    font-weight: var(--mod-heading-sans-serif-heavy-strong-emphasized-font-weight, var(--spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight));
}

.spectrum-Heading--heavy:lang(ja),
.spectrum-Heading--heavy:lang(ko),
.spectrum-Heading--heavy:lang(zh) {
    font-style: var(--mod-heading-cjk-heavy-font-style, var(--spectrum-heading-cjk-heavy-font-style));
    font-weight: var(--mod-heading-cjk-heavy-font-weight, var(--spectrum-heading-cjk-heavy-font-weight));
}

.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-emphasized,
.spectrum-Heading--heavy:lang(ja) em,
.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-emphasized,
.spectrum-Heading--heavy:lang(ko) em,
.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-emphasized,
.spectrum-Heading--heavy:lang(zh) em {
    font-style: var(--mod-heading-cjk-heavy-emphasized-font-style, var(--spectrum-heading-cjk-heavy-emphasized-font-style));
    font-weight: var(--mod-heading-cjk-heavy-emphasized-font-weight, var(--spectrum-heading-cjk-heavy-emphasized-font-weight));
}

.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-strong,
.spectrum-Heading--heavy:lang(ja) strong,
.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-strong,
.spectrum-Heading--heavy:lang(ko) strong,
.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-strong,
.spectrum-Heading--heavy:lang(zh) strong {
    font-style: var(--mod-heading-cjk-heavy-strong-font-style, var(--spectrum-heading-cjk-heavy-strong-font-style));
    font-weight: var(--mod-heading-cjk-heavy-strong-font-weight, var(--spectrum-heading-cjk-heavy-strong-font-weight));
}

.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--heavy:lang(ja) em strong,
.spectrum-Heading--heavy:lang(ja) strong em,
.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--heavy:lang(ko) em strong,
.spectrum-Heading--heavy:lang(ko) strong em,
.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--heavy:lang(zh) em strong,
.spectrum-Heading--heavy:lang(zh) strong em {
    font-style: var(--mod-heading-cjk-heavy-strong-emphasized-font-style, var(--spectrum-heading-cjk-heavy-strong-emphasized-font-style));
    font-weight: var(--mod-heading-cjk-heavy-strong-emphasized-font-weight, var(--spectrum-heading-cjk-heavy-strong-emphasized-font-weight));
}

.spectrum-Heading--light {
    font-style: var(--mod-heading-sans-serif-light-font-style, var(--spectrum-heading-sans-serif-light-font-style));
    font-weight: var(--mod-heading-sans-serif-light-font-weight, var(--spectrum-heading-sans-serif-light-font-weight));
}

.spectrum-Heading--light .spectrum-Heading-emphasized,
.spectrum-Heading--light em {
    font-style: var(--mod-heading-sans-serif-light-emphasized-font-style, var(--spectrum-heading-sans-serif-light-emphasized-font-style));
    font-weight: var(--mod-heading-sans-serif-light-emphasized-font-weight, var(--spectrum-heading-sans-serif-light-emphasized-font-weight));
}

.spectrum-Heading--light .spectrum-Heading-strong,
.spectrum-Heading--light strong {
    font-style: var(--mod-heading-sans-serif-light-strong-font-style, var(--spectrum-heading-sans-serif-light-strong-font-style));
    font-weight: var(--mod-heading-sans-serif-light-strong-font-weight, var(--spectrum-heading-sans-serif-light-strong-font-weight));
}

.spectrum-Heading--light .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--light em strong,
.spectrum-Heading--light strong em {
    font-style: var(--mod-heading-sans-serif-light-strong-emphasized-font-style, var(--spectrum-heading-sans-serif-light-strong-emphasized-font-style));
    font-weight: var(--mod-heading-sans-serif-light-strong-emphasized-font-weight, var(--spectrum-heading-sans-serif-light-strong-emphasized-font-weight));
}

.spectrum-Heading--light:lang(ja),
.spectrum-Heading--light:lang(ko),
.spectrum-Heading--light:lang(zh) {
    font-style: var(--mod-heading-cjk-light-font-style, var(--spectrum-heading-cjk-light-font-style));
    font-weight: var(--mod-heading-cjk-light-font-weight, var(--spectrum-heading-cjk-light-font-weight));
}

.spectrum-Heading--light:lang(ja) .spectrum-Heading-strong,
.spectrum-Heading--light:lang(ja) strong,
.spectrum-Heading--light:lang(ko) .spectrum-Heading-strong,
.spectrum-Heading--light:lang(ko) strong,
.spectrum-Heading--light:lang(zh) .spectrum-Heading-strong,
.spectrum-Heading--light:lang(zh) strong {
    font-style: var(--mod-heading-cjk-light-strong-font-style, var(--spectrum-heading-cjk-light-strong-font-style));
    font-weight: var(--mod-heading-cjk-light-strong-font-weight, var(--spectrum-heading-cjk-light-strong-font-weight));
}

.spectrum-Heading--light:lang(ja) .spectrum-Heading-emphasized,
.spectrum-Heading--light:lang(ja) em,
.spectrum-Heading--light:lang(ko) .spectrum-Heading-emphasized,
.spectrum-Heading--light:lang(ko) em,
.spectrum-Heading--light:lang(zh) .spectrum-Heading-emphasized,
.spectrum-Heading--light:lang(zh) em {
    font-style: var(--mod-heading-cjk-light-emphasized-font-style, var(--spectrum-heading-cjk-light-emphasized-font-style));
    font-weight: var(--mod-heading-cjk-light-emphasized-font-weight, var(--spectrum-heading-cjk-light-emphasized-font-weight));
}

.spectrum-Heading--light:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--light:lang(ja) em strong,
.spectrum-Heading--light:lang(ja) strong em,
.spectrum-Heading--light:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--light:lang(ko) em strong,
.spectrum-Heading--light:lang(ko) strong em,
.spectrum-Heading--light:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--light:lang(zh) em strong,
.spectrum-Heading--light:lang(zh) strong em {
    font-style: var(--mod-heading-cjk-light-strong-emphasized-font-style, var(--spectrum-heading-cjk-light-strong-emphasized-font-style));
    font-weight: var(--mod-heading-cjk-light-strong-emphasized-font-weight, var(--spectrum-heading-cjk-light-strong-emphasized-font-weight));
}

.spectrum-Heading--serif {
    font-family: var(--mod-heading-serif-font-family, var(--spectrum-heading-serif-font-family));
    font-style: var(--mod-heading-serif-font-style, var(--spectrum-heading-serif-font-style));
    font-weight: var(--mod-heading-serif-font-weight, var(--spectrum-heading-serif-font-weight));
}

.spectrum-Heading--serif .spectrum-Heading-emphasized,
.spectrum-Heading--serif em {
    font-style: var(--mod-heading-serif-emphasized-font-style, var(--spectrum-heading-serif-emphasized-font-style));
    font-weight: var(--mod-heading-serif-emphasized-font-weight, var(--spectrum-heading-serif-emphasized-font-weight));
}

.spectrum-Heading--serif .spectrum-Heading-strong,
.spectrum-Heading--serif strong {
    font-style: var(--mod-heading-serif-strong-font-style, var(--spectrum-heading-serif-strong-font-style));
    font-weight: var(--mod-heading-serif-strong-font-weight, var(--spectrum-heading-serif-strong-font-weight));
}

.spectrum-Heading--serif .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--serif em strong,
.spectrum-Heading--serif strong em {
    font-style: var(--mod-heading-serif-strong-emphasized-font-style, var(--spectrum-heading-serif-strong-emphasized-font-style));
    font-weight: var(--mod-heading-serif-strong-emphasized-font-weight, var(--spectrum-heading-serif-strong-emphasized-font-weight));
}

.spectrum-Heading--serif.spectrum-Heading--heavy {
    font-style: var(--mod-heading-serif-heavy-font-style, var(--spectrum-heading-serif-heavy-font-style));
    font-weight: var(--mod-heading-serif-heavy-font-weight, var(--spectrum-heading-serif-heavy-font-weight));
}

.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-strong,
.spectrum-Heading--serif.spectrum-Heading--heavy strong {
    font-style: var(--mod-heading-serif-heavy-strong-font-style, var(--spectrum-heading-serif-heavy-strong-font-style));
    font-weight: var(--mod-heading-serif-heavy-strong-font-weight, var(--spectrum-heading-serif-heavy-strong-font-weight));
}

.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-emphasized,
.spectrum-Heading--serif.spectrum-Heading--heavy em {
    font-style: var(--mod-heading-serif-heavy-emphasized-font-style, var(--spectrum-heading-serif-heavy-emphasized-font-style));
    font-weight: var(--mod-heading-serif-heavy-emphasized-font-weight, var(--spectrum-heading-serif-heavy-emphasized-font-weight));
}

.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--serif.spectrum-Heading--heavy em strong,
.spectrum-Heading--serif.spectrum-Heading--heavy strong em {
    font-style: var(--mod-heading-serif-heavy-strong-emphasized-font-style, var(--spectrum-heading-serif-heavy-strong-emphasized-font-style));
    font-weight: var(--mod-heading-serif-heavy-strong-emphasized-font-weight, var(--spectrum-heading-serif-heavy-strong-emphasized-font-weight));
}

.spectrum-Heading--serif.spectrum-Heading--light {
    font-style: var(--mod-heading-serif-light-font-style, var(--spectrum-heading-serif-light-font-style));
    font-weight: var(--mod-heading-serif-light-font-weight, var(--spectrum-heading-serif-light-font-weight));
}

.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-emphasized,
.spectrum-Heading--serif.spectrum-Heading--light em {
    font-style: var(--mod-heading-serif-light-emphasized-font-style, var(--spectrum-heading-serif-light-emphasized-font-style));
    font-weight: var(--mod-heading-serif-light-emphasized-font-weight, var(--spectrum-heading-serif-light-emphasized-font-weight));
}

.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-strong,
.spectrum-Heading--serif.spectrum-Heading--light strong {
    font-style: var(--mod-heading-serif-light-strong-font-style, var(--spectrum-heading-serif-light-strong-font-style));
    font-weight: var(--mod-heading-serif-light-strong-font-weight, var(--spectrum-heading-serif-light-strong-font-weight));
}

.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-strong.spectrum-Heading-emphasized,
.spectrum-Heading--serif.spectrum-Heading--light em strong,
.spectrum-Heading--serif.spectrum-Heading--light strong em {
    font-style: var(--mod-heading-serif-light-strong-emphasized-font-style, var(--spectrum-heading-serif-light-strong-emphasized-font-style));
    font-weight: var(--mod-heading-serif-light-strong-emphasized-font-weight, var(--spectrum-heading-serif-light-strong-emphasized-font-weight));
}

.spectrum-Body,
.spectrum-Body--sizeM {
    --spectrum-body-font-size: var(--spectrum-body-size-m);
}

.spectrum-Body--sizeXS {
    --spectrum-body-font-size: var(--spectrum-body-size-xs);
}

.spectrum-Body--sizeS {
    --spectrum-body-font-size: var(--spectrum-body-size-s);
}

.spectrum-Body--sizeL {
    --spectrum-body-font-size: var(--spectrum-body-size-l);
}

.spectrum-Body--sizeXL {
    --spectrum-body-font-size: var(--spectrum-body-size-xl);
}

.spectrum-Body--sizeXXL {
    --spectrum-body-font-size: var(--spectrum-body-size-xxl);
}

.spectrum-Body--sizeXXXL {
    --spectrum-body-font-size: var(--spectrum-body-size-xxxl);
}

.spectrum-Body {
    --spectrum-body-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
    --spectrum-body-serif-font-family: var(--spectrum-serif-font-family-stack);
    --spectrum-body-cjk-font-family: var(--spectrum-cjk-font-family-stack);
    --spectrum-body-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
    --spectrum-body-font-color: var(--spectrum-body-color);
    font-family: var(--mod-body-sans-serif-font-family, var(--spectrum-body-sans-serif-font-family));
    font-style: var(--mod-body-sans-serif-font-style, var(--spectrum-body-sans-serif-font-style));
    font-weight: var(--mod-body-sans-serif-font-weight, var(--spectrum-body-sans-serif-font-weight));
    font-size: var(--mod-body-font-size, var(--spectrum-body-font-size));
    color: var(--highcontrast-body-font-color, var(--mod-body-font-color, var(--spectrum-body-font-color)));
    line-height: var(--mod-body-line-height, var(--spectrum-body-line-height));
    margin-block-start: var(--mod-body-margin-start, var(--mod-body-margin, 0));
    margin-block-end: var(--mod-body-margin-end, var(--mod-body-margin, var(--spectrum-body-margin-end, 0)));
}

.spectrum-Body .spectrum-Body-strong,
.spectrum-Body strong {
    font-style: var(--mod-body-sans-serif-strong-font-style, var(--spectrum-body-sans-serif-strong-font-style));
    font-weight: var(--mod-body-sans-serif-strong-font-weight, var(--spectrum-body-sans-serif-strong-font-weight));
}

.spectrum-Body .spectrum-Body-emphasized,
.spectrum-Body em {
    font-style: var(--mod-body-sans-serif-emphasized-font-style, var(--spectrum-body-sans-serif-emphasized-font-style));
    font-weight: var(--mod-body-sans-serif-emphasized-font-weight, var(--spectrum-body-sans-serif-emphasized-font-weight));
}

.spectrum-Body .spectrum-Body-strong.spectrum-Body-emphasized,
.spectrum-Body em strong,
.spectrum-Body strong em {
    font-style: var(--mod-body-sans-serif-strong-emphasized-font-style, var(--spectrum-body-sans-serif-strong-emphasized-font-style));
    font-weight: var(--mod-body-sans-serif-strong-emphasized-font-weight, var(--spectrum-body-sans-serif-strong-emphasized-font-weight));
}

.spectrum-Body:lang(ja),
.spectrum-Body:lang(ko),
.spectrum-Body:lang(zh) {
    font-family: var(--mod-body-cjk-font-family, var(--spectrum-body-cjk-font-family));
    font-style: var(--mod-body-cjk-font-style, var(--spectrum-body-cjk-font-style));
    font-weight: var(--mod-body-cjk-font-weight, var(--spectrum-body-cjk-font-weight));
    line-height: var(--mod-body-cjk-line-height, var(--spectrum-body-cjk-line-height));
    letter-spacing: var(--mod-body-cjk-letter-spacing, var(--spectrum-body-cjk-letter-spacing));
}

.spectrum-Body:lang(ja) .spectrum-Body-strong,
.spectrum-Body:lang(ja) strong,
.spectrum-Body:lang(ko) .spectrum-Body-strong,
.spectrum-Body:lang(ko) strong,
.spectrum-Body:lang(zh) .spectrum-Body-strong,
.spectrum-Body:lang(zh) strong {
    font-style: var(--mod-body-cjk-strong-font-style, var(--spectrum-body-cjk-strong-font-style));
    font-weight: var(--mod-body-cjk-strong-font-weight, var(--spectrum-body-cjk-strong-font-weight));
}

.spectrum-Body:lang(ja) .spectrum-Body-emphasized,
.spectrum-Body:lang(ja) em,
.spectrum-Body:lang(ko) .spectrum-Body-emphasized,
.spectrum-Body:lang(ko) em,
.spectrum-Body:lang(zh) .spectrum-Body-emphasized,
.spectrum-Body:lang(zh) em {
    font-style: var(--mod-body-cjk-emphasized-font-style, var(--spectrum-body-cjk-emphasized-font-style));
    font-weight: var(--mod-body-cjk-emphasized-font-weight, var(--spectrum-body-cjk-emphasized-font-weight));
}

.spectrum-Body:lang(ja) .spectrum-Body-strong.spectrum-Body-emphasized,
.spectrum-Body:lang(ja) em strong,
.spectrum-Body:lang(ja) strong em,
.spectrum-Body:lang(ko) .spectrum-Body-strong.spectrum-Body-emphasized,
.spectrum-Body:lang(ko) em strong,
.spectrum-Body:lang(ko) strong em,
.spectrum-Body:lang(zh) .spectrum-Body-strong.spectrum-Body-emphasized,
.spectrum-Body:lang(zh) em strong,
.spectrum-Body:lang(zh) strong em {
    font-style: var(--mod-body-cjk-strong-emphasized-font-style, var(--spectrum-body-cjk-strong-emphasized-font-style));
    font-weight: var(--mod-body-cjk-strong-emphasized-font-weight, var(--spectrum-body-cjk-strong-emphasized-font-weight));
}

.spectrum-Body--serif {
    font-family: var(--mod-body-serif-font-family, var(--spectrum-body-serif-font-family));
    font-weight: var(--mod-body-serif-font-weight, var(--spectrum-body-serif-font-weight));
    font-style: var(--mod-body-serif-font-style, var(--spectrum-body-serif-font-style));
}

.spectrum-Body--serif .spectrum-Body-strong,
.spectrum-Body--serif strong {
    font-style: var(--mod-body-serif-strong-font-style, var(--spectrum-body-serif-strong-font-style));
    font-weight: var(--mod-body-serif-strong-font-weight, var(--spectrum-body-serif-strong-font-weight));
}

.spectrum-Body--serif .spectrum-Body-emphasized,
.spectrum-Body--serif em {
    font-style: var(--mod-body-serif-emphasized-font-style, var(--spectrum-body-serif-emphasized-font-style));
    font-weight: var(--mod-body-serif-emphasized-font-weight, var(--spectrum-body-serif-emphasized-font-weight));
}

.spectrum-Body--serif .spectrum-Body-strong.spectrum-Body-emphasized,
.spectrum-Body--serif em strong,
.spectrum-Body--serif strong em {
    font-style: var(--mod-body-serif-strong-emphasized-font-style, var(--spectrum-body-serif-strong-emphasized-font-style));
    font-weight: var(--mod-body-serif-strong-emphasized-font-weight, var(--spectrum-body-serif-strong-emphasized-font-weight));
}

.spectrum-Detail,
.spectrum-Detail--sizeM {
    --spectrum-detail-font-size: var(--spectrum-detail-size-m);
}

.spectrum-Detail--sizeS {
    --spectrum-detail-font-size: var(--spectrum-detail-size-s);
}

.spectrum-Detail--sizeL {
    --spectrum-detail-font-size: var(--spectrum-detail-size-l);
}

.spectrum-Detail--sizeXL {
    --spectrum-detail-font-size: var(--spectrum-detail-size-xl);
}

.spectrum-Detail {
    --spectrum-detail-sans-serif-font-family: var(--spectrum-sans-font-family-stack);
    --spectrum-detail-serif-font-family: var(--spectrum-serif-font-family-stack);
    --spectrum-detail-cjk-font-family: var(--spectrum-cjk-font-family-stack);
    --spectrum-detail-font-color: var(--spectrum-detail-color);
    font-family: var(--mod-detail-sans-serif-font-family, var(--spectrum-detail-sans-serif-font-family));
    font-style: var(--mod-detail-sans-serif-font-style, var(--spectrum-detail-sans-serif-font-style));
    font-weight: var(--mod-detail-sans-serif-font-weight, var(--spectrum-detail-sans-serif-font-weight));
    font-size: var(--mod-detail-font-size, var(--spectrum-detail-font-size));
    color: var(--highcontrast-detail-font-color, var(--mod-detail-font-color, var(--spectrum-detail-font-color)));
    line-height: var(--mod-detail-line-height, var(--spectrum-detail-line-height));
    letter-spacing: var(--mod-detail-letter-spacing, var(--spectrum-detail-letter-spacing));
    text-transform: uppercase;
    margin-block-start: var(--mod-detail-margin-start, var(--spectrum-detail-margin-start, 0));
    margin-block-end: var(--mod-detail-margin-end, var(--spectrum-detail-margin-end, 0));
}

.spectrum-Detail .spectrum-Detail-strong,
.spectrum-Detail strong {
    font-style: var(--mod-detail-sans-serif-strong-font-style, var(--spectrum-detail-sans-serif-strong-font-style));
    font-weight: var(--mod-detail-sans-serif-strong-font-weight, var(--spectrum-detail-sans-serif-strong-font-weight));
}

.spectrum-Detail .spectrum-Detail-emphasized,
.spectrum-Detail em {
    font-style: var(--mod-detail-sans-serif-emphasized-font-style, var(--spectrum-detail-sans-serif-emphasized-font-style));
    font-weight: var(--mod-detail-sans-serif-emphasized-font-weight, var(--spectrum-detail-sans-serif-emphasized-font-weight));
}

.spectrum-Detail .spectrum-Detail-strong.spectrum-Detail-emphasized,
.spectrum-Detail em strong,
.spectrum-Detail strong em {
    font-style: var(--mod-detail-sans-serif-strong-emphasized-font-style, var(--spectrum-detail-sans-serif-strong-emphasized-font-style));
    font-weight: var(--mod-detail-sans-serif-strong-emphasized-font-weight, var(--spectrum-detail-sans-serif-strong-emphasized-font-weight));
}

.spectrum-Detail:lang(ja),
.spectrum-Detail:lang(ko),
.spectrum-Detail:lang(zh) {
    font-family: var(--mod-detail-cjk-font-family, var(--spectrum-detail-cjk-font-family));
    font-style: var(--mod-detail-cjk-font-style, var(--spectrum-detail-cjk-font-style));
    font-weight: var(--mod-detail-cjk-font-weight, var(--spectrum-detail-cjk-font-weight));
    line-height: var(--mod-detail-cjk-line-height, var(--spectrum-detail-cjk-line-height));
}

.spectrum-Detail:lang(ja) .spectrum-Detail-strong,
.spectrum-Detail:lang(ja) strong,
.spectrum-Detail:lang(ko) .spectrum-Detail-strong,
.spectrum-Detail:lang(ko) strong,
.spectrum-Detail:lang(zh) .spectrum-Detail-strong,
.spectrum-Detail:lang(zh) strong {
    font-style: var(--mod-detail-cjk-strong-font-style, var(--spectrum-detail-cjk-strong-font-style));
    font-weight: var(--mod-detail-cjk-strong-font-weight, var(--spectrum-detail-cjk-strong-font-weight));
}

.spectrum-Detail:lang(ja) .spectrum-Detail-emphasized,
.spectrum-Detail:lang(ja) em,
.spectrum-Detail:lang(ko) .spectrum-Detail-emphasized,
.spectrum-Detail:lang(ko) em,
.spectrum-Detail:lang(zh) .spectrum-Detail-emphasized,
.spectrum-Detail:lang(zh) em {
    font-style: var(--mod-detail-cjk-emphasized-font-style, var(--spectrum-detail-cjk-emphasized-font-style));
    font-weight: var(--mod-detail-cjk-emphasized-font-weight, var(--spectrum-detail-cjk-emphasized-font-weight));
}

.spectrum-Detail:lang(ja) .spectrum-Detail-strong.spectrum-Detail-emphasized,
.spectrum-Detail:lang(ja) em strong,
.spectrum-Detail:lang(ja) strong em,
.spectrum-Detail:lang(ko) .spectrum-Detail-strong.spectrum-Detail-emphasized,
.spectrum-Detail:lang(ko) em strong,
.spectrum-Detail:lang(ko) strong em,
.spectrum-Detail:lang(zh) .spectrum-Detail-strong.spectrum-Detail-emphasized,
.spectrum-Detail:lang(zh) em strong,
.spectrum-Detail:lang(zh) strong em {
    font-style: var(--mod-detail-cjk-strong-emphasized-font-style, var(--spectrum-detail-cjk-strong-emphasized-font-style));
    font-weight: var(--mod-detail-cjk-strong-emphasized-font-weight, var(--spectrum-detail-cjk-strong-emphasized-font-weight));
}

.spectrum-Detail--serif {
    font-family: var(--mod-detail-serif-font-family, var(--spectrum-detail-serif-font-family));
    font-style: var(--mod-detail-serif-font-style, var(--spectrum-detail-serif-font-style));
    font-weight: var(--mod-detail-serif-font-weight, var(--spectrum-detail-serif-font-weight));
}

.spectrum-Detail--serif .spectrum-Detail-strong,
.spectrum-Detail--serif strong {
    font-style: var(--mod-detail-serif-strong-font-style, var(--spectrum-detail-serif-strong-font-style));
    font-weight: var(--mod-detail-serif-strong-font-weight, var(--spectrum-detail-serif-strong-font-weight));
}

.spectrum-Detail--serif .spectrum-Detail-emphasized,
.spectrum-Detail--serif em {
    font-style: var(--mod-detail-serif-emphasized-font-style, var(--spectrum-detail-serif-emphasized-font-style));
    font-weight: var(--mod-detail-serif-emphasized-font-weight, var(--spectrum-detail-serif-emphasized-font-weight));
}

.spectrum-Detail--serif .spectrum-Detail-strong.spectrum-Detail-emphasized,
.spectrum-Detail--serif em strong,
.spectrum-Detail--serif strong em {
    font-style: var(--mod-detail-serif-strong-emphasized-font-style, var(--spectrum-detail-serif-strong-emphasized-font-style));
    font-weight: var(--mod-detail-serif-strong-emphasized-font-weight, var(--spectrum-detail-serif-strong-emphasized-font-weight));
}

.spectrum-Detail--light {
    font-style: var(--mod-detail-sans-serif-light-font-style, var(--spectrum-detail-sans-serif-light-font-style));
    font-weight: var(--spectrum-detail-sans-serif-light-font-weight, var(--spectrum-detail-sans-serif-light-font-weight));
}

.spectrum-Detail--light .spectrum-Detail-strong,
.spectrum-Detail--light strong {
    font-style: var(--mod-detail-sans-serif-light-strong-font-style, var(--spectrum-detail-sans-serif-light-strong-font-style));
    font-weight: var(--mod-detail-sans-serif-light-strong-font-weight, var(--spectrum-detail-sans-serif-light-strong-font-weight));
}

.spectrum-Detail--light .spectrum-Detail-emphasized,
.spectrum-Detail--light em {
    font-style: var(--mod-detail-sans-serif-light-emphasized-font-style, var(--spectrum-detail-sans-serif-light-emphasized-font-style));
    font-weight: var(--mod-detail-sans-serif-light-emphasized-font-weight, var(--spectrum-detail-sans-serif-light-emphasized-font-weight));
}

.spectrum-Detail--light .spectrum-Detail-strong.spectrum-Body-emphasized,
.spectrum-Detail--light em strong,
.spectrum-Detail--light strong em {
    font-style: var(--mod-detail-sans-serif-light-strong-emphasized-font-style, var(--spectrum-detail-sans-serif-light-strong-emphasized-font-style));
    font-weight: var(--mod-detail-sans-serif-light-strong-emphasized-font-weight, var(--spectrum-detail-sans-serif-light-strong-emphasized-font-weight));
}

.spectrum-Detail--light:lang(ja),
.spectrum-Detail--light:lang(ko),
.spectrum-Detail--light:lang(zh) {
    font-style: var(--mod-detail-cjk-light-font-style, var(--spectrum-detail-cjk-light-font-style));
    font-weight: var(--mod-detail-cjk-light-font-weight, var(--spectrum-detail-cjk-light-font-weight));
}

.spectrum-Detail--light:lang(ja) .spectrum-Detail-strong,
.spectrum-Detail--light:lang(ja) strong,
.spectrum-Detail--light:lang(ko) .spectrum-Detail-strong,
.spectrum-Detail--light:lang(ko) strong,
.spectrum-Detail--light:lang(zh) .spectrum-Detail-strong,
.spectrum-Detail--light:lang(zh) strong {
    font-style: var(--mod-detail-cjk-light-strong-font-style, var(--spectrum-detail-cjk-light-strong-font-style));
    font-weight: var(--mod-detail-cjk-light-strong-font-weight, var(--spectrum-detail-cjk-light-strong-font-weight));
}

.spectrum-Detail--light:lang(ja) .spectrum-Detail-emphasized,
.spectrum-Detail--light:lang(ja) em,
.spectrum-Detail--light:lang(ko) .spectrum-Detail-emphasized,
.spectrum-Detail--light:lang(ko) em,
.spectrum-Detail--light:lang(zh) .spectrum-Detail-emphasized,
.spectrum-Detail--light:lang(zh) em {
    font-style: var(--mod-detail-cjk-light-emphasized-font-style, var(--spectrum-detail-cjk-light-emphasized-font-style));
    font-weight: var(--mod-detail-cjk-light-emphasized-font-weight, var(--spectrum-detail-cjk-light-emphasized-font-weight));
}

.spectrum-Detail--light:lang(ja) .spectrum-Detail-strong.spectrum-Detail-emphasized,
.spectrum-Detail--light:lang(ko) .spectrum-Detail-strong.spectrum-Detail-emphasized,
.spectrum-Detail--light:lang(zh) .spectrum-Detail-strong.spectrum-Detail-emphasized {
    font-style: var(--mod-detail-cjk-light-strong-emphasized-font-style, var(--spectrum-detail-cjk-light-strong-emphasized-font-style));
    font-weight: var(--mod-detail-cjk-light-strong-emphasized-font-weight, var(--spectrum-detail-cjk-light-strong-emphasized-font-weight));
}

.spectrum-Detail--serif.spectrum-Detail--light {
    font-style: var(--mod-detail-serif-light-font-style, var(--spectrum-detail-serif-light-font-style));
    font-weight: var(--mod-detail-serif-light-font-weight, var(--spectrum-detail-serif-light-font-weight));
}

.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-strong,
.spectrum-Detail--serif.spectrum-Detail--light strong {
    font-style: var(--mod-detail-serif-light-strong-font-style, var(--spectrum-detail-serif-light-strong-font-style));
    font-weight: var(--mod-detail-serif-light-strong-font-weight, var(--spectrum-detail-serif-light-strong-font-weight));
}

.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-emphasized,
.spectrum-Detail--serif.spectrum-Detail--light em {
    font-style: var(--mod-detail-serif-light-emphasized-font-style, var(--spectrum-detail-serif-light-emphasized-font-style));
    font-weight: var(--mod-detail-serif-light-emphasized-font-weight, var(--spectrum-detail-serif-light-emphasized-font-weight));
}

.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-strong.spectrum-Body-emphasized,
.spectrum-Detail--serif.spectrum-Detail--light em strong,
.spectrum-Detail--serif.spectrum-Detail--light strong em {
    font-style: var(--mod-detail-serif-light-strong-emphasized-font-style, var(--spectrum-detail-serif-light-strong-emphasized-font-style));
    font-weight: var(--mod-detail-serif-light-strong-emphasized-font-weight, var(--spectrum-detail-serif-light-strong-emphasized-font-weight));
}

.spectrum-Code,
.spectrum-Code--sizeM {
    --spectrum-code-font-size: var(--spectrum-code-size-m);
}

.spectrum-Code--sizeXS {
    --spectrum-code-font-size: var(--spectrum-code-size-xs);
}

.spectrum-Code--sizeS {
    --spectrum-code-font-size: var(--spectrum-code-size-s);
}

.spectrum-Code--sizeL {
    --spectrum-code-font-size: var(--spectrum-code-size-l);
}

.spectrum-Code--sizeXL {
    --spectrum-code-font-size: var(--spectrum-code-size-xl);
}

.spectrum-Code {
    --spectrum-code-font-family: var(--spectrum-code-font-family-stack);
    --spectrum-code-cjk-letter-spacing: var(--spectrum-cjk-letter-spacing);
    --spectrum-code-font-color: var(--spectrum-code-color);
    font-family: var(--mod-code-font-family, var(--spectrum-code-font-family));
    font-style: var(--mod-code-font-style, var(--spectrum-code-font-style));
    font-weight: var(--mod-code-font-weight, var(--spectrum-code-font-weight));
    font-size: var(--mod-code-font-size, var(--spectrum-code-font-size));
    line-height: var(--mod-code-line-height, var(--spectrum-code-line-height));
    color: var(--highcontrast-code-font-color, var(--mod-code-font-color, var(--spectrum-code-font-color)));
    margin-block-start: var(--mod-code-margin-start, 0);
    margin-block-end: var(--mod-code-margin-end, 0);
}

.spectrum-Code .spectrum-Code-strong,
.spectrum-Code strong {
    font-style: var(--mod-code-strong-font-style, var(--spectrum-code-strong-font-style));
    font-weight: var(--mod-code-strong-font-weight, var(--spectrum-code-strong-font-weight));
}

.spectrum-Code .spectrum-Code-emphasized,
.spectrum-Code em {
    font-style: var(--mod-code-emphasized-font-style, var(--spectrum-code-emphasized-font-style));
    font-weight: var(--mod-code-emphasized-font-weight, var(--spectrum-code-emphasized-font-weight));
}

.spectrum-Code .spectrum-Code-strong.spectrum-Code-emphasized,
.spectrum-Code em strong,
.spectrum-Code strong em {
    font-style: var(--mod-code-strong-emphasized-font-style, var(--spectrum-code-strong-emphasized-font-style));
    font-weight: var(--mod-code-strong-emphasized-font-weight, var(--spectrum-code-strong-emphasized-font-weight));
}

.spectrum-Code:lang(ja),
.spectrum-Code:lang(ko),
.spectrum-Code:lang(zh) {
    font-family: var(--mod-code-cjk-font-family, var(--spectrum-code-cjk-font-family));
    font-style: var(--mod-code-cjk-font-style, var(--spectrum-code-cjk-font-style));
    font-weight: var(--mod-code-cjk-font-weight, var(--spectrum-code-cjk-font-weight));
    line-height: var(--mod-code-cjk-line-height, var(--spectrum-code-cjk-line-height));
    letter-spacing: var(--mod-code-cjk-letter-spacing, var(--spectrum-code-cjk-letter-spacing));
}

.spectrum-Code:lang(ja) .spectrum-Code-strong,
.spectrum-Code:lang(ja) strong,
.spectrum-Code:lang(ko) .spectrum-Code-strong,
.spectrum-Code:lang(ko) strong,
.spectrum-Code:lang(zh) .spectrum-Code-strong,
.spectrum-Code:lang(zh) strong {
    font-style: var(--mod-code-cjk-strong-font-style, var(--spectrum-code-cjk-strong-font-style));
    font-weight: var(--mod-code-cjk-strong-font-weight, var(--spectrum-code-cjk-strong-font-weight));
}

.spectrum-Code:lang(ja) .spectrum-Code-emphasized,
.spectrum-Code:lang(ja) em,
.spectrum-Code:lang(ko) .spectrum-Code-emphasized,
.spectrum-Code:lang(ko) em,
.spectrum-Code:lang(zh) .spectrum-Code-emphasized,
.spectrum-Code:lang(zh) em {
    font-style: var(--mod-code-cjk-emphasized-font-style, var(--spectrum-code-cjk-emphasized-font-style));
    font-weight: var(--mod-code-cjk-emphasized-font-weight, var(--spectrum-code-cjk-emphasized-font-weight));
}

.spectrum-Code:lang(ja) .spectrum-Code-strong.spectrum-Code-emphasized,
.spectrum-Code:lang(ja) em strong,
.spectrum-Code:lang(ja) strong em,
.spectrum-Code:lang(ko) .spectrum-Code-strong.spectrum-Code-emphasized,
.spectrum-Code:lang(ko) em strong,
.spectrum-Code:lang(ko) strong em,
.spectrum-Code:lang(zh) .spectrum-Code-strong.spectrum-Code-emphasized,
.spectrum-Code:lang(zh) em strong,
.spectrum-Code:lang(zh) strong em {
    font-style: var(--mod-code-cjk-strong-emphasized-font-style, var(--spectrum-code-cjk-strong-emphasized-font-style));
    font-weight: var(--mod-code-cjk-strong-emphasized-font-weight, var(--spectrum-code-cjk-strong-emphasized-font-weight));
}
