/* 🎬 Агент «Видео» в Офисе (#2769) — поверх стилей конвейера «Фото» (office9.css: o9-ctabs, o9-cst, o9-cit, o9-cab, o9-csec…) */
.ov-root { margin-top: 4px; }
.ov-mode { display: flex; border-radius: 14px; border: 1.5px solid rgba(242,196,109,.35); overflow: hidden; margin-bottom: 6px; }
.ov-mode button { flex: 1; min-height: 48px; border: 0; background: #241114; color: #fbf1de; font: inherit; font-size: 16px; font-weight: 700; }
.ov-mode button.on { background: linear-gradient(180deg, #f6d58b, #e0a43a); color: #1b0c10; font-weight: 800; }
.ov-hint { font-size: 14px; color: #c9bba3; margin: 0 0 10px; }
.ov-note { font-size: 14px; margin: 0 0 10px; color: #8fdcae; }
.ov-note.is-err { color: #ff9a8a; }
.ov-th { position: relative; flex: none; width: 66px; height: 104px; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(242,196,109,.3); background: #1b0c10; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fbf1de; }
.ov-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ov-pl { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 22px; }
.ov-vid { flex: none; width: 150px; aspect-ratio: 9 / 16; border-radius: 10px; background: #000; }
.o9-cit.ov-it { display: flex; gap: 10px; }
.ov-it .o9-ctx { padding-right: 66px; }
.ov-cap { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ov-root .o9-cbh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 14px; }
.ov-root .o9-cbh .ov-hint { margin: 0; }
.ov-ab { margin: -4px 0 12px; }
.ov-ab .o9-y { flex: 2; white-space: nowrap; }
.ov-del { flex: 0 0 52px; min-height: 44px; justify-content: center; color: #ff9a8a; border-color: rgba(255,154,138,.45); font-size: 17px; }
.ov-del.is-armed { flex: 0 0 auto; padding: 0 12px; background: rgba(255,154,138,.16); font-size: 15px; font-weight: 800; }
.ov-build { margin: 0 0 4px; }
.ov-build.is-armed { border-color: #e0a43a; background: rgba(224,164,58,.16); color: #fbf1de; }
.ov-q { border: 1.5px solid rgba(242,196,109,.3); background: #241114; border-radius: 14px; padding: 2px 10px; }
.ov-qi { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(242,196,109,.15); font-size: 15px; }
.ov-qi:last-child { border: 0; }
.ov-qi span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-qi em { font-style: normal; font-size: 14px; color: #c9bba3; }
.ov-qi .ov-del { flex: 0 0 44px; width: 44px; }
.ov-qi .ov-del.is-armed { flex: 0 0 auto; width: auto; }
.ov-arch { margin-top: 12px; }
.ov-arch small { display: block; font-weight: 400; font-size: 14px; color: #c9bba3; }
.ov-list { border: 1.5px solid rgba(242,196,109,.3); background: #241114; border-radius: 14px; padding: 2px 12px; }
.ov-row { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; border-bottom: 1px solid rgba(242,196,109,.15); font-size: 15px; cursor: pointer; }
.ov-row:last-child { border: 0; }
.ov-row input { position: absolute; opacity: 0; width: 44px; height: 44px; left: -6px; margin: 0; }
.ov-tick { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid rgba(242,196,109,.6); }
.ov-tick.is-r { border-radius: 50%; }
.ov-row input:checked + .ov-tick { background: #e0a43a; border-color: #e0a43a; box-shadow: inset 0 0 0 3px #241114; }
.ov-row input:focus-visible + .ov-tick { outline: 2px solid #fbf1de; outline-offset: 2px; }
.ov-row.is-off { opacity: .6; cursor: default; }
.ov-nm { flex: 1; min-width: 0; }
.ov-row em { font-style: normal; font-size: 14px; padding: 2px 9px; border-radius: 999px; text-align: right; max-width: 55%; }
.ov-row em.is-ok { background: rgba(76,192,138,.18); color: #8fdcae; }
.ov-row em.is-wait { background: rgba(242,196,109,.14); color: #f2c46d; }
.ov-row em.is-err { background: rgba(255,154,138,.14); color: #ff9a8a; }
.ov-row em.is-off { background: rgba(138,129,121,.2); color: #c9bba3; }
.ov-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-tags span { font-size: 14px; padding: 4px 10px; border-radius: 999px; background: #241114; border: 1px solid rgba(143,195,255,.4); color: #8fc3ff; }
/* мои материалы */
.ov-up { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; border: 1.5px dashed rgba(242,196,109,.6); color: #f2c46d; font-size: 16px; font-weight: 800; margin: 0 0 10px; cursor: pointer; }
.ov-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ov-up:focus-within { outline: 2px solid #fbf1de; outline-offset: 2px; }
.ov-cnt { display: flex; gap: 8px; margin-bottom: 10px; }
.ov-cnt div { flex: 1; border-radius: 12px; background: #241114; border: 1.5px solid rgba(242,196,109,.25); padding: 6px 8px; font-size: 14px; color: #c9bba3; }
.ov-cnt b { display: block; font-size: 20px; color: #fbf1de; }
.ov-learn { border: 1.5px solid rgba(143,195,255,.35); background: rgba(143,195,255,.07); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.ov-learn b { display: block; font-size: 15px; color: #cfe4ff; margin-bottom: 4px; }
.ov-learn p { margin: 0; white-space: pre-line; }
.ov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ov-tile { position: relative; aspect-ratio: 9 / 16; padding: 0; border-radius: 10px; overflow: hidden; border: 1.5px solid rgba(242,196,109,.25); background: linear-gradient(160deg, #3a1c24, #1b0c10); }
.ov-tile img, .ov-tile video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ov-tile.is-approved { border-color: rgba(76,192,138,.85); }
.ov-tile.is-rejected { opacity: .55; }
.ov-tile.is-sel { outline: 3px solid #f2c46d; outline-offset: 1px; }
.ov-ts, .ov-tk { position: absolute; font-size: 14px; padding: 0 6px; border-radius: 8px; background: rgba(27,12,16,.8); }
.ov-ts { right: 4px; top: 4px; }
.ov-tk { left: 4px; bottom: 4px; }
.ov-det { margin: 10px 0; padding: 10px; border-radius: 14px; border: 1.5px solid rgba(242,196,109,.4); background: #241114; }
.ov-det img, .ov-det video { display: block; width: 100%; max-height: 60vh; object-fit: contain; border-radius: 10px; background: #000; }
.ov-det p { margin: 8px 0 0; font-size: 15px; }
.ov-det .ov-ab { margin: 10px 0 0; }
.ov-all { margin-top: 12px; }
.ov-ast { margin: -4px 0 12px; font-size: 14px; }
.ov-root .o9-cghost + .ov-hint { margin-top: 10px; }
/* #2778 👤 Кто в ролике, тема, W Vivix, пробные, шторки */
.ov-meta { font-size: 14px; color: #8fc3ff; margin: 1px 0 2px; }
.ov-faces { display: flex; gap: 6px; }
.ov-face { flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: #fbf1de; text-align: center; font: inherit; font-size: 14px; cursor: pointer; }
.ov-face i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 4px; border-radius: 50%; overflow: hidden; border: 2.5px solid rgba(242,196,109,.3); background: linear-gradient(150deg, #f2c46d, #c97a3a); color: #1b0c10; font-style: normal; font-size: 22px; font-weight: 800; }
.ov-face i img { width: 100%; height: 100%; object-fit: cover; }
.ov-face b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-face small { display: block; font-size: 14px; color: #c9bba3; }
.ov-face.on i { border-color: #f2c46d; box-shadow: 0 0 0 3px rgba(242,196,109,.35); }
.ov-face.on b { color: #f2c46d; }
.ov-face.is-none i { background: #241114; font-size: 20px; }
.ov-face.is-add i { background: #241114; border: 2px dashed rgba(242,196,109,.6); color: #f2c46d; font-size: 26px; }
.ov-face:focus-visible { outline: 2px solid #fbf1de; outline-offset: 2px; border-radius: 12px; }
.ov-psel { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 14px; color: #c9bba3; }
.ov-psel span { flex: 1; }
.ov-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.ov-topics button { min-height: 44px; padding: 6px 12px; border-radius: 12px; border: 1.5px solid rgba(242,196,109,.3); background: #241114; color: #fbf1de; font: inherit; font-size: 15px; text-align: left; }
.ov-topics button.on { background: linear-gradient(180deg, #f6d58b, #e0a43a); color: #1b0c10; border-color: transparent; font-weight: 800; }
.ov-w { margin-top: 8px; border: 1.5px solid rgba(242,196,109,.3); background: #241114; border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.ov-w b { font-size: 16px; }
.ov-w .o9-cr span { white-space: nowrap; }
.ov-w .ov-hint { margin: 6px 0 0; }
.ov-trial { margin: 12px 0 0; font-size: 15px; color: #f2c46d; }
.ov-trialb { margin: 12px 0 0; }
.ov-trialb.is-armed { background: #241114; color: #fbf1de; border: 1.5px solid #e0a43a; }
.ov-sw { position: fixed; inset: 0; z-index: 1900; display: flex; flex-direction: column; justify-content: flex-end; }
.ov-dim { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.ov-sheet { position: relative; max-height: 88vh; overflow-y: auto; border-radius: 22px 22px 0 0; border: 1.5px solid rgba(242,196,109,.4); border-bottom: 0; background: #1e0e11; color: #fbf1de; padding: 10px 14px calc(16px + env(safe-area-inset-bottom)); font-size: 15px; animation: ov-up .18s ease-out; }
@keyframes ov-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.ov-sheet h3 { margin: 0 0 4px; font: 700 20px/1.2 Georgia, "Times New Roman", serif; }
.ov-grab { width: 44px; height: 5px; border-radius: 3px; background: rgba(251,241,222,.3); margin: 0 auto 12px; }
.ov-pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 8px 10px; border-radius: 14px; border: 1.5px solid rgba(242,196,109,.25); background: #241114; color: #fbf1de; margin-bottom: 8px; font: inherit; font-size: 15px; text-align: left; }
.ov-pick i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, #f2c46d, #c97a3a); color: #1b0c10; font-style: normal; font-weight: 800; font-size: 18px; }
.ov-pick i img { width: 100%; height: 100%; object-fit: cover; }
.ov-pick span:not(.ov-rd) { flex: 1; min-width: 0; }
.ov-pick small { display: block; color: #c9bba3; font-size: 14px; }
.ov-rd { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(242,196,109,.6); }
.ov-pick.on { border-color: #f2c46d; background: rgba(242,196,109,.1); }
.ov-pick.on .ov-rd { background: #e0a43a; border-color: #e0a43a; box-shadow: inset 0 0 0 3px #241114; }
.ov-price { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0 12px; padding: 10px 12px; border-radius: 12px; background: #241114; border: 1.5px solid rgba(242,196,109,.25); }
.ov-price b { color: #f2c46d; white-space: nowrap; }
.ov-sheet .o9-cghost { margin-top: 0; }
.ov-fld { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid rgba(242,196,109,.35); background: #241114; color: #fbf1de; font: inherit; font-size: 16px; padding: 0 12px; }
.ov-slots { display: flex; gap: 8px; margin: 10px 0 8px; }
.ov-slot { position: relative; flex: 0 0 calc((100% - 16px) / 3); aspect-ratio: 3 / 4; border-radius: 14px; border: 2px dashed rgba(242,196,109,.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #f2c46d; font-size: 14px; text-align: center; overflow: hidden; cursor: pointer; }
.ov-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ov-slot b { font-size: 28px; }
.ov-slot.is-full { border: 2px solid rgba(76,192,138,.7); cursor: default; }
.ov-slot img { width: 100%; height: 100%; object-fit: cover; }
.ov-sx { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(27,12,16,.8); color: #fbf1de; font-size: 16px; }
.ov-tips { margin: 0 0 10px; padding-left: 18px; font-size: 14px; color: #c9bba3; }
.ov-sheet .ov-note { margin: 0 0 8px; }
@media (min-width: 700px) { .ov-sw { align-items: center; } .ov-sheet { width: 420px; border-radius: 22px; border-bottom: 1.5px solid rgba(242,196,109,.4); margin-bottom: 8vh; } }
@media (prefers-reduced-motion: reduce) { .ov-sheet { animation: none; } }
/* #2783 📚 Книга тем и разбор видео */
.ov-root .o9-ctabs .o9-ctab { font-size: 14px; padding: 0 4px; }
.ov-auto { border: 1.5px solid rgba(242,196,109,.3); background: #241114; border-radius: 14px; padding: 2px 12px; margin-bottom: 10px; }
.ov-anall { margin: 0 0 12px; }
.ov-anall.is-armed { border-color: #e0a43a; background: rgba(224,164,58,.16); color: #fbf1de; }
.ov-vin { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.ov-vin input { flex: 1; min-width: 0; min-height: 48px; border-radius: 12px; border: 1.5px solid rgba(242,196,109,.35); background: #1b0c10; color: #fbf1de; font: inherit; font-size: 16px; padding: 0 12px; }
.ov-vin .ov-vs { flex: none; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #f6d58b, #e0a43a); color: #1b0c10; font: inherit; font-size: 15px; font-weight: 800; white-space: nowrap; }
.ov-an { margin-top: 10px; border: 1.5px solid rgba(143,195,255,.35); background: rgba(143,195,255,.07); border-radius: 14px; padding: 4px 12px; font-size: 14px; }
.ov-an div { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(143,195,255,.15); }
.ov-an div:last-child { border: 0; }
.ov-an b { flex: none; width: 100px; color: #cfe4ff; font-weight: 600; }
.ov-an span { flex: 1; min-width: 0; }
.ov-an-go { margin-top: 10px; }
/* #2895 📚 Мой стиль */
.ov-tq { position: relative; display: flex; gap: 10px; align-items: center; min-height: 60px; border: 1.5px solid rgba(242,196,109,.3); background: #241114; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.ov-tqi { flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(242,196,109,.14); display: grid; place-items: center; font-size: 18px; }
.ov-tqt { flex: 1; min-width: 0; }
.ov-tqt b { display: block; font-size: 15px; }
.ov-tqt small { display: block; font-size: 14px; color: #c9bba3; margin-top: 2px; }
.ov-tq input { position: absolute; opacity: 0; right: 8px; width: 52px; height: 44px; margin: 0; cursor: pointer; }
.ov-tsw { flex: none; position: relative; width: 48px; height: 28px; border-radius: 14px; background: #4a3338; transition: background .15s; }
.ov-tsw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fbf1de; transition: transform .15s; }
.ov-tq input:checked + .ov-tsw { background: #e0a43a; }
.ov-tq input:checked + .ov-tsw::after { transform: translateX(20px); }
.ov-tq input:focus-visible + .ov-tsw { outline: 2px solid #fbf1de; outline-offset: 2px; }
.ov-idea { margin: 10px 0; }
.ov-idea.is-armed { border-color: #e0a43a; background: rgba(224,164,58,.16); color: #fbf1de; }
.ov-idea-c { border: 1.5px solid rgba(242,196,109,.3); background: #241114; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; }
.ov-idea-c h5 { margin: 0 0 4px; font-size: 15px; line-height: 1.3; }
.ov-idea-c p { margin: 2px 0; color: #e9dcc3; }
.ov-idea-c p b { color: #c9bba3; font-weight: 600; }
.ov-chk { display: inline-block; margin: 6px 6px 0 0; padding: 2px 9px; border-radius: 999px; font-size: 14px; }
.ov-chk.is-ok { background: rgba(76,192,138,.18); color: #8fdcae; }
.ov-chk.is-re { background: rgba(242,196,109,.14); color: #f2c46d; }
.ov-was { border: 1.5px solid rgba(242,196,109,.25); background: #241114; border-radius: 14px; padding: 2px 12px; margin-bottom: 8px; }
.ov-was div { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(242,196,109,.12); font-size: 14px; color: #c9bba3; }
.ov-was div:last-child { border: 0; }
.ov-was span { flex: 1; min-width: 0; }
.ov-was em { font-style: normal; font-size: 14px; padding: 1px 8px; border-radius: 999px; background: #1b0c10; }
@media (prefers-reduced-motion: reduce) { .ov-tsw, .ov-tsw::after { transition: none; } }

/* #2896: «⏳ В работе» — шаги ролика, промты до оживления */
.ov-steps { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 4px 0; font-size: 13px; color: #9d8f7a; }
.ov-steps span.on { color: #8fdcae; font-weight: 700; }
.ov-says { margin-top: 4px; }
.ov-prm { margin-top: 8px; display: grid; gap: 8px; }
.ov-prm label { display: grid; gap: 4px; font-size: 13px; color: #c9bba3; }
.ov-prm textarea { width: 100%; box-sizing: border-box; background: #1b0c10; color: #f3e7d2; border: 1.5px solid rgba(242,196,109,.3); border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.ov-work .is-err { color: #ff9a8a; }
.ov-work .ov-th img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* #3039 «🎞 Готовые» (макет ✅ Армана 16:23): сетка кадров и роликов с 👍/👎, фильтр Все / 👍 / 👎 */
.ov-root .o9-ctabs { flex-wrap: wrap; }
.ov-rflt { display: flex; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.ov-rchip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(242,196,109,.45); background: transparent; color: #fbf1de; font: 700 15px/1 system-ui, sans-serif; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ov-rchip.on { background: rgba(242,196,109,.2); border-color: #f2c46d; }
.ov-rchip small { font-size: 14px; color: #d9c7aa; font-weight: 600; }
.ov-rhint { margin: 0 0 10px; font-size: 14px; }
.ov-rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }   /* колонок — сколько влезет в шторку */
.ov-rcard { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.35); border: 1px solid rgba(242,196,109,.25); min-width: 0; }
.ov-rth, .ov-rth.ov-th { position: relative; width: 100%; height: auto; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 0; background: #0d0306; display: block; cursor: default; color: #fbf1de; font-size: 32px; }
.ov-rth.ov-th { cursor: pointer; }
.ov-rth img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ov-rkind { position: absolute; left: 6px; top: 6px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.65); font-size: 14px; font-weight: 700; line-height: 1.2; }
.ov-rst { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1.2; }
.ov-rst.frame { background: #5b4a2a; color: #ffe39a; } .ov-rst.anim { background: #1d5a3a; color: #9ff0c8; } .ov-rst.posts { background: #203f7a; color: #bcd4ff; } .ov-rst.arch { background: #3a3a3a; color: #ddd; }
.ov-rplay { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.8); display: grid; place-items: center; font-size: 22px; }
.ov-rcard .ov-vid { width: 100%; }
.ov-rtx { padding: 8px 10px 4px; }
.ov-ridea { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ov-rph { margin-top: 4px; font-size: 14px; color: #d9c7aa; font-style: italic; line-height: 1.3; }
.ov-rwhen { margin-top: 4px; font-size: 14px; color: #d9c7aa; }
.ov-rrate { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 10px 10px; margin-top: auto; }
.ov-rb { min-height: 44px; border-radius: 12px; border: 1.5px solid rgba(242,196,109,.4); background: transparent; color: #fbf1de; font-size: 20px; cursor: pointer; }
.ov-rb.up.on { background: rgba(15,191,106,.25); border-color: #7fe39a; } .ov-rb.down.on { background: rgba(224,18,60,.25); border-color: #ff8a9a; }
.ov-rb:focus-visible, .ov-rchip:focus-visible, .ov-rth.ov-th:focus-visible { outline: 2px solid #fbf1de; outline-offset: 2px; }
