File size: 5,526 Bytes
09e2e7a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

body {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.panel {
  border: 1px solid rgb(226 232 240);
  border-radius: 8px;
  background: white;
  padding: 20px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.section-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  color: rgb(15 23 42);
  text-transform: uppercase;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 650;
  color: rgb(71 85 105);
}

.text-input,
.file-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgb(203 213 225);
  border-radius: 6px;
  background: white;
  padding: 9px 11px;
  color: rgb(15 23 42);
  outline: none;
}

.text-input:focus,
.file-input:focus,
textarea:focus {
  border-color: rgb(20 184 166);
  box-shadow: 0 0 0 3px rgb(20 184 166 / 0.16);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 7px;
  background: rgb(241 245 249);
  padding: 4px;
}

.segmented button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 5px;
  color: rgb(71 85 105);
}

.segmented button.active {
  background: white;
  color: rgb(15 23 42);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.08);
}

.primary-button,
.clip-actions button,
.download-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid rgb(203 213 225);
  padding: 0 12px;
  color: rgb(15 23 42);
  text-decoration: none;
}

.primary-button {
  width: 100%;
  border-color: rgb(15 23 42);
  background: rgb(15 23 42);
  color: white;
  font-weight: 700;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.status-pill {
  border-radius: 999px;
  border: 1px solid rgb(203 213 225);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill.running,
.status-pill.queued {
  border-color: rgb(14 165 233);
  background: rgb(240 249 255);
  color: rgb(3 105 161);
}

.status-pill.completed {
  border-color: rgb(20 184 166);
  background: rgb(240 253 250);
  color: rgb(15 118 110);
}

.status-pill.failed {
  border-color: rgb(244 63 94);
  background: rgb(255 241 242);
  color: rgb(190 18 60);
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(226 232 240);
}

.progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(20 184 166), rgb(245 158 11));
  transition: width 220ms ease;
}

.timing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.timing-grid div {
  border: 1px solid rgb(226 232 240);
  border-radius: 6px;
  padding: 10px;
}

.timing-grid span {
  display: block;
  color: rgb(100 116 139);
  font-size: 0.78rem;
}

.timing-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.transcript-list {
  display: grid;
  max-height: 330px;
  overflow: auto;
  gap: 8px;
}

.transcript-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  border-bottom: 1px solid rgb(241 245 249);
  padding-bottom: 8px;
}

.transcript-row span {
  color: rgb(100 116 139);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.transcript-row p {
  margin: 0;
  color: rgb(30 41 59);
  font-size: 0.92rem;
}

.clip-card {
  overflow: hidden;
  border: 1px solid rgb(226 232 240);
  border-radius: 8px;
  background: rgb(248 250 252);
}

.clip-video {
  display: grid;
  aspect-ratio: 9 / 16;
  max-height: 360px;
  place-items: center;
  background: rgb(15 23 42);
  color: white;
}

.clip-video video {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.clip-body {
  display: grid;
  gap: 13px;
  padding: 14px;
}

.clip-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 750;
}

.clip-body p {
  margin: 4px 0 0;
  color: rgb(71 85 105);
  font-size: 0.86rem;
}

.score {
  min-width: 42px;
  border-radius: 6px;
  background: rgb(254 243 199);
  padding: 6px 8px;
  text-align: center;
  font-weight: 850;
  color: rgb(146 64 14);
}

.timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 68px;
  align-items: end;
  gap: 8px;
}

.timeline label {
  display: block;
  margin-bottom: 4px;
  color: rgb(100 116 139);
  font-size: 0.76rem;
  font-weight: 700;
}

.timeline input {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgb(203 213 225);
  border-radius: 6px;
  padding: 6px 8px;
}

.timeline strong {
  min-height: 36px;
  border-radius: 6px;
  background: rgb(226 232 240);
  padding: 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgb(203 213 225);
  border-radius: 6px;
  padding: 9px 10px;
  color: rgb(15 23 42);
}

.clip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.download-button {
  margin-left: auto;
  background: rgb(20 184 166);
  border-color: rgb(20 184 166);
  color: white;
}

.error-box {
  border: 1px solid rgb(251 113 133);
  border-radius: 6px;
  background: rgb(255 241 242);
  padding: 10px;
  color: rgb(159 18 57);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .panel {
    padding: 16px;
  }

  .transcript-row {
    grid-template-columns: 1fr;
  }
}