File size: 7,911 Bytes
b263ce0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82f7357
b263ce0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82f7357
b263ce0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82f7357
b263ce0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0f3d656
 
 
 
 
 
 
 
 
 
 
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
/* Weekly report list: Amazon's time-ordered shelves in the Charts tone.
   Replaces the ~410-line inline <style> block that used to live in the
   template; shared shelf primitives come from browse.css. */

/* The month shelves and the filter section replace the sidebar nav here. */
.weekly-page .sidebar,
.weekly-page .sidebar-toggle {
    display: none !important;
}

/* --- Generating banner --- */
.generating-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 12px 16px;
    border: 1px solid #f3d9a4;
    border-left: 3px solid var(--link-blue);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 13px;
}

.generating-banner-icon {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1;
}

/* --- Month shelves: report cards instead of book covers --- */
.browse-rail--report {
    grid-auto-columns: 260px;
}

.browse-report-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-card);
    text-decoration: none;
    transition: border-color 180ms ease;
}

.browse-report-card:hover { border-color: var(--text-muted); }
.browse-report-card:focus-visible { outline: 2px solid var(--link-blue); outline-offset: 2px; }
.browse-report-period {
    color: var(--link-blue);
    font: 700 13px/1 Georgia, 'Times New Roman', serif;
    letter-spacing: 0.02em;
}

.browse-report-title {
    color: var(--text-primary);
    font-family: Georgia, 'Noto Serif SC', 'Songti SC', SimSun, serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.browse-report-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
}

/* --- Filter section --- */
.weekly-page .content-section { margin-bottom: 40px; }
.weekly-page .filter-section {
    padding: 0 0 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 28px;
}

.weekly-page .filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.weekly-page .filter-group {
    display: flex;
    min-width: 180px;
    flex-direction: column;
    gap: 6px;
}

.weekly-page .filter-group > label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.weekly-page .form-select,
.weekly-page .form-input {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 14px;
}

.weekly-page .form-select:focus,
.weekly-page .form-input:focus {
    outline: none;
    border-color: var(--link-blue);
    box-shadow: 0 0 0 3px rgb(0 114 245 / 12%);
}

.weekly-page .search-box {
    display: flex;
    gap: 8px;
}

.weekly-page .search-box .form-input { flex: 1; }
.weekly-page .search-btn {
    display: inline-flex;
    width: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
}

.weekly-page .search-btn:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* --- Report list --- */
.weekly-page .reports-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.weekly-page .report-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.weekly-page .report-card:hover { transform: none; box-shadow: none; }
.weekly-page .report-card[hidden] { display: none; }
.weekly-page .news-date-badge {
    display: flex;
    width: auto;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.weekly-page .news-day {
    color: var(--text-primary);
    font: 400 34px/1 Georgia, 'Times New Roman', serif;
    letter-spacing: -0.04em;
}

.weekly-page .news-month { color: var(--text-muted); font-size: 12px; letter-spacing: 0.08em; }
.weekly-page .news-card-content { min-width: 0; }
.weekly-page .news-title {
    margin: 0 0 8px;
    font-family: Georgia, 'Noto Serif SC', 'Songti SC', SimSun, serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.weekly-page .news-title a { color: var(--text-primary); text-decoration: none; }
.weekly-page .news-title a:hover { text-decoration: underline; }
.weekly-page .news-meta,
.weekly-page .news-period {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.weekly-page .news-summary {
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.weekly-page .news-highlights { margin-top: 12px; }
.weekly-page .highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.weekly-page .highlights-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 12px;
}

.weekly-page .news-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.weekly-page .news-actions .btn {
    min-height: 38px;
    border-radius: 4px;
    font-size: 13px;
}

.weekly-page .news-actions .btn-primary {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--text-white);
}

.weekly-page .news-actions .btn-outline {
    border-color: var(--border-color);
    background: transparent;
    color: var(--text-secondary);
}

.weekly-page .news-actions .btn-outline:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* --- About card --- */
.weekly-page .section-card {
    padding: 26px 28px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-card);
}

.weekly-page .section-title {
    margin: 0 0 12px;
    color: var(--text-primary);
    font-family: Georgia, 'Noto Serif SC', 'Songti SC', SimSun, serif;
    font-size: 19px;
    font-weight: 500;
}

.weekly-page .section-content p {
    margin: 0 0 12px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.weekly-page .list-disc {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.9;
}

.weekly-page .empty-state {
    padding: 56px 24px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-card);
}

@media (max-width: 760px) {
    .browse-rail--report { grid-auto-columns: 216px; }
    .weekly-page .report-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px 0;
    }

    .weekly-page .news-day { font-size: 27px; }
    .weekly-page .news-title { font-size: 18px; }
    .weekly-page .filter-group { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .weekly-page .browse-report-card,
    .weekly-page .report-card { animation: none; transition: none; transform: none; }
}

/* Desktop weekly typography: +2px for list summary and recommendation facts (14->16px) */
@media (min-width: 761px) {
  body.weekly-page .news-summary {
    font-size: 16px;
  }

  body.weekly-detail-page .recommendation-reason p {
    font-size: 18px;
  }
}