File size: 47,508 Bytes
148af80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80af67d
148af80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c9f9bbf
 
148af80
 
 
 
 
 
 
 
 
c9f9bbf
148af80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c9f9bbf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
@font-face{font-family:"LINE Seed JP";src:url("./fonts/LINESeedJP_OTF_Rg.woff2") format("woff2");font-weight:400 500;font-style:normal;font-display:swap}
@font-face{font-family:"LINE Seed JP";src:url("./fonts/LINESeedJP_OTF_Bd.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap}
:root{color-scheme:light;font-family:"LINE Seed JP",sans-serif;color:#242725;background:#fff;font-size:13px;line-height:1.5}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}.topbar{height:60px;padding:0 32px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #e9e6ee}.brand{color:#0e1240;text-decoration:none;font-size:21px;font-weight:750;letter-spacing:-1px}.brand span{font-weight:400}.divider{color:#ccd0ca}h1{font-size:14px;font-weight:500;margin:0}.private-label{margin-left:auto;color:#777e78;font-size:11px}.page{max-width:1440px;margin:auto;padding:0 32px}.toolbar{display:flex;align-items:center;gap:12px;padding:20px 0;flex-wrap:wrap}.toolbar select{width:auto}.mode-label,.hint{color:#80857f;font-size:11px;font-weight:400}#model-status{font-size:11px;color:#6f6879;margin-left:auto;max-width:440px}.mode-note{font-size:11px;color:#80857f;margin:0 0 20px}.workspace{display:grid;grid-template-columns:minmax(360px,1.1fr) minmax(320px,1fr);border-top:1px solid #e2deea;min-height:calc(100vh - 150px)}.inputs{padding-right:28px}.output{padding:22px 0 24px 28px;border-left:1px solid #e2deea;min-width:0}.section{padding:20px 0;border-bottom:1px solid #e9e6ee}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}h2,h3{font-size:13px;font-weight:600;margin:0}.section-heading select{max-width:200px}button,input,select,textarea{font:inherit;color:inherit}button,.file-button{border:1px solid #d6d9d3;border-radius:4px;background:white;padding:7px 12px;cursor:pointer;font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.file-button:hover{background:#f2efff}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,.file-button:focus-within{outline:2px solid #7203ff;outline-offset:3px}.quiet{border-color:transparent;color:#777f77}.primary{background:#7203ff;color:#fff;border-color:#7203ff;min-width:130px}.primary:hover{background:#5c02cc}.primary span{margin-left:18px}.audio-controls,.button-row{display:flex;gap:8px;align-items:center}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;opacity:0;inset:0;cursor:pointer;width:100%}audio{display:block;width:100%;height:36px;margin-top:14px}#audio-status{margin:8px 0 12px}#examples-section{padding-top:16px;display:flex;align-items:baseline;gap:8px}#examples-section>.hint{flex:none}.examples{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.examples button{padding:3px 9px;font-size:11px;border-color:#e3e6df;background:#faf9fc}.context-details{margin-top:14px}summary{cursor:pointer;font-size:12px;color:#6f6879;padding:7px 0}summary .hint{margin-left:8px}label{display:grid;gap:5px;font-size:11px;color:#5d665e}input,select,textarea{border:1px solid #dedbe6;border-radius:4px;padding:8px 10px;background:white;width:100%;font-size:12px}textarea{resize:vertical;line-height:1.65;font-family:"LINE Seed JP",sans-serif}#context,#question-instructions{font-family:inherit}.editor-tabs{display:flex;gap:18px;margin-bottom:16px;border-bottom:1px solid #e9e6ee}.editor-tabs button{border:0;border-radius:0;padding:7px 0 9px;background:none;color:#90958e;margin-bottom:-1px}.editor-tabs button[aria-selected=true]{color:#7203ff;border-bottom:2px solid #7203ff}.builder{display:grid;gap:12px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}#question-criteria{font-size:11px}.error{font-size:11px;color:#a44438;margin:8px 0 0}.error:empty{display:none}.run-bar{display:flex;align-items:center;gap:16px;padding:18px 0;position:sticky;bottom:0;background:rgba(255,255,255,.97)}#analysis-status{font-size:11px;color:#828880}.summary{min-height:170px;color:#929990;padding:12px 0}.summary ul{padding:0;margin:0;list-style:none;color:#292438}.summary li{padding:15px 0;border-bottom:1px solid #eceee9}.summary strong{font-weight:500;color:#6f6879;display:block;font-size:11px;margin-bottom:4px}.summary li span{display:block;font-size:11px;color:#80877e}.result-details{border-top:1px solid #e9e6ee;border-bottom:1px solid #e9e6ee;padding:6px 0}pre{font-size:11px;line-height:1.7;white-space:pre-wrap;word-break:break-word;max-height:400px;overflow:auto;background:#f8f7fb;padding:14px;border-radius:3px}.export{margin-top:32px}.export .section-heading{margin-bottom:0}.footnote{font-size:10px;color:#96909e;margin-top:40px;max-width:340px}progress{max-width:120px;height:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1200px){.inputs{padding-right:40px}.output{padding-left:40px}.page{padding:0 48px}}@media(max-width:760px){.topbar{padding:0 18px;gap:12px}.page{padding:0 18px}.workspace{grid-template-columns:1fr}.inputs{padding-right:0}.output{border-left:0;border-top:1px solid #e2deea;padding:20px 0}.toolbar{gap:8px}#model-status{margin-left:0;width:100%}.private-label{font-size:10px}.summary{min-height:100px}.field-pair{grid-template-columns:1fr 1fr}.run-bar{z-index:1}}

.startup-screen{position:fixed;z-index:3000;inset:0;display:grid;place-items:center;background:#faf8ff;opacity:1;visibility:visible;transition:opacity 180ms ease,visibility 180ms step-end}.startup-screen.is-ready{opacity:0;visibility:hidden;pointer-events:none}.startup-stage{display:grid;place-items:center}.startup-spinner,.startup-brand{grid-area:1/1}.startup-spinner{display:block;width:30px;height:30px;border:2px solid #dfd1f3;border-top-color:#7203ff;border-radius:50%;animation:startup-spin .72s linear infinite}.startup-brand{display:none;flex-direction:column;align-items:center;gap:12px;font-family:"LINE Seed JP",sans-serif;color:#0e1240}.startup-brand strong{font-size:24px;line-height:1;font-weight:700;letter-spacing:normal}.startup-brand span{display:flex;align-items:center;gap:7px;color:#8a8d93;font-size:12px}.startup-brand img{display:block;width:112px;height:auto;filter:grayscale(1);opacity:.58}.startup-screen.fonts-ready .startup-spinner{display:none;animation:none}.startup-screen.fonts-ready .startup-brand{display:flex}@keyframes startup-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.startup-screen{transition:none}.startup-spinner{animation:none;border-color:#7203ff}}

.recorder{border:1px solid #e4ddff;border-radius:10px;background:#faf8ff;padding:14px 16px 16px;transition:background .2s,border-color .2s}.recorder-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#777184}.ready-dot{display:inline-block;width:6px;height:6px;background:#9b63ff;border-radius:50%;margin-right:6px}#record-timer{font-variant-numeric:tabular-nums;color:#0e1240;font-size:12px}#record-timer span{color:#aaa4b5}.waveform{height:62px;display:flex;align-items:center;margin:4px 0 12px}.waveform canvas{width:100%;height:62px;display:block}.recorder .audio-controls{justify-content:center;gap:12px}.record-button{border-radius:24px;background:#7203ff;border-color:#7203ff;color:white;padding:10px 20px;min-height:40px;min-width:170px;transition:background .2s,transform .15s}.record-button:hover{background:#5c02cc;transform:translateY(-1px)}.recorder .file-button{font-size:11px;border:0;background:transparent;color:#6e627e;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.upload-divider{color:#aaa4b5;font-size:10px}.recorder.is-recording{border-color:#e7c7bb;background:#fff9f6}.is-recording .record-button{background:#a34d39;border-color:#a34d39}.is-recording #record-state{color:#a34d39}.is-recording #record-timer{color:#a34d39}.is-recording .ready-dot{background:#c56850;animation:record-pulse 1.5s ease-in-out infinite}.examples button{border-radius:14px;padding:4px 11px}.examples button:hover{border-color:#b990ff;background:#f2efff}@keyframes record-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:420px){.recorder .audio-controls{gap:8px}.record-button{min-width:150px;padding:10px 12px}.recorder{padding:12px}}

.record-button svg{width:18px;height:18px;flex:none}.record-button span{white-space:nowrap}.run-bar{position:static;padding:0 0 18px;align-items:center;flex-wrap:wrap}.answer-value{font-size:22px;font-weight:500;color:#7203ff;line-height:1.5}.answer-label{font-size:12px!important;color:#6f6879!important;margin-top:4px}.result-type{float:right;font-size:10px;color:#8d8698;font-weight:400}

.sample-credit{font-size:10px;color:#96909e;margin:6px 0 0}

.sample-transcript{font-size:12px;color:#6f6879;line-height:1.8;margin:10px 0 0}

:root{--brand:#7203ff;--brand-deep:#5c02cc}pre{font-family:"LINE Seed JP",sans-serif}.brand{font-weight:700;letter-spacing:-.5px}

.is-busy:before{content:"";width:12px;height:12px;border:2px solid #ffffff66;border-top-color:white;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

#json-panel{background:#171520;border:1px solid #302a41;border-radius:6px;overflow:hidden}#json-panel:before{content:"questions.json";display:block;padding:9px 14px;color:#aba2c1;background:#211d2e;border-bottom:1px solid #302a41;font:11px ui-monospace,SFMono-Regular,Consolas,monospace}#questions-json{border:0;border-radius:0;background:#171520;color:#e8e3f4;padding:16px;min-height:380px;tab-size:2;line-height:1.8;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}#question-criteria{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}#result-json{background:#171520;color:#e8e3f4;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;padding:18px;border:1px solid #302a41;border-radius:6px}.json-key{color:#c4a4ff}.json-string{color:#a7d8bc}.json-number{color:#e8c68d}.json-literal{color:#a4bdf8}

.audio-player{margin-top:14px;padding:13px 16px;background:#faf8ff;border:1px solid #e4ddff;border-radius:9px}.player-heading{display:flex;justify-content:space-between;gap:12px;color:#8c809c;font-size:10px;margin-bottom:8px}#player-time{font-variant-numeric:tabular-nums}.player-controls{display:flex;align-items:center;gap:12px}.player-play{width:34px;height:34px;flex:none;border-radius:50%;padding:8px;background:#7203ff;border-color:#7203ff;color:#fff}.player-play:hover{background:#5c02cc}.player-play svg{width:18px;height:18px;flex:none}.player-track{position:relative;flex:1;height:38px;min-width:0}.player-track canvas{width:100%;height:38px;display:block}#player-seek{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.player-track:has(#player-seek:focus-visible){outline:2px solid #b990ff;outline-offset:3px;border-radius:3px}#player-speed{width:57px;font-size:11px;padding:5px;border-color:transparent;background:transparent}.builder .button-row{justify-content:flex-end}
.run-bar{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding-bottom:22px}#analyze{width:100%;min-height:56px;padding:15px 22px;background:#f18428;border-color:#f18428;color:#fff;font-size:16px;font-weight:700;justify-content:center;border-radius:7px}#analyze:hover{background:#e8781d;border-color:#e8781d}#analyze:focus-visible{outline:3px solid #7203ff;outline-offset:3px}#analyze.is-busy{justify-content:center}#analyze.is-busy:before{border-color:#ffffff66;border-top-color:#fff}#analysis-status{min-height:17px}
.recorder:not(.is-recording) .recorder-meta,.recorder:not(.is-recording) .waveform{display:none}.recorder:not(.is-recording){padding:20px 16px}#audio-status{display:none}

.product-title{font-size:20px;font-weight:700;color:#0e1240}#result-model{view-transition-name:mode-model-label}.product-title a{color:inherit;text-decoration:none}.product-title .product-byline{font-size:12px;font-weight:400;color:#6f6879;margin-left:6px}@media(max-width:420px){.product-title{font-size:17px}.product-title .product-byline{font-size:10px;margin-left:3px}}

.summary.is-empty{display:flex;align-items:center;justify-content:center;text-align:center}
.inference-time{color:#756e7e;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.edge-mode .inference-time{color:#637784}

body.edge-mode{--brand:#087f8c;--brand-deep:#066774}
.edge-mode .topbar{background:#f1fbfa;border-bottom-color:#cce7e3}
.edge-mode .product-title{color:#075b63}
.edge-mode .recorder,.edge-mode .audio-player{background:#f2faf8;border-color:#cee5df}
.edge-mode .record-button,.edge-mode .player-play{background:var(--brand);border-color:var(--brand)}
.edge-mode .record-button:hover,.edge-mode .player-play:hover{background:var(--brand-deep)}
.edge-mode .editor-tabs button[aria-selected=true]{color:var(--brand);border-bottom-color:var(--brand)}
.edge-mode .answer-value{color:var(--brand)}
.edge-mode .examples button:hover{border-color:#77b9ad;background:#e7f5f1}
.edge-mode button:focus-visible,.edge-mode input:focus-visible,.edge-mode select:focus-visible,.edge-mode textarea:focus-visible,.edge-mode summary:focus-visible,.edge-mode .file-button:focus-within{outline-color:var(--brand)}
.edge-mode #analyze{background:#087f8c;border-color:#087f8c;color:#fff}
.edge-mode #analyze:hover{background:#066774;border-color:#066774}
.edge-mode #analyze:focus-visible{outline-color:var(--brand)}
.edge-mode #analyze.is-busy:before{border-color:#ffffff66;border-top-color:#fff}

.execution-toggle{display:inline-flex;gap:4px;padding:4px;margin:0;min-width:0;border:1px solid #e5e0ed;border-radius:12px;background:#f4f1f8}
.execution-option{position:relative;display:block;cursor:pointer}
.execution-option input{position:absolute;width:1px;height:1px;opacity:0;padding:0;margin:0}
.execution-option>span{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 22px;border-radius:8px;color:#746b81;font-size:13px;font-weight:700;transition:color 100ms ease}
.execution-option svg{width:18px;height:18px;flex:none}
.execution-option input:checked+span{background:#fff;color:var(--brand);box-shadow:0 1px 5px #24133d18,inset 0 0 0 1px color-mix(in srgb,var(--brand) 25%,white)}
.execution-option input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px}
.execution-toggle:disabled{opacity:.55}
.execution-toggle:disabled .execution-option{cursor:wait}
.edge-mode .execution-toggle{background:#eaf5f2;border-color:#cee5df}
@media(max-width:420px){.execution-toggle{width:100%}.execution-option{flex:1}.execution-option>span{padding:10px 12px}}

.topbar{position:relative;isolation:isolate;overflow:hidden}
.topbar:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;background:linear-gradient(110deg,transparent 25%,color-mix(in srgb,var(--brand) 16%,transparent) 48%,transparent 70%);transform:translateX(-100%);z-index:-1}
.mode-switching .topbar:after{animation:mode-scan 460ms ease-out}
.mode-switching .product-title{animation:mode-title-in 340ms cubic-bezier(.2,.8,.2,1)}
.mode-switching .execution-option input:checked+span{animation:mode-lock 380ms ease-out}
@keyframes mode-scan{0%{opacity:0;transform:translateX(-100%)}20%{opacity:1}100%{opacity:0;transform:translateX(100%)}}
@keyframes mode-title-in{0%{opacity:.5;transform:translateY(4px)}100%{opacity:1;transform:translateY(0)}}
@keyframes mode-lock{0%{transform:scale(.96);box-shadow:0 0 0 0 color-mix(in srgb,var(--brand) 25%,transparent)}60%{transform:scale(1);box-shadow:0 0 0 5px transparent}100%{transform:scale(1)}}

.edge-mode-label{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #a9d8cf;border-radius:5px;background:#e4f4ef;color:#086b70;padding:3px 7px;font-size:10px;font-weight:700;letter-spacing:.02em}

@media(max-width:600px){.topbar{flex-wrap:wrap;height:auto;min-height:60px;padding-top:12px;padding-bottom:12px;gap:8px 10px}.edge-mode-label{margin-left:0}.topbar .private-label{font-size:9px}}

body:after{content:"";position:fixed;inset:0;z-index:40;pointer-events:none;opacity:0;background:linear-gradient(115deg,transparent 25%,color-mix(in srgb,var(--brand) 18%,transparent) 48%,transparent 65%);transform:translateX(-100%)}
.mode-switching:after{animation:mode-screen-sweep 800ms cubic-bezier(.2,.65,.25,1)}
.mode-switching .topbar:after{animation-duration:800ms}
.mode-switching .execution-option input:checked+span{animation:mode-lock-strong 650ms cubic-bezier(.2,.8,.2,1)}
.mode-announcement{position:fixed;z-index:45;top:112px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:15px;width:max-content;max-width:calc(100vw - 32px);padding:18px 22px;border:1px solid color-mix(in srgb,var(--brand) 30%,white);border-radius:12px;background:#fff;box-shadow:0 12px 45px #15102b24;pointer-events:none;color:#242735}
.mode-announcement strong{font-size:16px;color:var(--brand)}
.mode-announcement p{font-size:12px;line-height:1.7;max-width:370px;margin:5px 0 0;color:#625d6d}
.mode-announcement-icon{width:38px;height:38px;flex:none;border:2px solid var(--brand);border-radius:8px;box-shadow:inset 0 0 0 5px #fff;background:color-mix(in srgb,var(--brand) 16%,white)}
.edge-mode .mode-announcement-icon{display:none}
.mode-switching .mode-announcement{animation:mode-notice-in 550ms cubic-bezier(.16,1,.3,1)}
@keyframes mode-screen-sweep{0%{opacity:0;transform:translateX(-100%)}20%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateX(100%)}}
@keyframes mode-lock-strong{0%{transform:scale(.91);box-shadow:0 0 0 0 color-mix(in srgb,var(--brand) 45%,transparent)}45%{transform:scale(1.04);box-shadow:0 0 0 9px color-mix(in srgb,var(--brand) 5%,transparent)}100%{transform:scale(1);box-shadow:0 0 0 12px transparent}}
@keyframes mode-notice-in{0%{opacity:0;transform:translate(-50%,-18px) scale(.92)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(max-width:600px){.mode-announcement{top:142px;padding:15px 16px;gap:12px}.mode-announcement p{font-size:11px}}
@media(prefers-reduced-motion:reduce){body:after,.topbar:after{animation:none!important}.mode-announcement,.execution-option>span{animation:none!important}}

.site-footer{max-width:1440px;margin:32px auto 0;padding:22px 32px 30px;border-top:1px solid #e9e6ee;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#7b7585;font-size:11px}
.operator{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.operator a{color:#3d354b;text-decoration:none}.operator>a:first-of-type{font-weight:700}.operator .operator-domain{color:#7b7585}.operator a:hover{text-decoration:underline}
.hf-link{display:inline-flex;align-items:center;gap:9px;flex:none;padding:10px 14px;border:1px solid #dedbe6;border-radius:8px;color:#3d354b;text-decoration:none;font-size:12px;font-weight:700;background:#fff}.hf-link:hover{background:#faf8ff;border-color:var(--brand)}.hf-link>span{font-size:20px;line-height:1}.hf-link svg{width:13px;height:13px;margin-left:3px}.hf-link:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
@media(min-width:1200px){.site-footer{padding-left:48px;padding-right:48px}}@media(max-width:600px){.site-footer{padding:20px 18px 28px;align-items:flex-start;flex-direction:column;gap:15px}}

.criteria-editor{position:relative;min-width:0;border:1px solid #302a41;border-radius:6px;background:#171520;overflow:hidden}
.criteria-editor:focus-within{outline:2px solid var(--brand);outline-offset:3px}
.criteria-editor #criteria-highlight,.criteria-editor #question-criteria{font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;letter-spacing:normal;tab-size:2;padding:14px;margin:0;border:0;border-radius:0;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;text-align:left;width:100%;box-sizing:border-box}
.criteria-editor #criteria-highlight{position:absolute;inset:0;max-height:none;background:transparent;color:#e8e3f4;pointer-events:none;overflow:hidden}
.criteria-editor #question-criteria{position:relative;display:block;min-height:160px;max-height:560px;resize:none;background:transparent;color:transparent;caret-color:#fff;outline:none;-webkit-text-fill-color:transparent}
.criteria-editor #question-criteria::selection{background:#9871d966}
@media(forced-colors:active){.criteria-editor #criteria-highlight{display:none}.criteria-editor #question-criteria{color:CanvasText;-webkit-text-fill-color:CanvasText;caret-color:auto}}

.mode-description{min-width:0;max-width:410px;padding:0 4px;color:#736b80}
.mode-description p{margin:0;font-family:inherit;font-size:12px;font-weight:400;line-height:1.7;color:#736b80}
@media(max-width:760px){.mode-description{flex-basis:100%;padding:2px 4px 0}}

.hf-link-top{padding:7px 11px;font-size:11px;gap:7px}.hf-link-top>span{font-size:17px}.hf-link-top svg{width:11px;height:11px}
@media(max-width:760px){.topbar{flex-wrap:wrap;height:auto;min-height:60px;padding-top:12px;padding-bottom:12px;gap:10px}.hf-link-top{margin-left:auto}.topbar .private-label{margin-left:auto}}

.recorder.is-recording .upload-divider,.recorder.is-recording .file-button{display:none}

.operator-logo{display:inline-flex;align-items:center}.operator-logo img{display:block;width:158px;height:auto}

body{--mode-sweep-from:100%;--mode-sweep-to:-100%;--mode-title-offset:5px}
body.edge-mode{--mode-sweep-from:-100%;--mode-sweep-to:100%;--mode-title-offset:-5px}
body:after{background:linear-gradient(180deg,transparent 22%,color-mix(in srgb,var(--brand) 18%,transparent) 48%,transparent 75%);transform:translateY(var(--mode-sweep-from))}
.topbar:after{background:linear-gradient(180deg,transparent 15%,color-mix(in srgb,var(--brand) 20%,transparent) 50%,transparent 85%);transform:translateY(var(--mode-sweep-from))}
.mode-switching:after{animation:mode-vertical-sweep 800ms cubic-bezier(.2,.65,.25,1)}
.mode-switching .topbar:after{animation:mode-vertical-sweep 650ms ease-out}
.mode-switching .product-title{animation:mode-title-vertical 450ms cubic-bezier(.2,.8,.2,1)}
@keyframes mode-vertical-sweep{0%{opacity:0;transform:translateY(var(--mode-sweep-from))}20%{opacity:1}80%{opacity:1}100%{opacity:0;transform:translateY(var(--mode-sweep-to))}}
@keyframes mode-title-vertical{0%{opacity:.5;transform:translateY(var(--mode-title-offset))}100%{opacity:1;transform:translateY(0)}}

/* Browser execution: dark surfaces with a sky-blue accent. */
body.edge-mode{color-scheme:dark;--brand:#69d2ff;--brand-deep:#a0e4ff;--wave-muted:#405166;--error:#ff9393;background:#0b111b;color:#e2eaf3}
.edge-mode .topbar{background:#101925;border-bottom-color:#243245}
.edge-mode .product-title{color:#f2f8ff}
.edge-mode .product-byline,.edge-mode .private-label,.edge-mode .hint,.edge-mode label,.edge-mode summary,.edge-mode .mode-description p,.edge-mode .player-heading,.edge-mode .sample-transcript,.edge-mode #analysis-status,.edge-mode .site-footer,.edge-mode .summary,.edge-mode .result-type{color:#a1b1c5}
.edge-mode .workspace,.edge-mode .output,.edge-mode .section,.edge-mode .editor-tabs,.edge-mode .result-details,.edge-mode .site-footer,.edge-mode .summary li{border-color:#273447}
.edge-mode input,.edge-mode select,.edge-mode textarea{background:#121e2d;border-color:#32445b;color:#e2eaf3}
.edge-mode input::placeholder,.edge-mode textarea::placeholder{color:#7f93aa}
.edge-mode .recorder,.edge-mode .audio-player{background:#111e2c;border-color:#2a4358}
.edge-mode .recorder .file-button{color:#b6c9dc;background:transparent}
.edge-mode .record-button,.edge-mode .player-play,.edge-mode #analyze{background:var(--brand);border-color:var(--brand);color:#062435}
.edge-mode .record-button:hover,.edge-mode .player-play:hover,.edge-mode #analyze:hover{background:var(--brand-deep);border-color:var(--brand-deep)}
.edge-mode #analyze.is-busy:before{border-color:#06243544;border-top-color:#062435}
.edge-mode .recorder.is-recording{background:#281b25;border-color:#8c4d62}
.edge-mode .is-recording .record-button{background:#e78292;border-color:#e78292;color:#261019}
.edge-mode .is-recording #record-state,.edge-mode .is-recording #record-timer{color:#ffb6c4}
.edge-mode .execution-toggle{background:#0e1825;border-color:#2b3d52}
.edge-mode .execution-option>span{color:#93a6bc}
.edge-mode .execution-option input:checked+span{background:#18354a;color:var(--brand);box-shadow:inset 0 0 0 1px #36667f}
.edge-mode .edge-mode-label{background:#153143;border-color:#2f637e;color:var(--brand)}
.edge-mode .editor-tabs button{background:transparent;color:#96a8bd}
.edge-mode .editor-tabs button[aria-selected=true]{color:var(--brand)}
.edge-mode .examples button,.edge-mode .hf-link{background:#132132;border-color:#304359;color:#d1dfed}
.edge-mode .examples button:hover,.edge-mode .hf-link:hover{background:#1b364b;border-color:var(--brand)}
.edge-mode .run-bar{background:transparent}
.edge-mode .summary ul{color:#e2eaf3}
.edge-mode .summary strong,.edge-mode .answer-label{color:#a1b1c5!important}
.edge-mode .answer-value{color:var(--brand)}
.edge-mode .operator a{color:#e2eaf3}
.edge-mode .operator-logo img{filter:brightness(0) invert(1)}
.edge-mode #json-panel,.edge-mode #result-json,.edge-mode .criteria-editor{background:#080f19;border-color:#2a3c52}
.edge-mode #json-panel:before{background:#142233;border-color:#2a3c52;color:#a1b1c5}
.edge-mode #questions-json{background:#080f19;color:#e2eaf3}
.edge-mode .criteria-editor #question-criteria{background:transparent;color:transparent}
.edge-mode .criteria-editor #criteria-highlight{color:#e2eaf3}
.edge-mode .json-key{color:#7dd3fc}.edge-mode .json-string{color:#a7dfbe}.edge-mode .json-number{color:#f3ca91}.edge-mode .json-literal{color:#c5b5fa}
.edge-mode .error{color:var(--error)}
.edge-mode .player-track:has(#player-seek:focus-visible){outline-color:var(--brand)}
.edge-mode #player-speed{background:transparent}

.product-title a{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px}.product-title .product-byline{display:inline-flex;align-items:center;gap:5px;margin-left:0}.product-title .product-byline img{display:block;width:86px;height:auto;filter:grayscale(1);opacity:.58}.product-title .edge-mode-label{font-size:10px;line-height:1.4}

/* Quiet mode changes: no sweep, pulse or moving title. */
body:after,.topbar:after{display:none}
body,.topbar,.recorder,.audio-player,.execution-toggle{transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease}

.recorder.is-recording .recorder-meta{justify-content:center}
.recorder.is-recording #record-state{display:none}
.recorder.is-recording #record-timer{display:block;text-align:center;font-size:15px;font-weight:700;color:#b42332}
.recorder.is-recording .record-button,.edge-mode .recorder.is-recording .record-button{background:#dc3545;border-color:#dc3545;color:#fff}
.recorder.is-recording .record-button:hover,.edge-mode .recorder.is-recording .record-button:hover{background:#bd2635;border-color:#bd2635}
.edge-mode .recorder.is-recording #record-timer{color:#ffb3bb}

.execution-picker{display:flex;flex-direction:column;gap:7px;flex:none}.execution-label{font-size:12px;font-weight:700;color:#655d72}.edge-mode .execution-label{color:#a1b1c5}
.edge-intro{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid #35506b;border-radius:16px;background:#101b2a;color:#dce8f5;box-shadow:0 24px 100px #0007;overflow:auto}
.edge-intro::backdrop{background:#050b16a6;backdrop-filter:blur(4px)}
.dialog-close{position:absolute;right:12px;top:12px;width:36px;height:36px;padding:8px;border:0;border-radius:8px;background:transparent;color:#acbed1}.dialog-close svg{width:20px;height:20px}.dialog-close:hover{background:#24384c;color:#fff}.dialog-close:focus-visible{outline:2px solid #69d2ff}
.dialog-kicker{display:block;font-size:11px;color:#69d2ff;font-weight:700;margin-bottom:12px}.edge-intro h2{font-size:20px;line-height:1.5;margin:0 24px 18px 0;color:#f1f7fd}.edge-intro p{font-size:13px;line-height:1.85;margin:14px 0;color:#b4c5d8}.edge-intro p:last-child{margin-bottom:0}body:has(.edge-intro[open]){overflow:hidden}
@media(max-width:420px){.execution-picker{width:100%}.edge-intro{padding:26px 22px}.edge-intro h2{font-size:18px}}

.operator-block{min-width:0}.references{margin:14px 0 0;font-size:11px;line-height:1.9;color:#7b7585}.references a{color:inherit;text-underline-offset:3px}.references a:hover{color:var(--brand)}.edge-mode .references{color:#a1b1c5}

.mode-description{flex:1;max-width:none;align-self:stretch;display:flex;align-items:center;padding:25px 0 0;position:relative;isolation:isolate;view-transition-name:mode-description}.mode-description p{font-size:13px;line-height:1.85;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}
@media(max-width:760px){.mode-description{padding-top:0}}

.edge-intro{width:min(440px,calc(100vw - 32px));padding:27px 30px 29px;border-radius:14px;border:1px solid #52728d;background:#17283b;color:#f4f9fe;box-shadow:0 24px 72px #000a,0 0 0 1px #69d2ff1f}
.edge-intro::backdrop{background:#020711b8;backdrop-filter:blur(2px)}
.edge-intro-illustration{display:block;width:220px;max-width:100%;height:auto;margin:0 auto 16px;filter:drop-shadow(0 8px 14px #0005)}
.edge-intro h2{font-size:19px;line-height:1.5;font-weight:700;margin:0 42px 12px 0;color:#fff;letter-spacing:.01em}
.edge-intro p{font-size:14px;line-height:1.75;margin:0;color:#e7f1fa}
.edge-intro-download{margin-top:10px!important;padding:0;border:0;background:transparent;color:#9fb4c4!important;font-size:12px!important;line-height:1.65!important}
.edge-intro .dialog-close{right:14px;top:14px;width:40px;height:40px;color:#d7e7f3;background:#20364a}
.edge-intro .dialog-close:hover{background:#2d4c65;color:#fff}
@media(max-width:480px){.edge-intro{padding:24px 22px 25px}.edge-intro-illustration{width:190px}.edge-intro h2{font-size:18px}.edge-intro p{font-size:13.5px}}

/* Keep the page still while the new palette is revealed from top to bottom. */
html.changing-mode *,html.changing-mode *:before,html.changing-mode *:after{transition:none!important}

.examples button[aria-pressed=true]{background:#f0e7ff;border-color:#7203ff;color:#5c02cc;box-shadow:inset 0 0 0 1px #7203ff;font-weight:500}
.edge-mode .examples button[aria-pressed=true]{background:#16384b;border-color:var(--brand);color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.sample-transcript{height:3.6em;overflow:auto;overscroll-behavior:contain}
.examples button{font-weight:500}

::view-transition{overflow:clip}
::view-transition-group(root){animation:none;overflow:clip}
::view-transition-image-pair(root){isolation:isolate}
::view-transition-old(root){animation:none;mix-blend-mode:normal;opacity:1;transform:none;z-index:1}
::view-transition-new(root){mix-blend-mode:normal;opacity:1;transform:none;z-index:2}
html[data-mode-direction="edge"]::view-transition-new(root){animation:mode-color-reveal-down 500ms cubic-bezier(.2,.7,.3,1) both}
html[data-mode-direction="server"]::view-transition-new(root){animation:mode-color-reveal-up 500ms cubic-bezier(.2,.7,.3,1) both}
@keyframes mode-color-reveal-down{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes mode-color-reveal-up{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0 0 0 0)}}
#mode-color-edge{position:fixed;left:0;top:0;width:100%;height:20px;pointer-events:none;opacity:0;view-transition-name:mode-color-edge;background:linear-gradient(to bottom,transparent 0%,color-mix(in srgb,var(--brand) 14%,transparent) 35%,color-mix(in srgb,var(--brand) 60%,white) 48%,#ffffffa8 52%,#070c1a16 66%,transparent 100%);filter:drop-shadow(0 0 4px color-mix(in srgb,var(--brand) 45%,transparent))}
html.changing-mode #mode-color-edge{opacity:1}
::view-transition-group(mode-color-edge){animation:none;top:0!important;left:0!important;z-index:3}
::view-transition-old(mode-color-edge){display:none}
::view-transition-new(mode-color-edge){mix-blend-mode:normal}
html[data-mode-direction="edge"]::view-transition-new(mode-color-edge){animation:mode-edge-pass-down 500ms cubic-bezier(.2,.7,.3,1) both}
html[data-mode-direction="server"]::view-transition-new(mode-color-edge){animation:mode-edge-pass-up 500ms cubic-bezier(.2,.7,.3,1) both}
@keyframes mode-edge-pass-down{from{transform:translateY(-10px)}to{transform:translateY(calc(100dvh - 10px))}}
@keyframes mode-edge-pass-up{from{transform:translateY(calc(100dvh - 10px))}to{transform:translateY(-10px)}}
::view-transition-group(mode-description),::view-transition-group(mode-model-label){animation:none;z-index:4;overflow:visible}
::view-transition-image-pair(mode-description),::view-transition-image-pair(mode-model-label){isolation:isolate;overflow:visible}
::view-transition-old(mode-description),::view-transition-old(mode-model-label){animation:none;opacity:0}
html[data-mode-direction="edge"]::view-transition-new(mode-description){animation:mode-copy-glint 180ms ease-out 55ms both}
html[data-mode-direction="server"]::view-transition-new(mode-description){animation:mode-copy-glint 180ms ease-out 320ms both}
html[data-mode-direction="edge"]::view-transition-new(mode-model-label){animation:mode-copy-glint 180ms ease-out 110ms both}
html[data-mode-direction="server"]::view-transition-new(mode-model-label){animation:mode-copy-glint 180ms ease-out 260ms both}
@keyframes mode-copy-glint{0%,100%{filter:none}45%{filter:brightness(1.12) drop-shadow(0 0 3px color-mix(in srgb,var(--brand) 45%,transparent))}}
.execution-option>span{transition:color 100ms ease;cursor:pointer}
.execution-toggle:not(:disabled) .execution-option:hover>input:not(:checked)+span{background:#e9dffc;color:#5c02cc;box-shadow:0 3px 9px #4b21841a}
.execution-toggle:not(:disabled) .execution-option:active>input:not(:checked)+span{transform:translateY(1px);box-shadow:inset 0 1px 3px #4b218422}
.edge-mode .execution-toggle:not(:disabled) .execution-option:hover>input:not(:checked)+span{background:#234458;color:#9be1ff;box-shadow:0 3px 10px #0003}
.edge-mode .execution-toggle:not(:disabled) .execution-option:active>input:not(:checked)+span{box-shadow:inset 0 1px 4px #0004}
#audio-player[aria-busy=true]{opacity:.5;pointer-events:none}
.recorder.is-dragover{border-color:var(--brand);background:#f6f1ff;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--brand) 30%,transparent)}
.edge-mode .recorder.is-dragover{border-color:var(--brand);background:#eaf8fc;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--brand) 32%,transparent)}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root),::view-transition-group(root),::view-transition-old(mode-description),::view-transition-new(mode-description),::view-transition-group(mode-description),::view-transition-old(mode-model-label),::view-transition-new(mode-model-label),::view-transition-group(mode-model-label){animation:none!important}}
@media(prefers-reduced-motion:reduce){#mode-color-edge{display:none}.execution-option>span{transition:none!important;transform:none!important}}

/* Edge mode keeps the document light and frames the working area as a local device. */
body.edge-mode{color-scheme:light;--brand:#159bc3;--brand-deep:#087da4;--wave-muted:#c7dce5;--error:#b42318;background:#fff;color:#242725}
body.edge-mode:before{content:"";position:fixed;z-index:1000;inset:0;border:3px solid #69cce7;box-shadow:inset 0 0 0 1px #dff6fc;pointer-events:none}
.edge-mode .topbar{background:#fff;border-bottom-color:#b9e1ed;box-shadow:inset 0 -3px 0 #e8f8fc}
.edge-mode .product-title{color:#0e3150}
.edge-mode .product-byline,.edge-mode .private-label,.edge-mode .hint,.edge-mode label,.edge-mode summary,.edge-mode .mode-description p,.edge-mode .player-heading,.edge-mode .sample-transcript,.edge-mode #analysis-status,.edge-mode .site-footer,.edge-mode .summary,.edge-mode .result-type{color:#637784}
.edge-mode .toolbar{position:relative}
.edge-mode .workspace{margin:0;border-top:1px solid #d9e8ed!important;border-right:0!important;border-bottom:0!important;border-left:0!important;border-radius:0;background:#fff;box-shadow:none;overflow:visible}
.edge-mode .workspace:before{display:none}
.edge-mode .inputs{padding-left:0}
.edge-mode .output{padding-right:0}
.edge-mode .workspace,.edge-mode .output,.edge-mode .section,.edge-mode .editor-tabs,.edge-mode .result-details,.edge-mode .site-footer,.edge-mode .summary li{border-color:#d9e8ed}
.edge-mode input,.edge-mode select,.edge-mode textarea{background:#fff;border-color:#cfdfe5;color:#24323a}
.edge-mode input::placeholder,.edge-mode textarea::placeholder{color:#8798a1}
.edge-mode .recorder,.edge-mode .audio-player{background:#f3fbfd;border-color:#bde3ed}
.edge-mode .recorder .file-button{color:#51717e;background:transparent}
.edge-mode .record-button,.edge-mode .player-play{background:var(--brand);border-color:var(--brand);color:#062b3a}
.edge-mode .player-play{color:#fff}
.edge-mode .record-button{color:#fff}
.edge-mode #analyze{background:var(--brand);border-color:var(--brand);color:#fff}
.edge-mode .record-button:hover,.edge-mode .player-play:hover,.edge-mode #analyze:hover{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff}
.edge-mode #analyze.is-busy:before{border-color:#ffffff66;border-top-color:#fff}
.edge-mode .recorder.is-recording{background:#fff6f7;border-color:#e6abb4}
.edge-mode .is-recording .record-button{background:#dc3545;border-color:#dc3545;color:#fff}
.edge-mode .is-recording #record-state,.edge-mode .is-recording #record-timer{color:#b42332}
.edge-mode .execution-label{color:#345968}
.edge-mode .execution-toggle{background:#edf8fb;border-color:#b9dfe9}
.edge-mode .execution-option>span{color:#617681}
.edge-mode .execution-option input:checked+span{background:#fff;color:#087da4;box-shadow:0 1px 6px #0e789522,inset 0 0 0 1px #9cd7e7}
.edge-mode .edge-mode-label{background:#e8f8fc;border-color:#9dd9e8;color:#087da4}
.edge-mode .editor-tabs button{background:transparent;color:#788a93}
.edge-mode .editor-tabs button[aria-selected=true]{color:#087da4}
.edge-mode .examples button,.edge-mode .hf-link{background:#fff;border-color:#cfdfe5;color:#334750}
.edge-mode .examples button:hover,.edge-mode .hf-link:hover{background:#eaf8fc;border-color:var(--brand)}
.edge-mode .examples button[aria-pressed=true]{background:#dff5fb;border-color:var(--brand);color:#076f92;box-shadow:inset 0 0 0 1px var(--brand)}
.edge-mode .run-bar{background:transparent}
.edge-mode .summary ul{color:#24323a}
.edge-mode .summary strong,.edge-mode .answer-label{color:#637784!important}
.edge-mode .answer-value{color:#087da4}
.edge-mode .operator a{color:#334750}
.edge-mode .operator-logo img{filter:none}
.edge-mode .error{color:var(--error)}
.edge-mode .player-track:has(#player-seek:focus-visible){outline-color:var(--brand)}
.edge-mode #player-speed{background:transparent;color:#334750}
.edge-mode .execution-toggle:not(:disabled) .execution-option:hover>input:not(:checked)+span{background:#dff4fa;color:#087da4;box-shadow:0 3px 10px #0e78951f}
.edge-mode .execution-toggle:not(:disabled) .execution-option:active>input:not(:checked)+span{box-shadow:inset 0 1px 4px #0e78952b}
@media(max-width:760px){.edge-mode .workspace{margin:0;border-radius:0}.edge-mode .inputs{padding:0}.edge-mode .output{padding:20px 0 24px}}

/* Result summary: keep schema keys and answer types in the JSON panel. */
.summary ul{display:grid;gap:10px}
.summary li{padding:16px 18px;border:0;border-radius:10px;background:#faf9fc}
.result-question{display:block;margin:0 0 6px;color:#6f6879;font-size:12px;line-height:1.65}
.answer-value{font-size:18px;font-weight:700;line-height:1.55;letter-spacing:-.01em}
.answer-label{margin-top:5px}
.result-details{margin-top:14px;padding:0;border:0}
.result-details>summary{padding:8px 0}
.edge-mode .summary li{border:0;background:#eef7f9}
.edge-mode .result-question{color:#637784}

/* Product explanation and compact, typed result cards. */
.topbar{height:auto;min-height:72px;padding-top:10px;padding-bottom:10px}
.product-brand{display:grid;gap:2px;min-width:0}
.product-inspiration{margin:0;color:#777184;font-size:10px;line-height:1.4}
.product-inspiration a{color:inherit;text-underline-offset:2px}
.product-description{margin:0;color:#777184;font-size:11px;line-height:1.55}
.summary .result-field{display:block;margin:0 0 5px;color:#756e7e;font-size:11px;font-weight:600;line-height:1.5}
.summary .result-main{color:#292438;font-size:19px;font-weight:700;line-height:1.45;letter-spacing:-.01em}
.summary .result-description{display:block;margin-top:4px;color:#6f6879;font-size:12px;line-height:1.65}
.decision-scale{margin-top:13px}
.decision-track{height:5px;border-radius:999px;background:#ded9e6;overflow:hidden}
.decision-fill{display:block;height:100%;margin-left:auto;border-radius:999px;background:var(--brand)}
.decision-labels{display:flex;justify-content:space-between;gap:12px;margin-top:6px;color:#756e7e;font-size:10px;font-variant-numeric:tabular-nums}
.decision-labels span{display:inline!important;color:inherit!important;font-size:inherit!important}
.edge-mode .product-inspiration,.edge-mode .product-description,.edge-mode .summary .result-field,.edge-mode .summary .result-description,.edge-mode .decision-labels{color:#637784}
.edge-mode .summary .result-main{color:#24323a}
.edge-mode .decision-track{background:#cddfe4}
@media(max-width:760px){.product-brand{flex:1 1 100%}.topbar{align-items:flex-start}.product-description{max-width:460px}}
#analyze:disabled:not(.is-busy){cursor:not-allowed}

/* Mobile header: preserve hierarchy and make the execution choice easy to tap. */
@media(max-width:600px){
  .topbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    min-height:0;
    padding:15px max(16px,env(safe-area-inset-right)) 14px max(16px,env(safe-area-inset-left));
    gap:12px 10px;
    align-items:center;
  }
  .product-brand{grid-column:1/-1;width:100%;gap:5px}
  .product-title{font-size:19px;line-height:1.35}
  .product-title a{gap:6px 7px}
  .product-title .product-byline{font-size:10px}
  .product-title .product-byline img{width:80px}
  .product-description{max-width:none;font-size:11px;line-height:1.65}
  .topbar .private-label{justify-self:start;margin:0;font-size:10px;line-height:1.4;white-space:nowrap}
  .hf-link-top{justify-self:end;margin:0;min-height:40px;padding:8px 10px;font-size:10.5px;white-space:nowrap}
  .page{padding-right:max(16px,env(safe-area-inset-right));padding-left:max(16px,env(safe-area-inset-left))}
  .toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;padding:16px 0 18px}
  .execution-picker{width:100%;gap:8px}
  .execution-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;padding:4px}
  .execution-option{min-width:0}
  .execution-option>span{width:100%;min-height:44px;padding:10px 12px}
  .mode-description{width:100%;padding:0 2px}
  .mode-description p{font-size:12px;line-height:1.75}
}

/* Keep the common question flow simple; schema controls live under details. */
.inputs,.questions-section,.question-selector,.criteria-fields,.criteria-items{min-width:0}
.question-selector{margin:0 0 14px;width:100%}
.question-selector select{display:block;width:100%;min-width:0;max-width:100%;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.criterion-row{min-width:0}
.questions-section .builder{gap:14px}
.questions-section #question-instructions{min-height:78px}
.criteria-fields{display:grid;gap:9px;margin-top:1px}
.criteria-fields-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#5d665e;font-size:11px}
.criteria-items{display:grid;gap:8px}
.criterion-row{display:grid;grid-template-columns:24px minmax(0,1fr) 34px;align-items:center;gap:8px}
.criterion-order{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f0ebf8;color:#716879;font-size:10px;font-variant-numeric:tabular-nums}
.criterion-row input{min-width:0}
.remove-criterion{width:34px;height:34px;padding:0;border-color:transparent;background:transparent;color:#8c8592;font-size:18px;font-weight:400}
.remove-criterion:hover:not(:disabled){background:#f2edf8;color:#5c02cc}
.remove-criterion:disabled{visibility:hidden}
.add-criterion{justify-self:start;margin-top:1px;padding:6px 9px;border-color:transparent;background:transparent;color:#6f6879;font-size:11px}
.add-criterion:hover{background:#f2eff7;color:#5c02cc}
.question-advanced{margin-top:15px;border-top:1px solid #e9e6ee}
.question-advanced>summary{padding:11px 0 8px}
.advanced-fields{display:grid;gap:13px;padding:12px 14px 14px;border-radius:8px;background:#faf9fc}
.advanced-fields #questions-json{min-height:280px;margin-top:1px}
.edge-mode .criterion-order{background:#e2f3f7;color:#52727e}
.edge-mode .remove-criterion:hover:not(:disabled),.edge-mode .add-criterion:hover{background:#e6f5f8;color:#087da4}
.edge-mode .question-advanced{border-color:#d9e8ed}
.edge-mode .advanced-fields{background:#f3fbfd}

#product-name{max-width:100%;overflow-wrap:anywhere}
.startup-brand strong{max-width:min(90vw,680px);text-align:center;line-height:1.25}

/* A little more presence while the product mark is loading. */
.startup-brand{gap:14px}
.startup-brand strong{font-size:30px}
.startup-brand span{gap:8px;font-size:14px}
.startup-brand img{width:132px}

@media(max-width:600px){
  .criterion-row{grid-template-columns:22px minmax(0,1fr) 32px;gap:7px}
  .advanced-fields{padding:11px}
  .startup-brand strong{font-size:28px}
  .startup-brand img{width:124px}
}
@media(max-width:360px){
  .topbar{padding-top:13px;padding-bottom:13px}
  .product-title{font-size:18px}
  .product-title .product-byline img{width:74px}
  .hf-link-top{padding-right:8px;padding-left:8px;font-size:10px;gap:5px}
  .hf-link-top>span{font-size:15px}
  .execution-option>span{padding-right:8px;padding-left:8px}
}

/* Keep the title prominent while giving attribution, description and model link their own places. */
.topbar{padding-top:15px;padding-bottom:15px}
.product-brand{width:100%;gap:0}
.product-headline{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}
.product-title{min-width:0;line-height:1.3}
.product-meta{display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:2px;margin:7px 0 0;color:#777184;font-size:10px;line-height:1.5}
.product-meta .product-byline{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.product-meta .product-byline img{display:block;width:91px;height:auto}
.product-meta-separator{color:#b7aebe}
.product-inspiration{font-size:inherit;line-height:inherit}
.product-description{margin-top:9px;max-width:850px;font-size:11px;line-height:1.6}
.hf-link-top .hf-link-full{font-size:11px;line-height:1.2}
.hf-link-top .hf-link-short{display:none}
.startup-brand small{color:#96909e;font-size:11px;font-weight:400;line-height:1.5}
@media(max-width:600px){
  .topbar{display:block;padding-top:17px;padding-bottom:17px}
  .product-brand{display:block}
  .product-headline{align-items:flex-start;gap:10px}
  .product-title{font-size:18px}
  .product-meta{margin-top:8px;column-gap:7px}
  .product-meta .product-byline img{width:80px}
  .product-description{margin-top:10px;font-size:11px}
  .hf-link-top{margin:0;min-height:35px;padding:6px 8px;gap:5px}
  .hf-link-top .hf-link-full{display:none}
  .hf-link-top .hf-link-short{display:inline;font-size:10px;line-height:1.2}
  .hf-link-top>span:first-child{font-size:15px}
}