/* Studio videoapi — compléments à Tabler */
.thumb-cell { width: 88px; height: 50px; object-fit: cover; border-radius: 4px; background: var(--tblr-bg-surface-secondary); display: block; }
.thumb-cell.placeholder { display: flex; align-items: center; justify-content: center; color: var(--tblr-secondary); }
pre.json, pre.log { max-height: 520px; overflow: auto; font-size: .78rem; background: var(--tblr-bg-surface-secondary); padding: .75rem; border-radius: 6px; white-space: pre-wrap; word-break: break-word; }
pre.log .lvl-ERROR { color: var(--tblr-danger); }
pre.log .lvl-WARN { color: var(--tblr-warning); }
pre.log .ts { color: var(--tblr-secondary); }
.scenes .scene { border: 1px solid var(--tblr-border-color); border-radius: 8px; padding: .75rem; margin-bottom: .75rem; display: grid; grid-template-columns: 220px 1fr; gap: .9rem; }
@media (max-width: 767px) { .scenes .scene { grid-template-columns: 1fr; } }
.scenes .scene .media { position: relative; }
.scenes .scene .media img, .scenes .scene .media video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; background: #000; display: block; }
.scenes .scene .media .kind { position: absolute; top: 6px; left: 6px; }
.scenes .scene .narration { font-size: .9rem; }
.scenes .scene .prompt { font-size: .75rem; color: var(--tblr-secondary); max-height: 4.6em; overflow: hidden; }
.scenes .scene .prompt.open { max-height: none; }
.script p { margin-bottom: .6rem; }
.script .n { color: var(--tblr-secondary); font-size: .75rem; margin-right: .4rem; }
.cost-bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; }
.cost-bars .bar { flex: 1; background: var(--tblr-primary); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .85; }
.cost-bars .bar.empty { background: var(--tblr-border-color); }
.asset-list .asset { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; border-bottom: 1px solid var(--tblr-border-color); }
.asset-list .asset:last-child { border-bottom: 0; }
.asset-list audio, .asset-list video { max-height: 32px; }
.asset-list video { max-height: 60px; width: 106px; border-radius: 4px; background: #000; }
.product-card { width: 110px; cursor: pointer; }
.product-card img { width: 110px; height: 110px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--tblr-border-color); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.table td.title-cell { max-width: 420px; }
.table td.title-cell .t { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
dl.row dt { font-weight: 500; color: var(--tblr-secondary); }
.job-player-poster { display: flex; align-items: center; justify-content: center; color: #ccc; }
