primocode 10.16.0 → 10.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/LICENSES/edit-ia-pro.txt +32 -0
  2. package/LICENSES/fontes-OFL.txt +476 -0
  3. package/LICENSES/hyperframes-Apache-2.0.txt +205 -0
  4. package/LICENSES/permanent-marker-Apache-2.0.txt +204 -0
  5. package/LICENSES/selfie-multiclass-Apache-2.0.txt +227 -0
  6. package/LICENSES/three-MIT.txt +23 -0
  7. package/LICENSES/video-use-MIT.txt +24 -0
  8. package/LICENSES/woven-sfx-CC0.txt +16 -0
  9. package/LICENSES/yunet-MIT.txt +21 -0
  10. package/README.md +2 -2
  11. package/bin/primocode.js +11 -2
  12. package/editor/LICENSE.md +11 -0
  13. package/editor/README.md +321 -0
  14. package/editor/SKILL.md +307 -0
  15. package/editor/THIRD_PARTY_NOTICES.md +228 -0
  16. package/editor/assets/baixar.json +591 -0
  17. package/editor/assets/fonts/anton/OFL.txt +93 -0
  18. package/editor/assets/fonts/caveat/OFL.txt +93 -0
  19. package/editor/assets/fonts/figtree/OFL.txt +93 -0
  20. package/editor/assets/fonts/fonts.json +10 -0
  21. package/editor/assets/fonts/montserrat/OFL.txt +93 -0
  22. package/editor/assets/fonts/permanentmarker/LICENSE.txt +202 -0
  23. package/editor/assets/models/SELFIE_MULTICLASS_LICENSE.txt +227 -0
  24. package/editor/assets/models/YUNET_LICENSE.txt +21 -0
  25. package/editor/assets/sfx/licencas/bass_drop.txt +32 -0
  26. package/editor/assets/sfx/licencas/cash.txt +76 -0
  27. package/editor/assets/sfx/licencas/charge.txt +31 -0
  28. package/editor/assets/sfx/licencas/click.txt +46 -0
  29. package/editor/assets/sfx/licencas/coin.txt +50 -0
  30. package/editor/assets/sfx/licencas/count.txt +47 -0
  31. package/editor/assets/sfx/licencas/data.txt +31 -0
  32. package/editor/assets/sfx/licencas/error.txt +32 -0
  33. package/editor/assets/sfx/licencas/flash.txt +31 -0
  34. package/editor/assets/sfx/licencas/gears.txt +82 -0
  35. package/editor/assets/sfx/licencas/keyboard.txt +48 -0
  36. package/editor/assets/sfx/licencas/metal_hit.txt +62 -0
  37. package/editor/assets/sfx/licencas/metal_riser.txt +61 -0
  38. package/editor/assets/sfx/licencas/mouse_click.txt +50 -0
  39. package/editor/assets/sfx/licencas/notification.txt +54 -0
  40. package/editor/assets/sfx/licencas/pop.txt +38 -0
  41. package/editor/assets/sfx/licencas/rewind.txt +32 -0
  42. package/editor/assets/sfx/licencas/rise.txt +46 -0
  43. package/editor/assets/sfx/licencas/sinteticos.txt +21 -0
  44. package/editor/assets/sfx/licencas/snap.txt +50 -0
  45. package/editor/assets/sfx/licencas/success.txt +40 -0
  46. package/editor/assets/sfx/licencas/synth_hit.txt +32 -0
  47. package/editor/assets/sfx/licencas/tick.txt +14 -0
  48. package/editor/assets/sfx/licencas/whoosh.txt +47 -0
  49. package/editor/assets/sfx/licencas/wind.txt +31 -0
  50. package/editor/assets/sfx/sfx.json +832 -0
  51. package/editor/assets/sfx/sfx_sinteticos.json +317 -0
  52. package/editor/assets/sfx/sfx_woven.json +387 -0
  53. package/editor/assets/sfx/woven/LICENCA.md +16 -0
  54. package/editor/fichas/briefing-do-video.md +45 -0
  55. package/editor/fichas/conferencia-da-amostra.md +56 -0
  56. package/editor/fichas/matriz-de-ganchos.csv +3 -0
  57. package/editor/fichas/padrao.json +16 -0
  58. package/editor/fichas/planilha-de-cenas.csv +4 -0
  59. package/editor/fichas/planilha-de-versoes.csv +4 -0
  60. package/editor/fichas/plano-em-blocos.md +32 -0
  61. package/editor/fichas/registro-de-materiais.json +27 -0
  62. package/editor/helpers/assets_ocr/ocr_vision.swift +41 -0
  63. package/editor/helpers/bordas_precisas.py +272 -0
  64. package/editor/helpers/camera_viva.py +426 -0
  65. package/editor/helpers/captions.py +601 -0
  66. package/editor/helpers/common.py +308 -0
  67. package/editor/helpers/compose_final.py +3555 -0
  68. package/editor/helpers/conferir_corte.py +234 -0
  69. package/editor/helpers/conferir_dados.py +405 -0
  70. package/editor/helpers/contact_sheet.py +282 -0
  71. package/editor/helpers/corte_por_onda.py +433 -0
  72. package/editor/helpers/corte_seco.py +595 -0
  73. package/editor/helpers/denoise.py +971 -0
  74. package/editor/helpers/efeitos.py +408 -0
  75. package/editor/helpers/efeitos_gerar.py +159 -0
  76. package/editor/helpers/elevenlabs_api.py +442 -0
  77. package/editor/helpers/face_layout.py +570 -0
  78. package/editor/helpers/fetch_images.py +423 -0
  79. package/editor/helpers/ganho_por_trecho.py +214 -0
  80. package/editor/helpers/gen_image.py +312 -0
  81. package/editor/helpers/gen_music.py +316 -0
  82. package/editor/helpers/gen_sfx.py +148 -0
  83. package/editor/helpers/grade.py +307 -0
  84. package/editor/helpers/icloud.py +119 -0
  85. package/editor/helpers/make_sfx.py +940 -0
  86. package/editor/helpers/matte.py +1342 -0
  87. package/editor/helpers/medir_referencia.py +2232 -0
  88. package/editor/helpers/mixar_trilha.py +354 -0
  89. package/editor/helpers/montar_corte.py +295 -0
  90. package/editor/helpers/motion/__init__.py +13 -0
  91. package/editor/helpers/motion/engine.py +1915 -0
  92. package/editor/helpers/motion/registry.py +510 -0
  93. package/editor/helpers/motion/render.py +665 -0
  94. package/editor/helpers/motion/templates/barra_progresso.py +370 -0
  95. package/editor/helpers/motion/templates/carimbo.py +132 -0
  96. package/editor/helpers/motion/templates/checklist.py +271 -0
  97. package/editor/helpers/motion/templates/comentario_cta.py +380 -0
  98. package/editor/helpers/motion/templates/contador.py +222 -0
  99. package/editor/helpers/motion/templates/destaque.py +263 -0
  100. package/editor/helpers/motion/templates/etiqueta_preco.py +461 -0
  101. package/editor/helpers/motion/templates/grafico_barras.py +510 -0
  102. package/editor/helpers/motion/templates/grafico_linha.py +462 -0
  103. package/editor/helpers/motion/templates/notificacao.py +266 -0
  104. package/editor/helpers/motion/templates/palavra_impacto.py +410 -0
  105. package/editor/helpers/motion/templates/passos.py +321 -0
  106. package/editor/helpers/motion/templates/riscado.py +298 -0
  107. package/editor/helpers/motion/templates/selo_garantia.py +150 -0
  108. package/editor/helpers/motion_render.py +241 -0
  109. package/editor/helpers/motion_sugerir.py +961 -0
  110. package/editor/helpers/noise_check.py +134 -0
  111. package/editor/helpers/pack_transcripts.py +223 -0
  112. package/editor/helpers/palavras_na_onda.py +176 -0
  113. package/editor/helpers/plano_sfx.py +839 -0
  114. package/editor/helpers/portao.py +427 -0
  115. package/editor/helpers/preview_server.py +1177 -0
  116. package/editor/helpers/rastrear_rosto.py +298 -0
  117. package/editor/helpers/render_cut.py +1256 -0
  118. package/editor/helpers/respiros.py +89 -0
  119. package/editor/helpers/sincronizar_cameras.py +571 -0
  120. package/editor/helpers/speech_regions.py +423 -0
  121. package/editor/helpers/style_catalog.json +231 -0
  122. package/editor/helpers/style_samples.py +246 -0
  123. package/editor/helpers/tela_verde.py +2113 -0
  124. package/editor/helpers/text_render.py +2059 -0
  125. package/editor/helpers/texto_na_tela.py +366 -0
  126. package/editor/helpers/timeline_view.py +292 -0
  127. package/editor/helpers/tira_de_quadros.py +113 -0
  128. package/editor/helpers/transcribe.py +734 -0
  129. package/editor/helpers/transcribe_batch.py +129 -0
  130. package/editor/helpers/trilhas.py +1146 -0
  131. package/editor/helpers/trilhas_humores.json +66 -0
  132. package/editor/helpers/valores.py +187 -0
  133. package/editor/helpers/verify_cut.py +820 -0
  134. package/editor/helpers/voice_levels.py +233 -0
  135. package/editor/helpers/voz_check.py +386 -0
  136. package/editor/helpers/voz_limpa.py +81 -0
  137. package/editor/helpers/watch_preview.py +372 -0
  138. package/editor/modelo-projeto/LEIA.md +402 -0
  139. package/editor/modelo-projeto/assets/fontes/OFL-Caveat.txt +93 -0
  140. package/editor/modelo-projeto/assets/fontes/OFL-JetBrainsMono.txt +93 -0
  141. package/editor/modelo-projeto/assets/fontes/OFL-Montserrat.txt +93 -0
  142. package/editor/modelo-projeto/assets/fontes/larguras.json +1 -0
  143. package/editor/modelo-projeto/assets/three/BufferGeometryUtils.js +1438 -0
  144. package/editor/modelo-projeto/assets/three/GLTFLoader.js +4895 -0
  145. package/editor/modelo-projeto/assets/three/LICENSE +21 -0
  146. package/editor/modelo-projeto/assets/three/ORIGEM.txt +17 -0
  147. package/editor/modelo-projeto/assets/three/RoomEnvironment.js +185 -0
  148. package/editor/modelo-projeto/assets/three/three.core.min.js +6 -0
  149. package/editor/modelo-projeto/assets/three/three.module.min.js +6 -0
  150. package/editor/modelo-projeto/build.py +4828 -0
  151. package/editor/modelo-projeto/compositions/cenas/2d/k2d_antes_depois.html +199 -0
  152. package/editor/modelo-projeto/compositions/cenas/2d/k2d_arquivo.html +232 -0
  153. package/editor/modelo-projeto/compositions/cenas/2d/k2d_busca.html +315 -0
  154. package/editor/modelo-projeto/compositions/cenas/2d/k2d_comando.html +304 -0
  155. package/editor/modelo-projeto/compositions/cenas/2d/k2d_conversa.html +217 -0
  156. package/editor/modelo-projeto/compositions/cenas/2d/k2d_esquema.html +289 -0
  157. package/editor/modelo-projeto/compositions/cenas/2d/k2d_medidor.html +249 -0
  158. package/editor/modelo-projeto/compositions/cenas/2d/k2d_notas.html +233 -0
  159. package/editor/modelo-projeto/compositions/cenas/3d/k3d_caminho.html +197 -0
  160. package/editor/modelo-projeto/compositions/cenas/3d/k3d_explodida.html +152 -0
  161. package/editor/modelo-projeto/compositions/cenas/3d/k3d_tela.html +167 -0
  162. package/editor/modelo-projeto/compositions/cenas/3d/k3d_volume.html +124 -0
  163. package/editor/modelo-projeto/compositions/cenas/3d/motor-three.js +728 -0
  164. package/editor/modelo-projeto/compositions/cenas/LEIA.md +177 -0
  165. package/editor/modelo-projeto/ferramentas/medir_fontes.py +65 -0
  166. package/editor/modelo-projeto/ferramentas/pessoa_recortada.py +176 -0
  167. package/editor/modelo-projeto/ferramentas/rastrear_maos.py +189 -0
  168. package/editor/modelo-projeto/hyperframes.json +12 -0
  169. package/editor/modelo-projeto/package.json +11 -0
  170. package/editor/modelo-projeto/projeto.json +16 -0
  171. package/editor/preview/app.css +1009 -0
  172. package/editor/preview/app.js +2122 -0
  173. package/editor/preview/index.html +307 -0
  174. package/editor/pyproject.toml +23 -0
  175. package/editor/references/3d.md +236 -0
  176. package/editor/references/animacao-catalogo.md +672 -0
  177. package/editor/references/animacao.md +498 -0
  178. package/editor/references/comandos.md +92 -0
  179. package/editor/references/corte-seco-como-funciona.md +50 -0
  180. package/editor/references/corte-seco.md +88 -0
  181. package/editor/references/corte.md +290 -0
  182. package/editor/references/direcao-por-blocos.md +218 -0
  183. package/editor/references/enquadramento.md +654 -0
  184. package/editor/references/estilos-prontos.md +355 -0
  185. package/editor/references/estudio.md +100 -0
  186. package/editor/references/exemplo-eventos.json +67 -0
  187. package/editor/references/lettering.md +252 -0
  188. package/editor/references/modelos.md +494 -0
  189. package/editor/references/phase2.md +1007 -0
  190. package/editor/references/referencia-aplicar.md +203 -0
  191. package/editor/references/referencia-medir.md +375 -0
  192. package/editor/references/revisao.md +335 -0
  193. package/editor/references/som-e-trilha.md +146 -0
  194. package/editor/references/tabela-de-sons.md +130 -0
  195. package/editor/references/variacoes.md +234 -0
  196. package/editor/uv.lock +1141 -0
  197. package/lib/act.js +36 -8
  198. package/lib/catalogo.js +4 -0
  199. package/lib/chamada-torta.js +81 -0
  200. package/lib/editor-pro.js +786 -0
  201. package/lib/entrega.js +58 -0
  202. package/lib/estudio/conferencia-visual.js +76 -0
  203. package/lib/estudio/diretor.js +6 -1
  204. package/lib/estudio/exportar.js +3 -1
  205. package/lib/estudio/gosto.js +45 -4
  206. package/lib/estudio/index.js +8 -5
  207. package/lib/estudio/kit-ae/base.jsx +119 -13
  208. package/lib/estudio/kit-ae/cenas.jsx +47 -15
  209. package/lib/estudio/kit-ae/guarda.jsx +274 -0
  210. package/lib/estudio/kit-ae/primitivas.jsx +180 -24
  211. package/lib/estudio/maquina-diretor.js +61 -7
  212. package/lib/estudio/maquina-foto.js +177 -0
  213. package/lib/estudio/maquina-guarda.js +207 -0
  214. package/lib/estudio/maquina-layout.js +22 -1
  215. package/lib/estudio/maquina.js +60 -11
  216. package/lib/estudio/referencias.js +1 -1
  217. package/lib/estudio/visao/visao.swift +97 -0
  218. package/lib/estudio/visao.js +60 -0
  219. package/lib/local/cerebro.json +192 -6
  220. package/lib/local/motor.js +5 -2
  221. package/lib/nuvem.js +11 -1
  222. package/lib/passagem.js +50 -0
  223. package/lib/perigo.js +19 -11
  224. package/lib/protecao.js +134 -0
  225. package/lib/titulo-conversa.js +46 -0
  226. package/lib/tools.js +3 -0
  227. package/lib/ui.js +1 -1
  228. package/package.json +3 -2
  229. package/skills/editar-meu-video/SKILL.md +6 -2
  230. package/skills/editar-video/SKILL.md +113 -0
  231. package/studio/pessoa.py +52 -0
  232. package/voz/primo_voz/app.py +43 -4
  233. package/voz/primo_voz/chat.html +17 -6
  234. package/voz/primo_voz/painel_dados.py +134 -0
@@ -0,0 +1,1009 @@
1
+ /* Preview da edição: calm dark editing-suite look, one accent. No external fonts. */
2
+
3
+ :root {
4
+ --bg: #0c0d10;
5
+ --bg-raise: #111317;
6
+ --panel: #15171c;
7
+ --panel-2: #1a1d23;
8
+ --panel-3: #22262d;
9
+ --well: #0e1014;
10
+ --line: #23272e;
11
+ --line-2: #31363f;
12
+ --text: #e8eaee;
13
+ --text-2: #b3b9c3;
14
+ --muted: #7d8591;
15
+ --accent: #50d6ae;
16
+ --accent-strong: #72e4c2;
17
+ --accent-ink: #062219;
18
+ --accent-soft: rgba(80, 214, 174, 0.14);
19
+ --accent-line: rgba(80, 214, 174, 0.55);
20
+ --danger: #ff8a80;
21
+ --warn-text: #e9c77b;
22
+ --radius: 12px;
23
+ --radius-sm: 8px;
24
+ --topbar-h: 56px;
25
+ --status-h: 36px;
26
+ --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
27
+ --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
28
+ color-scheme: dark;
29
+ }
30
+
31
+ * { box-sizing: border-box; }
32
+ [hidden] { display: none !important; }
33
+ html, body { margin: 0; background: var(--bg); color: var(--text); }
34
+ body {
35
+ font: 14px/1.45 var(--font);
36
+ -webkit-font-smoothing: antialiased;
37
+ text-rendering: optimizeLegibility;
38
+ }
39
+ button, input, textarea { font: inherit; color: inherit; }
40
+ button { cursor: pointer; }
41
+ h1, h2, h3, p { margin: 0; }
42
+ .sr-only {
43
+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
44
+ overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
45
+ }
46
+ :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
47
+
48
+ kbd {
49
+ display: inline-block;
50
+ min-width: 18px;
51
+ padding: 0 5px;
52
+ font: 600 11px/17px var(--mono);
53
+ color: var(--text-2);
54
+ text-align: center;
55
+ background: var(--well);
56
+ border: 1px solid var(--line-2);
57
+ border-bottom-width: 2px;
58
+ border-radius: 5px;
59
+ }
60
+
61
+ /* ------------------------------------------------------------ top bar */
62
+
63
+ .app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
64
+
65
+ .topbar {
66
+ height: var(--topbar-h);
67
+ display: grid;
68
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
69
+ align-items: center;
70
+ gap: 16px;
71
+ padding: 0 20px;
72
+ background: var(--bg-raise);
73
+ border-bottom: 1px solid var(--line);
74
+ }
75
+ .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
76
+ .brand-mark { width: 28px; height: 28px; flex: none; }
77
+ .brand-mark rect { fill: var(--panel-3); }
78
+ .brand-mark path { fill: var(--accent); }
79
+ .brand-text { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
80
+ .brand-name { font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; }
81
+ .project {
82
+ color: var(--muted);
83
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
84
+ }
85
+ .project:not(:empty)::before { content: "/"; margin-right: 10px; color: var(--line-2); }
86
+
87
+ .tabs {
88
+ display: flex;
89
+ gap: 2px;
90
+ padding: 3px;
91
+ background: var(--panel);
92
+ border: 1px solid var(--line);
93
+ border-radius: 11px;
94
+ }
95
+ .tab {
96
+ position: relative;
97
+ min-width: 92px;
98
+ padding: 6px 18px;
99
+ font-weight: 600;
100
+ color: var(--muted);
101
+ background: transparent;
102
+ border: 0;
103
+ border-radius: 8px;
104
+ transition: color .15s, background-color .15s;
105
+ }
106
+ .tab:hover { color: var(--text-2); }
107
+ .tab[aria-selected="true"] { color: var(--text); background: var(--panel-3); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
108
+ .tab-dot {
109
+ position: absolute; top: 7px; right: 9px;
110
+ width: 6px; height: 6px; border-radius: 50%;
111
+ background: var(--accent);
112
+ opacity: 0; transform: scale(.4);
113
+ transition: opacity .2s, transform .2s;
114
+ }
115
+ .tab.is-awaiting .tab-dot { opacity: 1; transform: none; }
116
+
117
+ .help-btn { justify-self: end; }
118
+
119
+ /* ------------------------------------------------------------ status line */
120
+
121
+ .statusline {
122
+ min-height: var(--status-h);
123
+ display: flex;
124
+ align-items: center;
125
+ gap: 10px;
126
+ padding: 7px 20px;
127
+ font-size: 13px;
128
+ color: var(--text-2);
129
+ border-bottom: 1px solid var(--line);
130
+ background: var(--bg);
131
+ }
132
+ .status-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--muted); }
133
+ .statusline.is-working .status-dot { background: var(--text-2); animation: breathe 1.6s ease-in-out infinite; }
134
+ .statusline.is-awaiting .status-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
135
+ .statusline.is-offline .status-dot { background: var(--danger); }
136
+ .statusline.is-offline .status-text { color: var(--danger); }
137
+ .status-badge {
138
+ flex: none;
139
+ padding: 1px 8px;
140
+ font-size: 11px; font-weight: 700; letter-spacing: .02em;
141
+ color: var(--accent-ink);
142
+ background: var(--accent);
143
+ border-radius: 999px;
144
+ }
145
+ .status-text { min-width: 0; color: var(--text); }
146
+ .status-text.flash { animation: flash-text .9s ease-out; }
147
+ .status-meta { margin-left: auto; flex: none; color: var(--muted); white-space: nowrap; }
148
+
149
+ @keyframes breathe { 50% { opacity: .35; } }
150
+ @keyframes flash-text { from { color: var(--accent-strong); } }
151
+
152
+ /* ------------------------------------------------------------ generic pieces */
153
+
154
+ .main { flex: 1; min-height: 0; padding: 16px 20px 20px; }
155
+
156
+ .card {
157
+ background: var(--panel);
158
+ border: 1px solid var(--line);
159
+ border-radius: var(--radius);
160
+ padding: 14px 16px;
161
+ }
162
+ .card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
163
+ .card-head h3 { font-size: 13px; font-weight: 650; letter-spacing: .01em; }
164
+ .count { color: var(--muted); font-weight: 500; }
165
+ .hint { font-size: 12.5px; color: var(--muted); }
166
+
167
+ .btn {
168
+ display: inline-flex; align-items: center; justify-content: center; gap: 8px;
169
+ height: 36px;
170
+ padding: 0 14px;
171
+ font-weight: 600;
172
+ white-space: nowrap;
173
+ text-decoration: none;
174
+ color: var(--text);
175
+ background: var(--panel-2);
176
+ border: 1px solid var(--line-2);
177
+ border-radius: var(--radius-sm);
178
+ transition: background-color .15s, border-color .15s, color .15s, opacity .15s;
179
+ }
180
+ .btn:hover { background: var(--panel-3); }
181
+ .btn:active { transform: translateY(1px); }
182
+ .btn[disabled] { opacity: .45; cursor: default; transform: none; }
183
+ .btn.primary { color: var(--accent-ink); background: var(--accent); border-color: transparent; font-weight: 700; }
184
+ .btn.primary:hover:not([disabled]) { background: var(--accent-strong); }
185
+ .btn.primary.is-done { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); opacity: 1; }
186
+ .btn.secondary { background: transparent; }
187
+ .btn.secondary.attention { border-color: var(--accent-line); color: var(--accent-strong); }
188
+ .btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
189
+ .btn.ghost:hover { background: var(--panel-2); color: var(--text); }
190
+ .btn.accent-soft { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-strong); }
191
+ .btn.block { width: 100%; }
192
+ .btn kbd { margin-right: -4px; }
193
+
194
+ .icon-btn {
195
+ display: inline-grid; place-items: center;
196
+ width: 36px; height: 36px;
197
+ padding: 0;
198
+ font-weight: 700;
199
+ color: var(--text-2);
200
+ background: var(--panel);
201
+ border: 1px solid var(--line);
202
+ border-radius: var(--radius-sm);
203
+ }
204
+ .icon-btn:hover { color: var(--text); background: var(--panel-2); }
205
+ .icon-btn.small { width: 30px; height: 30px; }
206
+ .icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
207
+ .icon-btn.danger:hover { color: var(--danger); }
208
+
209
+ input[type="text"], textarea {
210
+ width: 100%;
211
+ padding: 9px 12px;
212
+ background: var(--well);
213
+ border: 1px solid var(--line-2);
214
+ border-radius: var(--radius-sm);
215
+ outline: none;
216
+ transition: border-color .15s, box-shadow .15s;
217
+ }
218
+ input[type="text"]::placeholder, textarea::placeholder { color: #5d6470; }
219
+ input[type="text"]:focus, textarea:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
220
+ input[type="text"][disabled], textarea[disabled] { opacity: .5; }
221
+ input.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(255, 138, 128, .15) !important; }
222
+ textarea { resize: vertical; min-height: 72px; }
223
+
224
+ .save-state { font-size: 12px; color: var(--muted); }
225
+ .save-state.is-dirty { color: var(--warn-text); }
226
+ .save-state.is-saved::before { content: "✓ "; color: var(--accent); }
227
+
228
+ /* ------------------------------------------------------------ empty states */
229
+
230
+ .empty {
231
+ min-height: calc(100vh - var(--topbar-h) - var(--status-h) - 80px);
232
+ display: grid; place-content: center; justify-items: center;
233
+ gap: 10px;
234
+ padding: 40px 16px;
235
+ text-align: center;
236
+ }
237
+ .empty h2 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
238
+ .empty p { max-width: 430px; color: var(--muted); }
239
+ .empty-visual { position: relative; width: 72px; height: 72px; margin-bottom: 8px; display: grid; place-items: center; }
240
+ .empty-visual::before {
241
+ content: ""; width: 26px; height: 46px;
242
+ border: 2px solid var(--line-2); border-radius: 6px;
243
+ background: linear-gradient(180deg, var(--panel-2), var(--panel));
244
+ }
245
+ .pulse {
246
+ position: absolute; inset: 0;
247
+ border-radius: 50%;
248
+ border: 1.5px solid var(--accent-line);
249
+ animation: ring 2.2s ease-out infinite;
250
+ }
251
+ @keyframes ring { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.15); opacity: 0; } }
252
+
253
+ /* ------------------------------------------------------------ review (Corte / Final) */
254
+
255
+ .review {
256
+ --player-h: calc(100vh - var(--topbar-h) - var(--status-h) - 36px - 104px);
257
+ display: grid;
258
+ grid-template-columns: auto minmax(0, 1fr);
259
+ gap: 20px;
260
+ height: calc(100vh - var(--topbar-h) - var(--status-h) - 36px);
261
+ min-height: 520px;
262
+ }
263
+ .player-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
264
+ .player-frame {
265
+ --ar: 9 / 16;
266
+ position: relative;
267
+ align-self: center;
268
+ height: max(360px, var(--player-h));
269
+ aspect-ratio: var(--ar);
270
+ background: #000;
271
+ border: 1px solid var(--line);
272
+ border-radius: 14px;
273
+ overflow: hidden;
274
+ }
275
+ .player-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
276
+ .big-play {
277
+ position: absolute; left: 50%; top: 50%;
278
+ width: 64px; height: 64px;
279
+ display: grid; place-items: center;
280
+ color: #fff;
281
+ background: rgba(12, 13, 16, .55);
282
+ border: 1px solid rgba(255, 255, 255, .18);
283
+ border-radius: 50%;
284
+ transform: translate(-50%, -50%);
285
+ backdrop-filter: blur(6px);
286
+ -webkit-backdrop-filter: blur(6px);
287
+ transition: opacity .2s, transform .2s;
288
+ }
289
+ .big-play svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
290
+ .player-frame.is-playing .big-play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.9); }
291
+ .video-msg {
292
+ position: absolute; left: 12px; right: 12px; bottom: 12px;
293
+ padding: 10px 12px;
294
+ font-size: 13px;
295
+ background: rgba(12, 13, 16, .85);
296
+ border: 1px solid var(--line-2);
297
+ border-radius: 10px;
298
+ }
299
+
300
+ .transport { display: flex; align-items: center; gap: 10px; }
301
+ .play-btn { width: 40px; height: 40px; color: var(--accent-ink); background: var(--accent); border-color: transparent; }
302
+ .play-btn:hover { color: var(--accent-ink); background: var(--accent-strong); }
303
+ .play-btn svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
304
+ .play-btn .i-pause { display: none; }
305
+ .is-playing .play-btn .i-play { display: none; }
306
+ .is-playing .play-btn .i-pause { display: block; }
307
+ .timecode { font: 600 13px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
308
+ .tc-sep { margin: 0 6px; color: var(--line-2); }
309
+ .tc-total { color: var(--muted); }
310
+ .transport-steps { margin-left: auto; display: flex; gap: 4px; }
311
+
312
+ .now-playing {
313
+ width: 0;
314
+ min-width: 100%;
315
+ min-height: 36px;
316
+ font-size: 12.5px;
317
+ line-height: 18px;
318
+ color: var(--muted);
319
+ display: -webkit-box;
320
+ -webkit-line-clamp: 2; -webkit-box-orient: vertical;
321
+ overflow: hidden;
322
+ }
323
+ .now-playing b { color: var(--text-2); font-weight: 650; letter-spacing: .04em; font-size: 11px; margin-right: 6px; }
324
+
325
+ .work-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; overflow: auto; padding-right: 2px; }
326
+
327
+ /* timeline */
328
+
329
+ .timeline-card { padding-bottom: 16px; }
330
+ .tl-zoom { display: flex; align-items: center; gap: 6px; flex: none; }
331
+ .tl-zoom .hint { margin-right: 4px; }
332
+ @media (max-width: 1180px) { .tl-zoom .hint { display: none; } }
333
+ .zoom-level {
334
+ min-width: 36px; text-align: center;
335
+ font: 600 11px/1 var(--mono); color: var(--muted);
336
+ font-variant-numeric: tabular-nums;
337
+ }
338
+ .btn.zoom-fit { padding: 0 10px; height: 30px; font-size: 12px; }
339
+ .tl-scroll {
340
+ overflow-x: auto;
341
+ overflow-y: hidden;
342
+ overscroll-behavior-x: contain;
343
+ scrollbar-width: thin;
344
+ scrollbar-color: var(--line-2) transparent;
345
+ }
346
+ .tl-scroll::-webkit-scrollbar { height: 9px; }
347
+ .tl-scroll::-webkit-scrollbar-track { background: transparent; }
348
+ .tl-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 5px; }
349
+ .tl-scroll::-webkit-scrollbar-thumb:hover { background: #5a626e; }
350
+ .timeline {
351
+ position: relative;
352
+ width: 100%;
353
+ min-width: 100%;
354
+ user-select: none;
355
+ -webkit-user-select: none;
356
+ touch-action: none;
357
+ cursor: col-resize;
358
+ }
359
+ .tl-ruler { position: relative; height: 20px; overflow: hidden; }
360
+ .tick {
361
+ position: absolute; top: 0; bottom: 0;
362
+ padding-left: 4px;
363
+ font: 500 10px/14px var(--mono);
364
+ color: var(--muted);
365
+ border-left: 1px solid var(--line-2);
366
+ white-space: nowrap;
367
+ }
368
+ .tick.minor { border-left-color: var(--line); top: 12px; }
369
+
370
+ .tl-layers { position: relative; height: 20px; margin-bottom: 4px; }
371
+ .layer-pill {
372
+ position: absolute; top: 2px; bottom: 2px;
373
+ padding: 0 6px;
374
+ font-size: 10.5px; font-weight: 600; line-height: 16px;
375
+ color: var(--text-2);
376
+ background: var(--panel-3);
377
+ border: 1px solid var(--line-2);
378
+ border-radius: 5px;
379
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
380
+ }
381
+
382
+ .tl-segments { position: relative; height: 50px; }
383
+ .seg-block {
384
+ position: absolute; top: 0; bottom: 0;
385
+ display: flex; flex-direction: column; justify-content: center;
386
+ padding: 0 8px;
387
+ overflow: hidden;
388
+ background: var(--panel-2);
389
+ border: 1px solid var(--line-2);
390
+ border-radius: 7px;
391
+ transition: background-color .15s, border-color .15s;
392
+ }
393
+ .seg-block.is-current { background: var(--panel-3); border-color: #4a515c; }
394
+ .seg-block.is-trimmed { border-color: var(--accent); background: var(--accent-soft); }
395
+ .seg-block.is-dragging { border-color: var(--accent); z-index: 4; }
396
+ .seg-handle {
397
+ position: absolute; top: 0; bottom: 0; width: 10px;
398
+ cursor: ew-resize;
399
+ opacity: 0;
400
+ transition: opacity .12s;
401
+ z-index: 2;
402
+ }
403
+ .seg-handle.start { left: -1px; }
404
+ .seg-handle.end { right: -1px; }
405
+ .seg-handle::before {
406
+ content: ""; position: absolute; top: 6px; bottom: 6px; left: 4px;
407
+ width: 2px; border-radius: 2px;
408
+ background: var(--accent);
409
+ }
410
+ .seg-block:hover .seg-handle, .seg-handle:focus-visible, .seg-handle.is-on { opacity: 1; }
411
+ .seg-handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
412
+ .seg-delta {
413
+ position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
414
+ padding: 1px 6px;
415
+ font: 700 10px/15px var(--mono);
416
+ white-space: nowrap;
417
+ color: var(--accent-ink);
418
+ background: var(--accent);
419
+ border-radius: 4px;
420
+ pointer-events: none;
421
+ z-index: 5;
422
+ }
423
+ .trims-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; }
424
+ .trim-row {
425
+ display: flex; align-items: center; gap: 8px;
426
+ padding: 6px 8px;
427
+ background: var(--panel-2);
428
+ border: 1px solid var(--line-2);
429
+ border-radius: 7px;
430
+ }
431
+ .trim-row .trim-when { font: 600 11px/1 var(--mono); color: var(--muted); flex: none; }
432
+ .trim-row .trim-what { font-size: 12.5px; color: var(--text); flex: 1; min-width: 0;
433
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
434
+ .trim-row .trim-delta { font: 700 11px/1 var(--mono); color: var(--accent); flex: none; }
435
+ .trims-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
436
+ .seg-beat {
437
+ font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase;
438
+ color: var(--text-2);
439
+ white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
440
+ }
441
+ .seg-block.is-current .seg-beat { color: var(--accent-strong); }
442
+ .seg-quote { font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
443
+
444
+ .tl-strip {
445
+ position: relative;
446
+ height: 64px;
447
+ margin-top: 6px;
448
+ overflow: hidden;
449
+ background: var(--well);
450
+ border-radius: 7px;
451
+ }
452
+ .tl-strip img { display: block; width: 100%; height: 100%; object-fit: fill; pointer-events: none; transition: opacity .25s; }
453
+ .tl-strip.is-loading img, .tl-strip.is-empty img { opacity: 0; }
454
+ .tl-wave {
455
+ position: relative;
456
+ height: 72px;
457
+ margin-top: 6px;
458
+ overflow: hidden;
459
+ background: var(--well);
460
+ border-radius: 7px;
461
+ }
462
+ .wave-fill {
463
+ position: absolute; inset: 0;
464
+ background: #8c95a3;
465
+ -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
466
+ -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
467
+ opacity: 0; transition: opacity .25s;
468
+ }
469
+ .tl-wave.is-ready .wave-fill { opacity: 1; }
470
+ .tl-strip.is-loading::after, .tl-wave.is-loading::after {
471
+ content: ""; position: absolute; inset: 0;
472
+ background: linear-gradient(90deg, transparent, rgba(255,255,255,.05), transparent);
473
+ background-size: 40% 100%; background-repeat: no-repeat;
474
+ animation: shimmer 1.3s linear infinite;
475
+ }
476
+ @keyframes shimmer { from { background-position: -40% 0; } to { background-position: 140% 0; } }
477
+
478
+ .tl-overlay { position: absolute; left: 0; right: 0; top: 20px; bottom: 0; pointer-events: none; }
479
+ .mark-region {
480
+ position: absolute; top: 0; bottom: 0;
481
+ background: var(--accent-soft);
482
+ border-left: 1px solid var(--accent-line);
483
+ border-right: 1px solid var(--accent-line);
484
+ }
485
+ .mark-region span {
486
+ position: absolute; left: 3px; bottom: 3px;
487
+ min-width: 16px; padding: 0 4px;
488
+ font: 700 10px/15px var(--mono);
489
+ color: var(--accent-ink);
490
+ text-align: center;
491
+ background: var(--accent);
492
+ border-radius: 4px;
493
+ }
494
+ .tl-selection {
495
+ position: absolute; top: 20px; bottom: 0;
496
+ pointer-events: none;
497
+ background: repeating-linear-gradient(135deg, rgba(80,214,174,.10) 0 6px, rgba(80,214,174,.03) 6px 12px);
498
+ border-left: 2px solid var(--accent);
499
+ }
500
+ .tl-playhead { position: absolute; top: 0; bottom: 0; width: 0; pointer-events: none; z-index: 3; }
501
+ .tl-playhead::before {
502
+ content: ""; position: absolute; top: 14px; bottom: -2px; left: -1px;
503
+ width: 2px;
504
+ background: #fff;
505
+ box-shadow: 0 0 0 1px rgba(0,0,0,.35);
506
+ }
507
+ .ph-knob {
508
+ position: absolute; top: 2px; left: -6px;
509
+ width: 12px; height: 12px;
510
+ background: #fff;
511
+ border-radius: 3px 3px 6px 6px;
512
+ box-shadow: 0 1px 3px rgba(0,0,0,.5);
513
+ }
514
+
515
+ /* marks */
516
+
517
+ .marks-card { flex: 1 0 auto; }
518
+ .marks-card > .hint { margin-bottom: 10px; }
519
+ .mark-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
520
+ .pending { font-size: 12.5px; color: var(--accent-strong); }
521
+ .note-box {
522
+ display: grid; gap: 8px;
523
+ margin-top: 12px;
524
+ padding: 12px;
525
+ background: var(--panel-2);
526
+ border: 1px solid var(--accent-line);
527
+ border-radius: 10px;
528
+ animation: pop-in .16s ease-out;
529
+ }
530
+ .note-range { font: 600 12px/1.3 var(--mono); color: var(--accent-strong); }
531
+ .note-range small { font-family: var(--font); font-weight: 500; color: var(--muted); margin-left: 6px; }
532
+ .note-actions { display: flex; justify-content: flex-end; gap: 8px; }
533
+ @keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } }
534
+
535
+ .marks-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
536
+ .mark-item {
537
+ display: grid;
538
+ grid-template-columns: auto auto minmax(0, 1fr) auto;
539
+ align-items: center;
540
+ gap: 8px;
541
+ padding: 5px 5px 5px 8px;
542
+ background: var(--panel-2);
543
+ border: 1px solid var(--line);
544
+ border-radius: 9px;
545
+ }
546
+ .mark-item.is-current { border-color: var(--accent-line); }
547
+ .mark-num {
548
+ min-width: 20px; height: 20px; padding: 0 4px;
549
+ display: grid; place-items: center;
550
+ font: 700 11px/1 var(--mono);
551
+ color: var(--accent-ink);
552
+ background: var(--accent);
553
+ border-radius: 5px;
554
+ }
555
+ .mark-range {
556
+ padding: 4px 6px;
557
+ font: 600 12px/1 var(--mono);
558
+ font-variant-numeric: tabular-nums;
559
+ color: var(--text);
560
+ background: transparent;
561
+ border: 0;
562
+ border-radius: 6px;
563
+ white-space: nowrap;
564
+ }
565
+ .mark-range:hover { background: var(--panel-3); }
566
+ .mark-note { height: 30px; padding: 4px 8px !important; font-size: 13px; background: transparent !important; border-color: transparent !important; }
567
+ .mark-note:hover { border-color: var(--line-2) !important; }
568
+ .mark-note:focus { background: var(--well) !important; border-color: var(--accent-line) !important; }
569
+ .marks-empty { margin-top: 12px; font-size: 13px; color: var(--muted); }
570
+
571
+ /* actions */
572
+
573
+ .actions-bar {
574
+ display: grid;
575
+ grid-template-columns: minmax(0, 1fr) auto;
576
+ align-items: center;
577
+ gap: 10px 12px;
578
+ margin-top: auto;
579
+ padding: 12px;
580
+ background: var(--panel);
581
+ border: 1px solid var(--line);
582
+ border-radius: var(--radius);
583
+ }
584
+ .banner {
585
+ grid-column: 1 / -1;
586
+ display: flex; align-items: center; gap: 8px;
587
+ padding: 8px 10px;
588
+ font-size: 13px;
589
+ color: var(--text);
590
+ background: var(--panel-2);
591
+ border: 1px solid var(--line-2);
592
+ border-radius: 8px;
593
+ }
594
+ .banner.is-approved { background: var(--accent-soft); border-color: var(--accent-line); }
595
+ .banner.is-approved::before { content: "✓"; font-weight: 800; color: var(--accent); }
596
+ .banner.is-info::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); flex: none; }
597
+ .approve-note-wrap { min-width: 0; }
598
+ .actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
599
+
600
+ /* horizontal videos: player on top-left, bigger */
601
+ .review.is-horizontal { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); }
602
+ .review.is-horizontal .player-frame { width: 100%; height: auto; max-height: calc(100vh - 260px); }
603
+
604
+ /* ------------------------------------------------------------ style tab */
605
+
606
+ .style-layout {
607
+ display: grid;
608
+ grid-template-columns: minmax(0, 1fr) 340px;
609
+ gap: 28px;
610
+ max-width: 1240px;
611
+ margin: 0 auto;
612
+ }
613
+ .style-form { min-width: 0; }
614
+ .style-section { padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
615
+ .style-section:first-child { padding-top: 4px; }
616
+ .style-section:last-child { border-bottom: 0; }
617
+ .section-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
618
+ .section-head h3 { font-size: 15px; font-weight: 650; letter-spacing: -0.005em; }
619
+ .section-head p { font-size: 13px; color: var(--muted); }
620
+ .step {
621
+ flex: none;
622
+ width: 24px; height: 24px; margin-top: 1px;
623
+ display: grid; place-items: center;
624
+ font: 700 11px/1 var(--mono);
625
+ color: var(--text-2);
626
+ border: 1px solid var(--line-2);
627
+ border-radius: 50%;
628
+ }
629
+
630
+ .type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
631
+ .type-card {
632
+ display: flex; align-items: center; gap: 12px;
633
+ padding: 12px;
634
+ text-align: left;
635
+ background: var(--panel);
636
+ border: 1px solid var(--line);
637
+ border-radius: var(--radius);
638
+ transition: border-color .15s, background-color .15s;
639
+ }
640
+ .type-card:hover { border-color: var(--line-2); background: var(--panel-2); }
641
+ .type-card[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: linear-gradient(180deg, rgba(80,214,174,.06), transparent); }
642
+ .tc-text { display: block; min-width: 0; }
643
+ .tc-text strong { display: block; font-size: 13.5px; font-weight: 650; }
644
+ .tc-desc { display: block; font-size: 12px; color: var(--muted); }
645
+ .schema {
646
+ flex: none;
647
+ width: 34px; height: 60px;
648
+ display: flex; flex-direction: column;
649
+ overflow: hidden;
650
+ background: var(--well);
651
+ border: 1.5px solid var(--line-2);
652
+ border-radius: 6px;
653
+ }
654
+ .type-card[aria-checked="true"] .schema { border-color: var(--accent-line); }
655
+ .schema .band {
656
+ flex: 0 0 46%;
657
+ background: repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 3px, rgba(255,255,255,.05) 3px 6px);
658
+ }
659
+ .schema .person {
660
+ flex: 1;
661
+ background:
662
+ radial-gradient(circle at 50% 42%, #9aa2ae 0 5px, transparent 5.5px),
663
+ radial-gradient(ellipse 13px 10px at 50% 100%, #9aa2ae 0 99%, transparent 100%);
664
+ }
665
+ .type-card[aria-checked="true"] .schema .person {
666
+ background:
667
+ radial-gradient(circle at 50% 42%, var(--accent) 0 5px, transparent 5.5px),
668
+ radial-gradient(ellipse 13px 10px at 50% 100%, var(--accent) 0 99%, transparent 100%);
669
+ }
670
+
671
+ .schema.tv {
672
+ justify-content: flex-end;
673
+ align-items: flex-end;
674
+ background: linear-gradient(160deg, rgba(120, 150, 255, .30), rgba(255, 120, 200, .16) 60%, var(--well));
675
+ }
676
+ .schema.tv .person { flex: 0 0 48%; width: 64%; }
677
+ .schema.tv.pos-esquerda { align-items: flex-start; }
678
+ .schema.tv.pos-centro { align-items: center; }
679
+ .schema.tv.pos-centro .person { flex-basis: 62%; width: 86%; }
680
+ .tv-pos { margin-top: 14px; }
681
+ .tv-pos .field-label { display: block; margin-bottom: 8px; }
682
+ .tv-pos .field-help { margin-top: 8px; }
683
+ .tv-note { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--text); font-size: 13px; line-height: 1.4; }
684
+ .tv-note:empty { display: none; }
685
+ .tv-pos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
686
+ .tv-pos-card .schema { width: 30px; height: 52px; }
687
+ @media (max-width: 560px) { .tv-pos-grid { grid-template-columns: 1fr; } }
688
+
689
+ .noise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
690
+ .music-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
691
+ .music-card { align-items: center; }
692
+ .music-mark {
693
+ flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
694
+ border: 1px solid var(--line-2); color: var(--muted); font-size: 17px; line-height: 1;
695
+ }
696
+ .music-card .tc-text strong, .music-card .tc-desc { overflow-wrap: anywhere; }
697
+ .type-card[aria-checked="true"] .music-mark { border-color: var(--accent-line); color: var(--accent); }
698
+ .noise-meter {
699
+ flex: none;
700
+ width: 46px; height: 40px;
701
+ display: flex; align-items: center; justify-content: center; gap: 3px;
702
+ background: var(--well);
703
+ border: 1.5px solid var(--line-2);
704
+ border-radius: 6px;
705
+ }
706
+ .noise-meter i { display: block; width: 3px; border-radius: 2px; background: #9aa2ae; transition: height .15s; }
707
+ .noise-meter .vc { height: 15px; }
708
+ .noise-meter .vc.tall { height: 24px; }
709
+ .noise-meter .nz { height: 12px; opacity: .5; }
710
+ .noise-meter.lv-1 .nz { height: 6px; }
711
+ .noise-meter.lv-2 .nz { height: 2px; }
712
+ .type-card[aria-checked="true"] .noise-meter { border-color: var(--accent-line); }
713
+ .type-card[aria-checked="true"] .noise-meter i { background: var(--accent); }
714
+
715
+ .accent-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
716
+ .color-well {
717
+ position: relative;
718
+ width: 40px; height: 40px;
719
+ overflow: hidden;
720
+ border: 1px solid var(--line-2);
721
+ border-radius: 10px;
722
+ cursor: pointer;
723
+ }
724
+ .color-well input {
725
+ position: absolute; inset: -10px;
726
+ width: 60px; height: 60px;
727
+ padding: 0; border: 0;
728
+ cursor: pointer;
729
+ background: none;
730
+ }
731
+ .hex-field input { width: 112px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .03em; }
732
+ .swatches { display: flex; gap: 6px; margin-left: 4px; }
733
+ .swatch {
734
+ width: 26px; height: 26px;
735
+ padding: 0;
736
+ border: 2px solid var(--bg);
737
+ border-radius: 50%;
738
+ box-shadow: 0 0 0 1px var(--line-2);
739
+ }
740
+ .swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
741
+ .field-help { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
742
+ .field-help.is-error { color: var(--danger); }
743
+
744
+ .field { display: block; margin-bottom: 14px; }
745
+ .field-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
746
+ .counter { font: 500 11px var(--mono); color: var(--muted); }
747
+
748
+ .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
749
+ .style-card {
750
+ position: relative;
751
+ display: flex; flex-direction: column;
752
+ padding: 6px;
753
+ text-align: left;
754
+ background: var(--panel);
755
+ border: 1px solid var(--line);
756
+ border-radius: var(--radius);
757
+ transition: border-color .15s, background-color .15s, transform .15s;
758
+ }
759
+ .style-card:hover { border-color: var(--line-2); background: var(--panel-2); }
760
+ .style-card[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
761
+ .thumb {
762
+ position: relative;
763
+ aspect-ratio: 9 / 16;
764
+ overflow: hidden;
765
+ background: var(--well);
766
+ border-radius: 8px;
767
+ }
768
+ .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
769
+ .thumb-fallback {
770
+ position: absolute; inset: 0;
771
+ display: grid; place-items: center;
772
+ padding: 10px;
773
+ font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
774
+ text-align: center;
775
+ color: var(--text-2);
776
+ background:
777
+ linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%),
778
+ repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 8px, transparent 8px 16px),
779
+ var(--well);
780
+ }
781
+ .style-card .meta { padding: 8px 4px 3px; }
782
+ .style-card strong { display: block; font-size: 13px; font-weight: 650; }
783
+ .style-card .meta span {
784
+ display: -webkit-box;
785
+ -webkit-line-clamp: 2; -webkit-box-orient: vertical;
786
+ overflow: hidden;
787
+ font-size: 11.5px; color: var(--muted);
788
+ }
789
+ .badge {
790
+ position: absolute; top: 12px; left: 12px; z-index: 1;
791
+ padding: 1px 7px;
792
+ font-size: 10.5px; font-weight: 700;
793
+ color: var(--text);
794
+ background: rgba(12,13,16,.72);
795
+ border: 1px solid rgba(255,255,255,.12);
796
+ border-radius: 999px;
797
+ backdrop-filter: blur(4px);
798
+ -webkit-backdrop-filter: blur(4px);
799
+ }
800
+ .check {
801
+ position: absolute; top: 12px; right: 12px; z-index: 1;
802
+ width: 22px; height: 22px;
803
+ display: grid; place-items: center;
804
+ color: var(--accent-ink);
805
+ background: var(--accent);
806
+ border-radius: 50%;
807
+ opacity: 0; transform: scale(.6);
808
+ transition: opacity .15s, transform .15s;
809
+ }
810
+ .check svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
811
+ [aria-checked="true"] > .check { opacity: 1; transform: none; }
812
+
813
+ .toggle-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
814
+ .toggle {
815
+ display: flex; align-items: center; justify-content: space-between; gap: 12px;
816
+ padding: 11px 12px 11px 14px;
817
+ background: var(--panel);
818
+ border: 1px solid var(--line);
819
+ border-radius: 10px;
820
+ cursor: pointer;
821
+ }
822
+ .toggle:hover { border-color: var(--line-2); }
823
+ .toggle span { font-size: 13.5px; }
824
+ .switch {
825
+ appearance: none; -webkit-appearance: none;
826
+ position: relative;
827
+ flex: none;
828
+ width: 38px; height: 22px;
829
+ margin: 0;
830
+ background: var(--line-2);
831
+ border-radius: 999px;
832
+ cursor: pointer;
833
+ transition: background-color .15s;
834
+ }
835
+ .switch::before {
836
+ content: ""; position: absolute; top: 3px; left: 3px;
837
+ width: 16px; height: 16px;
838
+ background: #d9dde3;
839
+ border-radius: 50%;
840
+ transition: transform .15s, background-color .15s;
841
+ }
842
+ .switch:checked { background: var(--accent); }
843
+ .switch:checked::before { transform: translateX(16px); background: var(--accent-ink); }
844
+
845
+ .style-aside { position: sticky; top: 16px; align-self: start; display: grid; gap: 12px; }
846
+ .seg-toggle { display: flex; gap: 2px; padding: 3px; margin-bottom: 10px; background: var(--well); border: 1px solid var(--line); border-radius: 9px; }
847
+ .seg { flex: 1; padding: 5px 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: transparent; border: 0; border-radius: 6px; }
848
+ .seg.on { color: var(--text); background: var(--panel-3); }
849
+ .pv-frame {
850
+ position: relative;
851
+ width: min(100%, calc((100vh - 400px) * 9 / 16));
852
+ min-width: 180px;
853
+ aspect-ratio: 9 / 16;
854
+ margin: 0 auto 10px;
855
+ overflow: hidden;
856
+ background: var(--well);
857
+ border: 1px solid var(--line);
858
+ border-radius: 10px;
859
+ }
860
+ .pv-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
861
+ .pv-placeholder {
862
+ position: absolute; inset: 0;
863
+ display: grid; place-content: center; justify-items: center; gap: 6px;
864
+ padding: 16px;
865
+ text-align: center;
866
+ }
867
+ .pv-placeholder span { font-size: 20px; font-weight: 800; text-transform: uppercase; color: var(--text-2); }
868
+ .pv-placeholder small { color: var(--muted); }
869
+ .preview-card .hint { text-align: center; }
870
+
871
+ .summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 14px; margin: 0 0 14px; font-size: 13px; }
872
+ .summary dt { color: var(--muted); }
873
+ .summary dd { margin: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
874
+ .summary .chip { display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
875
+ .save-row { display: grid; gap: 8px; }
876
+ .save-row .save-state { text-align: center; min-height: 16px; }
877
+
878
+ /* ------------------------------------------------------------ toasts & dialogs */
879
+
880
+ .toasts {
881
+ position: fixed; right: 20px; top: calc(var(--topbar-h) + var(--status-h) + 12px); z-index: 50;
882
+ display: grid; gap: 8px; justify-items: end;
883
+ width: max-content; max-width: min(420px, calc(100vw - 32px));
884
+ pointer-events: none;
885
+ }
886
+ .toast {
887
+ padding: 10px 14px;
888
+ font-size: 13.5px;
889
+ color: var(--text);
890
+ background: var(--panel-3);
891
+ border: 1px solid var(--line-2);
892
+ border-left: 3px solid var(--accent);
893
+ border-radius: 10px;
894
+ box-shadow: 0 10px 30px rgba(0,0,0,.45);
895
+ animation: toast-in .2s ease-out;
896
+ }
897
+ .toast.is-error { border-left-color: var(--danger); }
898
+ .toast.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
899
+ @keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } }
900
+
901
+ .dialog {
902
+ width: min(440px, calc(100vw - 32px));
903
+ padding: 22px;
904
+ color: var(--text);
905
+ background: var(--panel);
906
+ border: 1px solid var(--line-2);
907
+ border-radius: 14px;
908
+ box-shadow: 0 30px 80px rgba(0,0,0,.6);
909
+ }
910
+ .dialog::backdrop { background: rgba(5, 6, 8, .62); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
911
+ .dialog h2 { font-size: 16px; font-weight: 650; margin-bottom: 12px; }
912
+ .dialog p { color: var(--text-2); margin-bottom: 16px; }
913
+ .dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
914
+ .shortcuts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
915
+ .shortcuts li {
916
+ display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px;
917
+ padding: 7px 0;
918
+ font-size: 13.5px;
919
+ border-bottom: 1px solid var(--line);
920
+ }
921
+ .shortcuts li:last-child { border-bottom: 0; }
922
+
923
+ /* ------------------------------------------------------------ narrow screens */
924
+
925
+ @media (max-width: 1100px) {
926
+ .style-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; }
927
+ }
928
+
929
+ @media (max-width: 860px) {
930
+ .topbar {
931
+ height: auto;
932
+ grid-template-columns: minmax(0, 1fr) auto;
933
+ gap: 10px;
934
+ padding: 10px 16px;
935
+ }
936
+ .tabs { grid-column: 1 / -1; grid-row: 2; }
937
+ .tab { flex: 1; min-width: 0; }
938
+ .help-btn { grid-column: 2; grid-row: 1; }
939
+ .brand-text { flex-direction: column; gap: 0; }
940
+ .project:not(:empty)::before { content: none; }
941
+ .project { font-size: 12.5px; }
942
+ .statusline { padding: 8px 16px; flex-wrap: wrap; row-gap: 2px; }
943
+ .status-meta { margin-left: 18px; flex-basis: calc(100% - 28px); white-space: normal; font-size: 12px; }
944
+ .main { padding: 12px 16px 16px; }
945
+
946
+ .review, .review.is-horizontal { display: flex; flex-direction: column; height: auto; min-height: 0; gap: 14px; }
947
+ .player-frame { height: auto; width: min(100%, calc(58vh * 9 / 16)); margin: 0 auto; max-height: none; }
948
+ .review.is-horizontal .player-frame { width: 100%; }
949
+ .transport { justify-content: space-between; }
950
+ .work-col { overflow: visible; padding-right: 0; }
951
+ .timeline-card .card-head .hint { display: none; }
952
+ .mark-tools .btn { flex: 1; }
953
+ .actions-bar {
954
+ position: sticky; bottom: 0; z-index: 10;
955
+ grid-template-columns: 1fr;
956
+ margin: 0 -16px;
957
+ padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
958
+ background: rgba(12, 13, 16, .94);
959
+ border: 0; border-top: 1px solid var(--line); border-radius: 0;
960
+ backdrop-filter: blur(10px);
961
+ -webkit-backdrop-filter: blur(10px);
962
+ }
963
+ .actions-bar .banner { padding: 6px 10px; font-size: 12.5px; line-height: 1.35; }
964
+ .actions { flex-wrap: wrap; gap: 6px 8px; }
965
+ .actions .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
966
+ .actions .download { order: 3; flex: 1 1 100%; height: 28px; font-size: 13px; }
967
+
968
+ .style-layout { display: block; }
969
+ .style-aside { position: sticky; bottom: 0; top: auto; z-index: 10; margin: 0 -16px; }
970
+ .preview-card { display: none; }
971
+ .summary-card {
972
+ padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
973
+ background: rgba(12, 13, 16, .94);
974
+ border: 0; border-top: 1px solid var(--line); border-radius: 0;
975
+ backdrop-filter: blur(10px);
976
+ -webkit-backdrop-filter: blur(10px);
977
+ }
978
+ .summary { display: none; }
979
+ .save-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
980
+ .save-row .save-state { text-align: left; }
981
+ .save-row .btn.block { width: auto; padding: 0 22px; }
982
+ .card-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
983
+ .toggle-list { grid-template-columns: 1fr; }
984
+ .noise-grid { grid-template-columns: 1fr; gap: 8px; }
985
+ .music-grid { grid-template-columns: 1fr; gap: 8px; }
986
+ .swatches { margin-left: 0; }
987
+ .toasts { top: auto; right: 16px; left: 16px; bottom: 96px; width: auto; max-width: none; justify-items: center; }
988
+ .shortcuts li { grid-template-columns: 110px 1fr; }
989
+ }
990
+
991
+ @media (prefers-reduced-motion: reduce) {
992
+ *, *::before, *::after { animation: none !important; transition: none !important; }
993
+ }
994
+
995
+ /* motion: options under the "Animações" switch and the "Motion aqui" marks */
996
+ .motion-options { grid-column: 1 / -1; display: grid; gap: 10px; margin: 0; padding: 12px; border: 1px solid var(--line, #2a2f36);
997
+ border-radius: 12px; background: var(--panel-2, rgba(255,255,255,.03)); }
998
+ .motion-options[hidden] { display: none; }
999
+ .motion-group { display: grid; gap: 6px; }
1000
+ .motion-label { font-size: 12px; font-weight: 600; opacity: .75; }
1001
+ .motion-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; }
1002
+ .motion-card { padding: 8px 10px; min-height: 0; }
1003
+ .motion-options .hint { margin: 0; }
1004
+ .motion-btn { border-color: #c7b7ef; }
1005
+ .mark-num.is-motion { background: #c7b7ef; color: #352c40; }
1006
+ .mark-region.is-motion { background: rgba(199,183,239,.35); border-color: #c7b7ef; }
1007
+ .motion-card { display: flex; gap: 8px; align-items: flex-start; }
1008
+ .motion-sw { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; flex: none; }
1009
+ .motion-sw i { display: block; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }