/* ==================== ТРАНСКРИБАЦИИ ====================
   Независимый раздел — импорт диалогов из аудио.
   Переиспользует классы из app.css (.card, .btn, .form-*, .provider-option, .dialog-list-item,
   таблица .tr-preview-table, плашка .tr-warning, бейдж .tr-badge); здесь — только своё. */

.tr-scenario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 720px) {
    .tr-scenario-grid { grid-template-columns: 1fr; }
}

.tr-scenario-card { display: block; margin-bottom: 0; }
.tr-scenario-card input[type="radio"] { margin-right: 6px; }

.tr-scenario-title {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 4px;
    color: rgb(var(--ink));
}

.tr-scenario-desc {
    font-size: 13px;
    line-height: 18px;
    color: rgb(var(--ink-muted));
}

.tr-participant-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.tr-participant-card {
    border: 1px solid rgb(var(--border));
    border-radius: var(--radius-control);
    background: rgb(var(--surface-raised) / 0.4);
    padding: 12px 14px;
}

.tr-participant-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tr-participant-head .form-input { flex: 1; }

.tr-file-meta {
    font-size: 13px;
    line-height: 18px;
    color: rgb(var(--ink-muted));
    margin-bottom: 8px;
}

.tr-file-meta.tr-file-missing { color: rgb(var(--danger)); }

.tr-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed rgb(var(--ink-faint) / 0.6);
    border-radius: var(--radius-control);
    background: rgb(var(--surface-raised) / 0.4);
    padding: 24px 14px;
    text-align: center;
    color: rgb(var(--ink-muted));
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.tr-dropzone:hover, .tr-dropzone.dragover {
    border-color: rgb(var(--brand));
    color: rgb(var(--brand-strong));
    background: rgb(var(--brand-tint));
}

.tr-preview-table-wrap { border-radius: var(--radius-control); }
.tr-preview-table { font-size: 14px; line-height: 20px; }
.tr-preview-table td { vertical-align: top; }

.tr-preview-table td.tr-time {
    white-space: nowrap;
    color: rgb(var(--ink-faint));
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.tr-preview-table td.tr-speaker {
    white-space: nowrap;
    font-weight: 500;
}

.tr-step-title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    margin: 20px 0 10px;
    color: rgb(var(--ink));
}

.tr-step-title:first-child { margin-top: 0; }
