/* WORDS_VOICE_GUIDE_PREVIEW_V1_BEGIN */

.words-voice-guide {
    width: 100%;
    margin: 0 0 22px;
    padding: 22px;
    border: 1px solid rgba(96, 165, 250, 0.42);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(30, 64, 175, 0.42),
            rgba(15, 23, 42, 0.96)
        );
    box-shadow:
        0 20px 45px rgba(2, 6, 23, 0.30);
    color: #f8fafc;
}

.words-guide-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.words-guide-avatar {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 17px;
    background: #f8fafc;
    font-size: 32px;
}

.words-guide-kicker {
    margin: 0 0 3px;
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.words-guide-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(23px, 4vw, 32px);
    line-height: 1.15;
}

.words-guide-subtitle {
    margin: 0 0 16px;
    color: #dbeafe;
    font-size: 16px;
    line-height: 1.65;
}

.words-guide-primary,
.words-guide-control {
    min-height: 50px;
    border: 0;
    border-radius: 13px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.words-guide-primary {
    width: 100%;
    margin-bottom: 9px;
    padding: 11px 18px;
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #0ea5e9
        );
    color: #ffffff;
    box-shadow:
        0 13px 28px rgba(37, 99, 235, 0.28);
}

.words-guide-primary:disabled,
.words-guide-control:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.words-guide-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.words-guide-control {
    padding: 10px 14px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    background: rgba(248, 250, 252, 0.96);
    color: #0f172a;
}

.words-guide-options {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 22px;
    margin-top: 13px;
}

.words-guide-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbeafe;
    font-weight: 650;
}

.words-guide-option input {
    width: 20px;
    height: 20px;
    accent-color: #38bdf8;
}

.words-guide-caption {
    margin: 13px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(8, 17, 32, 0.64);
    color: #dbeafe;
    font-size: 15px;
    line-height: 1.55;
}

.words-guide-caption[hidden] {
    display: none;
}

.words-guide-status {
    min-height: 23px;
    margin: 10px 0 0;
    color: #93c5fd;
    font-size: 14px;
}

html[dir="rtl"] .words-guide-heading {
    text-align: right;
}

@media (max-width: 700px) {
    .words-voice-guide {
        padding: 17px;
        border-radius: 18px;
    }

    .words-guide-controls {
        grid-template-columns: 1fr;
    }

    .words-guide-heading {
        align-items: flex-start;
    }
}

/* WORDS_VOICE_GUIDE_PREVIEW_V1_END */
