.epf-tts,
.epf-tts * {
    box-sizing: border-box;
}

.epf-tts {
    display: block;
    clear: both;
    float: none !important;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 20px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid #d9e5f4;
    border-radius: 12px;
    background: #f6f9fd;
    color: #123f73;
    font-family: inherit;
    line-height: 1.4;
    isolation: isolate;
    contain: layout style;
}

.epf-tts__config {
    display: none !important;
}

.epf-tts__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 11px;
}

.epf-tts__icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 9px;
    background: #0756c9;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.epf-tts__body {
    flex: 1 1 180px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.epf-tts__title {
    margin: 0;
    padding: 0;
    color: #073b88;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.epf-tts__meta,
.epf-tts__status {
    margin: 2px 0 0;
    padding: 0;
    overflow-wrap: anywhere;
    color: #5c6f86;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.epf-tts__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    background: #0756c9;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    float: none !important;
    position: static;
    transform: none;
}

.epf-tts__button:hover,
.epf-tts__button:focus {
    background: #0648a8;
    color: #fff;
}

.epf-tts__button:focus-visible {
    outline: 3px solid rgba(7, 86, 201, .24);
    outline-offset: 2px;
}

.epf-tts__button:disabled {
    opacity: .65;
    cursor: wait;
}

.epf-tts__audio {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.epf-tts__native {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 36px;
    margin: 10px 0 0 !important;
    float: none !important;
    position: static;
}

@media (max-width: 600px) {
    .epf-tts {
        margin-bottom: 16px;
        padding: 12px;
        border-radius: 10px;
    }

    .epf-tts__row {
        align-items: flex-start;
        gap: 9px;
    }

    .epf-tts__icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .epf-tts__button {
        flex: 1 0 100%;
        width: 100%;
        margin-top: 2px;
    }
}
