/* «Видео» in the content manager (unlayered, like the tidy files). */
.videos-admin { display: grid; grid-template-columns: minmax(270px, 330px) minmax(0, 1fr); gap: 18px; align-items: start; }
.videos-admin__side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.videos-admin__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.videos-admin__head strong { display: block; font-size: 16px; }
.videos-admin__head span { display: block; color: #5f6972; font-size: 12px; }
.videos-admin__head .button { flex: none; border-color: rgba(201, 71, 10, 0.45); color: #c9470a; background: #fff; }
.videos-admin__list { display: flex; flex-direction: column; gap: 6px; max-height: 62vh; overflow-y: auto; padding-right: 2px; }
.videos-admin__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px; border: 1px solid #e3e6e8; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.videos-admin__row:hover { border-color: #c4ccd1; }
.videos-admin__row.is-active { border-color: #c9470a; box-shadow: 0 0 0 2px rgba(201, 71, 10, 0.14); }
.videos-admin__row.is-drop { border-style: dashed; border-color: #c9470a; }
.videos-admin__row strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.videos-admin__row small { font-size: 12px; }
.videos-admin__thumb { position: relative; display: grid; place-items: center; width: 96px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #1f2527; color: #8d989b; font-size: 11px; }
.videos-admin__thumb img { width: 100%; height: 100%; object-fit: cover; }
.videos-admin__thumb i { position: absolute; right: 3px; bottom: 3px; padding: 0 4px; border-radius: 4px; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 11px; font-style: normal; line-height: 16px; }
.videos-admin__settings { padding: 10px 12px; border: 1px solid #e3e6e8; border-radius: 10px; background: #fafbfb; }
.videos-admin__settings summary { cursor: pointer; font-weight: 700; }
.videos-admin__settings .form-grid { margin-top: 10px; }
.video-editor__grid { display: grid; grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.video-editor__media { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.video-editor__screen { position: relative; width: 100%; max-height: 62vh; overflow: hidden; border-radius: 12px; background: #111618; }
.video-editor__screen video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-editor__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 160px; padding: 20px; color: #8d989b; font-size: 13px; text-align: center; }
.video-editor__empty b { color: #c8d0d2; font-size: 24px; }
.video-editor__progress { height: 6px; overflow: hidden; border-radius: 999px; background: #e7eaec; }
.video-editor__progress[hidden] { display: none; }
.video-editor__progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: #c9470a; transition: width 0.2s ease; }
.video-editor__upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.video-editor__status { color: #5d676b; font-size: 12px; word-break: break-all; }
.video-editor .section-row .actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (max-width: 1100px) {
  .videos-admin, .video-editor__grid { grid-template-columns: minmax(0, 1fr); }
}

/* The content tab strip scrolls when the sections do not fit (one more section: «Видео»);
   a thin scrollbar shows that more tabs follow instead of silently cutting the last one. */
.content-workspace-toolbar .content-manager-nav > .builder-tabs { scrollbar-width: thin; padding-bottom: 2px; }
