File size: 2,126 Bytes
3557019
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2e9ae57
04e8ab5
 
 
 
 
 
 
 
 
2e9ae57
 
 
 
 
 
 
 
2a0cb43
 
2e9ae57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a0cb43
 
2e9ae57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
body {
	padding: 2rem;
	font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}

h1 {
	font-size: 16px;
	margin-top: 0;
}

p {
	color: rgb(107, 114, 128);
	font-size: 15px;
	margin-bottom: 10px;
	margin-top: 5px;
}

.card {
	max-width: 620px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid lightgray;
	border-radius: 16px;
}

.card p:last-child {
	margin-bottom: 0;
}

.card pre {
    background: #f0ebe3;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
    overflow-x: auto;
    margin: 0.5rem 0 0.75rem;
}

/* === Audio Player === */

.audio-card {
    position: relative;
    background: #faf6f0;
    border: 1.5px solid #e0d5c5;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    max-width: 620px;           /* add */
    margin: 0 auto 1rem;        /* replaces margin-bottom: 1rem */
}

.audio-card-label {
    font-size: 0.8rem;
    color: #8a7e6e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.audio-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.75rem;
}

.audio-card audio {
    width: 100%;
    display: block;
}

/* === Interactive Transcript === */

.transcript-card {
    background: #faf6f0;
    border: 1.5px solid #e0d5c5;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    max-width: 620px;           /* add */
    margin: 0 auto 1.5rem;      /* replaces margin-bottom: 1.5rem */
}

.transcript-container {
    max-height: 600px;
    overflow-y: auto;
    line-height: 1.8;
}

.transcript-container .chunk {
    margin-bottom: 1rem;
}

.transcript-container .alignment {
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 0;
    transition: background-color 0.15s ease;
}

.transcript-container .alignment:hover {
    background-color: rgba(39, 128, 227, 0.10);
}

.transcript-container .word {
    transition: background-color 0.15s ease, color 0.15s ease;
    border-radius: 2px;
    padding: 1px 0;
}

.highlight-sentence {
    background-color: rgba(39, 128, 227, 0.12);
}

.highlight-word {
    background-color: rgba(39, 128, 227, 0.35);
}