/* Settings > Training videos (js/training-studio-admin.js, Nick 11/8/26).
   Built only from the settings vocabulary: sx-card, sx-table, sx-dialog.
   One gold fill: the primary action. */
.tv-top{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 14px; flex-wrap:wrap; }
.tv-top .tv-mac{ margin:0; }
.tv-mac{ margin:10px 0 0; font-size:13px; line-height:1.5; color:var(--text-muted); }
.tv-mac b{ font-weight:600; color:var(--text-body); }
.tv-mac .set-ok{ font-weight:600; }
.tv-mac .tv-warn{ color:var(--amber-ink); font-weight:600; }
.tv-table td{ padding-top:14px; padding-bottom:14px; }
.tv-table .tv-t{ font-weight:600; color:var(--text-strong); }
.tv-table .tv-sub{ display:block; font-size:12.5px; color:var(--text-muted); margin-top:2px; }
.tv-table td.tv-len, .tv-table th.tv-len{ width:1%; white-space:nowrap; text-align:right; font-variant-numeric:tabular-nums; color:var(--text-body); padding-right:28px; }
.tv-table td.tv-state, .tv-table th.tv-state{ width:240px; }
.tv-table td.tv-act, .tv-table th.tv-act{ width:1%; white-space:nowrap; text-align:right; }
.tv-state-k{ font-size:13px; color:var(--text-body); }
.tv-state-k.is-muted{ color:var(--text-muted); }
.tv-state-k.is-ready{ color:var(--gold-ink); font-weight:600; }
.tv-state-k.is-err{ color:var(--red-ink); }
.tv-state-m{ font-size:12px; color:var(--text-muted); margin-top:2px; }
.tv-bar{ height:4px; border-radius:2px; background:var(--rule); margin-top:8px; overflow:hidden; max-width:200px; }
.tv-bar i{ display:block; height:100%; width:0; background:var(--gold); border-radius:2px; transition:width .5s var(--my-ease-out, cubic-bezier(.22,1,.36,1)); }
.tv-table tr.is-busy td{ background:var(--hover); }
/* dialog parts */
.tv-d .sx-d-sub{ margin-top:4px; }
.tv-d .set-textarea{ min-height:96px; }
.tv-d .set-check input{ width:16px; height:16px; accent-color:var(--gold); }
.tv-d .tv-check-help{ margin:4px 0 0 24px; font-size:12.5px; color:var(--text-muted); line-height:1.45; }
.tv-video .ds-empty{ color:#c3c5cc; padding:24px; }
.tv-video{ margin-top:18px; border-radius:var(--my-r, 12px); overflow:hidden; background:#0f1320; aspect-ratio:16/9; box-shadow:var(--ds-shadow-card); }
.tv-video video{ display:block; width:100%; height:100%; object-fit:contain; }
.tv-changes{ margin-top:18px; }
.tv-changes h4{ margin:0 0 8px; font:600 15px/1.3 var(--font-serif); letter-spacing:-.01em; color:var(--text-head); }
.tv-change{ padding:10px 0; border-top:1px solid var(--rule); font-size:13px; line-height:1.5; }
.tv-change:first-of-type{ border-top:0; padding-top:0; }
.tv-change-k{ font-size:12px; color:var(--text-muted); margin-bottom:4px; }
.tv-was{ color:var(--text-muted); text-decoration:line-through; text-decoration-color:color-mix(in oklab, var(--text-muted) 60%, transparent); }
.tv-now{ color:var(--text-strong); margin-top:4px; }
.tv-note-echo{ margin-top:14px; font-size:13px; color:var(--text-body); line-height:1.5; }
.tv-note-echo b{ font-weight:600; color:var(--text-head); }
.tv-again{ margin-top:16px; }
.tv-toast{ position:fixed; left:50%; bottom:28px; transform:translateX(-50%); z-index:9500; display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border-radius:14px;
  background:color-mix(in oklab, var(--surface) 90%, transparent); color:var(--text-strong); font:500 14px/1.3 var(--font-sans); box-shadow:var(--my-pop-shadow);
  -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); animation:sx-rise .42s var(--my-sheet, cubic-bezier(.2,.8,.2,1)); }
.tv-table .tv-sub-state{ display:none; font-size:12.5px; margin-top:4px; }
label.sx-f{ display:block; }
@media (max-width:900px){
  .tv-table th.tv-len, .tv-table td.tv-len{ display:none; }
  .tv-table td.tv-state, .tv-table th.tv-state{ width:auto; }
}
@media (max-width:640px){
  .tv-table th.tv-state, .tv-table td.tv-state{ display:none; }
  .tv-table .tv-sub-state{ display:block; }
  .tv-top .ds-btn{ width:100%; justify-content:center; min-height:44px; }
  .tv-table td.tv-act .ds-btn{ min-height:40px; }
}
@media (prefers-reduced-motion:reduce){ .tv-bar i{ transition:none; } .tv-toast{ animation:none; } }
#trainingStudioContainer .sr-only, .tv-table .sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.tv-d .sx-d-foot .set-status{ margin:0; }
.tv-approval-note{ margin-top:14px; }
