/* Transcriptor de hablaki.com · se apoya en las variables y la tipografía de /guias.css */
.tx-hero { max-width:860px; margin:0 auto; padding:24px 0 0; }
.tx-hero .lead { margin-bottom:26px; }
.tx-tool { max-width:860px; margin:0 auto; display:flex; flex-direction:column; gap:18px; }
.tx-card { background:rgba(22,12,28,.78); border:1px solid var(--line); border-radius:22px; padding:22px; backdrop-filter:blur(10px); }
.tx-drop { border:1.5px dashed rgba(255,255,255,.22); border-radius:18px; padding:30px 16px; text-align:center; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:4px; transition:border-color .2s var(--ease), background .2s var(--ease); }
.tx-drop:hover, .tx-drop.over { border-color:var(--rose); background:rgba(224,32,122,.07); }
.tx-drop svg { color:var(--rose); margin-bottom:4px; }
.tx-drop strong { font-size:19px; line-height:1.3; overflow-wrap:anywhere; }
.tx-drop span { color:var(--muted); font-size:15px; line-height:1.45; }
.tx-drop .tx-formats { font-size:12.5px; letter-spacing:.02em; margin-top:6px; opacity:.85; }
.tx-row2 { margin-top:18px; }
.tx-field { display:flex; flex-direction:column; gap:6px; font-size:14px; color:var(--muted); min-width:0; }
.tx-field select { width:100%; appearance:none; background:#20162a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b7a6b9' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; color:var(--fg); border:1px solid rgba(255,255,255,.18); border-radius:12px; padding:11px 36px 11px 14px; font:inherit; font-size:16px; }
.tx-modes { border:0; padding:0; margin:18px 0 0; min-width:0; }
.tx-modes legend { font-size:14px; color:var(--muted); margin-bottom:8px; padding:0; }
.tx-scale { display:flex; justify-content:space-between; font-size:12px; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin:0 4px 6px; }
.tx-scale span:last-child::after { content:" →"; } .tx-scale span:first-child::before { content:"← "; }
.tx-seg-ctl { display:grid; grid-template-columns:repeat(3,1fr); padding:4px; gap:4px; border-radius:14px; background:#1b1222; border:1px solid rgba(255,255,255,.14); }
.tx-seg-ctl label { position:relative; cursor:pointer; }
.tx-seg-ctl input { position:absolute; opacity:0; inset:0; margin:0; }
.tx-seg-ctl span { display:block; text-align:center; padding:10px 6px; border-radius:10px; font-weight:700; font-size:15.5px; color:var(--muted); transition:background .2s var(--ease), color .2s; }
.tx-seg-ctl input:checked + span { background:var(--grad); color:#fff; box-shadow:0 6px 20px -10px rgba(224,32,122,.9); }
.tx-seg-ctl input:focus-visible + span { outline:2px solid #7cc4ff; outline-offset:2px; }
.tx-seg-ctl input:disabled + span { opacity:.4; cursor:not-allowed; }
.tx-mode-info { font-size:14.5px; margin:10px 2px 0; line-height:1.5; }
.tx-mode-info .ok { color:#5fd59a; font-weight:600; }
.tx-mode-info .peso { color:var(--muted); }
.tx-link { font:inherit; font-size:inherit; color:#7cc4ff; background:none; border:0; padding:0; cursor:pointer; text-decoration:underline; }
.tx-hint { font-size:13.5px; color:var(--muted); margin:10px 0 0; line-height:1.5; }
.tx-more { margin-top:16px; border-top:1px solid var(--line); padding-top:12px; }
.tx-more summary { cursor:pointer; font-size:15px; color:var(--fg); font-weight:600; }
.tx-check { display:flex; gap:12px; align-items:flex-start; margin-top:12px; cursor:pointer; }
.tx-check input { margin-top:5px; width:18px; height:18px; accent-color:var(--rose); flex:none; }
.tx-check span { display:flex; flex-direction:column; }
.tx-check b { font-size:15.5px; }
.tx-check small { color:var(--muted); font-size:13.5px; line-height:1.45; }
.tx-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.tx-btn { font:inherit; font-size:15.5px; font-weight:650; border-radius:12px; padding:12px 22px; cursor:pointer; border:1px solid rgba(255,255,255,.18); background:#20162a; color:var(--fg); transition:transform .15s var(--ease), opacity .2s; }
.tx-btn:hover:not(:disabled) { transform:translateY(-1px); }
.tx-btn:disabled { opacity:.45; cursor:not-allowed; }
.tx-btn:focus-visible, .tx-drop:focus-visible, .tx-title:focus-visible { outline:2px solid #7cc4ff; outline-offset:2px; }
.tx-primary { background:var(--grad); border:0; color:#fff; min-width:170px; box-shadow:0 8px 30px -10px rgba(224,32,122,.7); }
.tx-small { font-size:14px; padding:9px 14px; }
.tx-status { margin-top:18px; }
.tx-bar { height:8px; background:#20162a; border-radius:99px; overflow:hidden; }
.tx-bar i { display:block; height:100%; width:0; background:var(--grad); transition:width .3s var(--ease); }
.tx-status p { margin:8px 0 0; font-size:14.5px; color:var(--muted); }
.tx-status p.err { color:#ff8a8a; }
.tx-privacy { font-size:13px; color:var(--muted); margin:16px 0 0; line-height:1.5; }
.tx-result-head { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
.tx-title { flex:1; min-width:200px; font:inherit; font-size:19px; font-weight:750; color:var(--fg); background:transparent; border:1px solid transparent; border-radius:10px; padding:6px 8px; margin-left:-8px; }
.tx-title:hover { border-color:var(--line); }
.tx-tools { display:flex; gap:14px; flex-wrap:wrap; }
.tx-toggle { font-size:14px; color:var(--muted); display:flex; align-items:center; gap:6px; cursor:pointer; }
.tx-toggle input { accent-color:var(--rose); }
.tx-out { background:#150d1a; border:1px solid var(--line); border-radius:14px; padding:6px; max-height:520px; overflow:auto; font-size:16px; line-height:1.6; }
.tx-seg { display:grid; grid-template-columns:auto 1fr; gap:2px 12px; padding:7px 10px; border-radius:9px; }
.tx-seg:hover { background:rgba(255,255,255,.035); }
.tx-meta { font-size:12.5px; color:#7cc4ff; font-variant-numeric:tabular-nums; padding-top:3px; white-space:nowrap; }
.tx-meta .spk { display:block; color:var(--sun); font-weight:700; }
.tx-text { outline:none; border-radius:6px; }
.tx-text:focus { background:rgba(124,196,255,.08); box-shadow:0 0 0 2px rgba(124,196,255,.35); }
.tx-out.no-ts .tx-meta .ts, .tx-out.no-spk .tx-meta .spk { display:none; }
.tx-out.no-ts.no-spk .tx-seg, .tx-out.no-ts:not(.has-spk) .tx-seg { grid-template-columns:1fr; }
.tx-out.no-ts.no-spk .tx-meta, .tx-out.no-ts:not(.has-spk) .tx-meta { display:none; }
.tx-export { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.tx-exp-ts { margin-top:10px; }
.tx-h { font-size:20px; margin:0 0 2px; }
.tx-history ul { list-style:none; padding:0; margin:12px 0 0; }
.tx-history li { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 0; border-top:1px solid var(--line); margin:0; }
.tx-history li span { flex:1; min-width:180px; overflow-wrap:anywhere; }
.tx-history li small { color:var(--muted); display:block; font-size:13px; }
.tx-cta { display:flex; gap:18px; align-items:center; flex-wrap:wrap; padding:20px 22px; border-radius:22px; background:linear-gradient(#170d1d,#170d1d) padding-box, var(--grad) border-box; border:1px solid transparent; }
.tx-cta div { flex:1; min-width:240px; display:flex; flex-direction:column; gap:4px; }
.tx-cta b { font-size:18px; }
.tx-cta span { color:var(--muted); font-size:15px; line-height:1.5; }
.tx-ad { min-height:100px; }
@media (max-width:640px) {
  .tx-card { padding:16px; border-radius:18px; }
  .tx-seg { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) { .tx-btn, .tx-bar i, .tx-drop { transition:none; } }
.tx-quota { margin-top:12px; }
.tx-upsell { margin-top:16px; padding:18px 20px; border-radius:16px; display:flex; flex-direction:column; gap:6px; align-items:flex-start; background:linear-gradient(#1b1022,#1b1022) padding-box, var(--grad) border-box; border:1px solid transparent; }
.tx-upsell b { font-size:17.5px; }
.tx-upsell span { color:var(--muted); font-size:15px; line-height:1.5; }
.tx-upsell .btn { margin-top:8px; }
.tx-upsell[hidden], .tx-engine[hidden], #txLocalOpts[hidden] { display:none; }

/* aviso de beta sobre la herramienta */
.tx-beta { display:block; margin:0 0 14px; padding:10px 14px; border-radius:14px; border:1px solid rgba(255,216,77,.3); background:rgba(255,216,77,.07); font-size:15px; line-height:1.4; color:var(--muted); }
.tx-beta b { margin-right:8px; background:var(--sun); color:#1a0d1f; border-radius:99px; padding:2px 10px; font-size:12px; letter-spacing:.04em; text-transform:uppercase; font-weight:800; white-space:nowrap; }
.tx-beta a { color:var(--fg); }
