/* Same spacing and type scale as .report-meta-primary__freq */
p.heca-translate-wrap {
    margin: 8px 0 0;
    font-family: "Spline Sans", sans-serif;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    letter-spacing: 0;
}

p.heca-translate-wrap .heca-translate-link,
p.heca-translate-wrap .heca-translate-status {
    font-family: "Spline Sans", sans-serif;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    letter-spacing: 0;
}

.heca-translate-link {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    text-decoration: none;
    text-underline-offset: 0.12em;
    cursor: pointer;
}

p.heca-translate-wrap a.heca-translate-link:link,
p.heca-translate-wrap a.heca-translate-link:visited {
    color: var(--grey-600, #4e4e4e);
}

p.heca-translate-wrap a.heca-translate-link:hover,
p.heca-translate-wrap a.heca-translate-link:visited:hover {
    color: var(--black, #1a1a1a);
}

.heca-translate-link:focus-visible {
    outline: 2px solid var(--grey-600, #4e4e4e);
    outline-offset: 2px;
    border-radius: 2px;
}

.heca-translate-link[aria-disabled="true"],
.heca-translate-link.heca-translate-link--disabled {
    color: var(--grey-400, #c6cbcc);
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}

.heca-translate-link.heca-translate-link--loading {
    cursor: wait;
    opacity: 0.75;
}

.heca-translate-status {
    display: inline;
    color: var(--grey-500, #949899);
}

.heca-translate-status.hidden {
    display: none;
}

.heca-translate-status:not(.hidden)::before {
    content: " · ";
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.heca-translate-status--error {
    color: #b42318;
}

.heca-translate-status--info {
    color: var(--grey-500, #949899);
}

@media print {
    #hecaTranslateWrap,
    .heca-translate-wrap {
        display: none !important;
    }
}
