/* BEGIN GT_TIME_WRITE_SPEAK_V1 */

.gt-ws-mode {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
}

.gt-ws-mode label {
    font-weight: 800;
}

.gt-ws-mode select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid rgba(125, 211, 252, .38);
    border-radius: 12px;
    color: #f8fafc;
    background: #0f172a;
    font: inherit;
}

.gt-ws-panel {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.gt-ws-hidden {
    display: none !important;
}

.gt-ws-card {
    padding: 18px;
    border: 1px solid rgba(125, 211, 252, .32);
    border-radius: 18px;
    background: rgba(15, 23, 42, .58);
}

.gt-ws-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.gt-ws-help {
    margin: 0 0 14px;
    color: #cbd5e1;
    line-height: 1.5;
}

.gt-ws-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gt-ws-time-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 58px;
    padding: 12px;
    border: 2px solid rgba(148, 163, 184, .42);
    border-radius: 14px;
    outline: none;
    color: #f8fafc;
    background: #111827;
    font: inherit;
    font-size: 19px;
    font-weight: 800;
    text-align: left;
    direction: ltr;
}

.gt-ws-time-input:focus {
    border-color: #38bdf8;
}

.gt-ws-time-input:disabled {
    opacity: .75;
}

.gt-ws-button {
    width: 100%;
    min-height: 50px;
    margin-top: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(125, 211, 252, .48);
    border-radius: 14px;
    color: #fff;
    background: #0369a1;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.gt-ws-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.gt-ws-status {
    min-height: 25px;
    margin-top: 10px;
    line-height: 1.5;
    white-space: pre-line;
}

.gt-ws-ok {
    color: #86efac;
}

.gt-ws-bad {
    color: #fca5a5;
}

.gt-ws-voice-list {
    display: grid;
    gap: 12px;
}

.gt-ws-voice-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 14px;
    background: rgba(30, 41, 59, .70);
}

.gt-ws-voice-row.done {
    border-color: rgba(74, 222, 128, .65);
}

.gt-ws-time-label {
    font-size: 18px;
    font-weight: 850;
    text-align: left;
    direction: ltr;
    overflow-wrap: anywhere;
}

.gt-ws-record {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(125, 211, 252, .45);
    border-radius: 12px;
    color: #fff;
    background: #1d4ed8;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.gt-ws-record.recording {
    background: #991b1b;
}

.gt-ws-record:disabled {
    opacity: .52;
    cursor: not-allowed;
}

.gt-ws-voice-result {
    grid-column: 1 / -1;
    min-height: 22px;
    color: #cbd5e1;
    line-height: 1.45;
    white-space: pre-line;
}

.gt-ws-next {
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid rgba(74, 222, 128, .60);
    border-radius: 14px;
    color: #fff;
    background: #15803d;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.gt-ws-summary {
    padding: 24px 18px;
    border: 1px solid rgba(74, 222, 128, .50);
    border-radius: 18px;
    background: rgba(20, 83, 45, .20);
    text-align: center;
}

.gt-ws-summary h3 {
    margin-top: 0;
}

@media (max-width: 620px) {
    .gt-ws-inputs {
        grid-template-columns: 1fr;
    }

    .gt-ws-card {
        padding: 14px;
    }

    .gt-ws-voice-row {
        grid-template-columns: 1fr;
    }

    .gt-ws-voice-result {
        grid-column: auto;
    }
}

/* END GT_TIME_WRITE_SPEAK_V1 */
