/* transcribe.css — вкладка «Транскрибация» для пользователей (transcribe.js). Токены из styles.css, светлая и тёмная темы. */
#transcribeBody { padding: 22px 22px 40px; max-width: 920px; }
.tx-lead { color: var(--text-dim); font-size: 14px; margin: 0 0 14px; }
.tx-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 34px 16px; border: 2px dashed var(--border-strong); border-radius: var(--radius-m); background: var(--surface); cursor: pointer; text-align: center; }
.tx-drop.on, .tx-drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.tx-drop span, .tx-muted { color: var(--text-dim); font-size: 13px; }
.tx-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 14px 16px; margin-top: 14px; }
.tx-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: 8px; }
.tx-badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--info-soft); color: var(--info); }
.tx-badge.ok { background: var(--accent-soft); color: var(--accent-text); }
.tx-badge.warn { background: var(--warn-soft); color: var(--warn-text); }
.tx-badge.bad { background: var(--danger-soft); color: var(--danger-text); }
.tx-bar { height: 8px; border-radius: 99px; background: var(--border); overflow: hidden; margin: 8px 0 4px; }
.tx-bar i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.tx-bar.busy i { width: 35% !important; animation: txslide 1.4s ease-in-out infinite; }
@keyframes txslide { 0% { margin-left: -35%; } 100% { margin-left: 100%; } }
.tx-text { width: 100%; min-height: 260px; box-sizing: border-box; margin-top: 10px; padding: 10px; border: 1px solid var(--field-border); border-radius: var(--radius-s); background: var(--field-bg); color: var(--text); font: 14px/1.5 var(--font-ui); resize: vertical; }
.tx-model .ui-sel { margin-left: 6px; }
.tx-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tx-btn { border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: var(--radius-s); padding: 6px 12px; cursor: pointer; font: 500 13px var(--font-ui); }
.tx-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.tx-bad { color: var(--danger-text); }
.tx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-table th { text-align: left; color: var(--text-dim); font-weight: 600; font-size: 12px; padding: 4px 6px; }
.tx-table td { padding: 7px 6px; border-top: 1px solid var(--border); vertical-align: middle; }
.tx-wrap { overflow-x: auto; }
