@hanzo/browser-extension 1.9.46 → 1.9.52
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.
- package/LICENSE +12 -0
- package/package.json +16 -16
- package/src/answer/Rail.tsx +40 -14
- package/src/newtab.css +811 -243
- package/src/popup.html +0 -4
- package/src/sidebar.html +0 -8
- package/dist/safari/Hanzo AI/Hanzo AI.xcodeproj/project.pbxproj +0 -1059
- package/dist/safari/Hanzo AI/Hanzo AI.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AccentColor.colorset/Contents.json +0 -11
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -98
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@1x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-128@2x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@1x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-16@2x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@1x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-256@2x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@1x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-32@2x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@1x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/mac-icon-512@2x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/AppIcon.appiconset/universal-icon-1024@1x.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/Contents.json +0 -6
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/LargeIcon.imageset/Contents.json +0 -21
- package/dist/safari/Hanzo AI/Shared (App)/Assets.xcassets/LargeIcon.imageset/icon128.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Resources/Base.lproj/Main.html +0 -20
- package/dist/safari/Hanzo AI/Shared (App)/Resources/Icon.png +0 -0
- package/dist/safari/Hanzo AI/Shared (App)/Resources/Script.js +0 -24
- package/dist/safari/Hanzo AI/Shared (App)/Resources/Style.css +0 -61
- package/dist/safari/Hanzo AI/Shared (App)/ViewController.swift +0 -81
- package/dist/safari/Hanzo AI/Shared (Extension)/SafariWebExtensionHandler.swift +0 -42
- package/dist/safari/Hanzo AI/iOS (App)/AppDelegate.swift +0 -24
- package/dist/safari/Hanzo AI/iOS (App)/Base.lproj/LaunchScreen.storyboard +0 -36
- package/dist/safari/Hanzo AI/iOS (App)/Base.lproj/Main.storyboard +0 -38
- package/dist/safari/Hanzo AI/iOS (App)/Info.plist +0 -27
- package/dist/safari/Hanzo AI/iOS (App)/SceneDelegate.swift +0 -18
- package/dist/safari/Hanzo AI/iOS (Extension)/Info.plist +0 -13
- package/dist/safari/Hanzo AI/macOS (App)/AppDelegate.swift +0 -21
- package/dist/safari/Hanzo AI/macOS (App)/Base.lproj/Main.storyboard +0 -124
- package/dist/safari/Hanzo AI/macOS (App)/Info.plist +0 -8
- package/dist/safari/Hanzo AI/macOS (Extension)/Info.plist +0 -13
- package/src/popup.js +0 -196
- package/src/sidebar.js +0 -885
package/src/newtab.css
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
:root {
|
|
4
4
|
/* hanzo.chat dark palette — the exact gray scale from chat/client/src/style.css
|
|
5
5
|
(.dark). One brand, one set of tokens; the extension is no longer its own look. */
|
|
6
|
-
--bg: #000000;
|
|
7
|
-
--surface: #050505;
|
|
8
|
-
--surface-2: #0d0d0d;
|
|
9
|
-
--surface-3: #171717;
|
|
10
|
-
--surface-active: #2f2f2f
|
|
11
|
-
--text: #ececec;
|
|
12
|
-
--text-2: #cdcdcd;
|
|
13
|
-
--text-3: #999696;
|
|
14
|
-
--border: #171717;
|
|
15
|
-
--border-2: #212121;
|
|
6
|
+
--bg: #000000; /* surface-primary / gray-975 */
|
|
7
|
+
--surface: #050505; /* surface-secondary / gray-950 — source & hero cards */
|
|
8
|
+
--surface-2: #0d0d0d; /* surface-primary-contrast / gray-900 — hover fills */
|
|
9
|
+
--surface-3: #171717; /* surface-tertiary / gray-850 — number pills, selected mode */
|
|
10
|
+
--surface-active: #2f2f2f; /* surface-active / gray-700 — selected chip (NOT a white lozenge) */
|
|
11
|
+
--text: #ececec; /* text-primary / gray-100 */
|
|
12
|
+
--text-2: #cdcdcd; /* text-secondary / gray-300 */
|
|
13
|
+
--text-3: #999696; /* text-secondary-alt / gray-400 */
|
|
14
|
+
--border: #171717; /* border-light / gray-850 */
|
|
15
|
+
--border-2: #212121; /* border-medium / gray-800 */
|
|
16
16
|
--glass: rgba(255, 255, 255, 0.03);
|
|
17
17
|
--glass-2: rgba(255, 255, 255, 0.06);
|
|
18
18
|
--radius: 12px;
|
|
@@ -25,18 +25,30 @@
|
|
|
25
25
|
--rail-w: 3rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
* {
|
|
28
|
+
* {
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
}
|
|
29
31
|
|
|
30
|
-
html,
|
|
32
|
+
html,
|
|
33
|
+
body {
|
|
31
34
|
margin: 0;
|
|
32
35
|
height: 100%;
|
|
33
36
|
background: var(--bg);
|
|
34
37
|
color: var(--text);
|
|
35
|
-
font-family:
|
|
38
|
+
font-family:
|
|
39
|
+
"Geist Sans",
|
|
40
|
+
-apple-system,
|
|
41
|
+
BlinkMacSystemFont,
|
|
42
|
+
"SF Pro Text",
|
|
43
|
+
"Segoe UI",
|
|
44
|
+
sans-serif;
|
|
36
45
|
-webkit-font-smoothing: antialiased;
|
|
37
46
|
}
|
|
38
47
|
|
|
39
|
-
a {
|
|
48
|
+
a {
|
|
49
|
+
color: inherit;
|
|
50
|
+
text-decoration: none;
|
|
51
|
+
}
|
|
40
52
|
|
|
41
53
|
.ae-root {
|
|
42
54
|
display: grid;
|
|
@@ -50,25 +62,21 @@ a { color: inherit; text-decoration: none; }
|
|
|
50
62
|
`collapsible="icon"` behaviour of @hanzo/ui primitives/sidebar, and the width is
|
|
51
63
|
ITS token (SIDEBAR_WIDTH_ICON = 3rem) rather than a number picked here — so
|
|
52
64
|
swapping this rail for the shared primitive is a substitution, not a redesign. */
|
|
53
|
-
.ae-root.collapsed {
|
|
65
|
+
.ae-root.collapsed {
|
|
66
|
+
grid-template-columns: var(--rail-w) 1fr;
|
|
67
|
+
}
|
|
54
68
|
|
|
55
|
-
/*
|
|
56
|
-
.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
69
|
+
/* Collapse is an EXPLICIT, remembered choice — the rail does NOT spring open
|
|
70
|
+
under the pointer. Hover-to-expand is the model console and hanzo.app both
|
|
71
|
+
retired (their pin/hover props are marked deprecated), because a rail that
|
|
72
|
+
opens when the pointer merely crosses it moves the page out from under the
|
|
73
|
+
thing you were reaching for. The mark expands it; the toggle collapses it. */
|
|
74
|
+
.ae-root.collapsed .ae-brand span,
|
|
75
|
+
.ae-root.collapsed .ae-new span,
|
|
76
|
+
.ae-root.collapsed .ae-nav,
|
|
77
|
+
.ae-root.collapsed .ae-signin-label {
|
|
78
|
+
display: none;
|
|
66
79
|
}
|
|
67
|
-
/* Labels follow the SIDEBAR's own state, for the same reason. */
|
|
68
|
-
.ae-root.collapsed .ae-sidebar:not(:hover):not(:focus-within) .ae-brand span,
|
|
69
|
-
.ae-root.collapsed .ae-sidebar:not(:hover):not(:focus-within) .ae-new span,
|
|
70
|
-
.ae-root.collapsed .ae-sidebar:not(:hover):not(:focus-within) .ae-nav,
|
|
71
|
-
.ae-root.collapsed .ae-sidebar:not(:hover):not(:focus-within) .ae-signin-label { display: none; }
|
|
72
80
|
|
|
73
81
|
/* ── Sidebar ─────────────────────────────────────────────── */
|
|
74
82
|
.ae-sidebar {
|
|
@@ -80,86 +88,201 @@ a { color: inherit; text-decoration: none; }
|
|
|
80
88
|
background: var(--surface);
|
|
81
89
|
min-width: 0;
|
|
82
90
|
}
|
|
83
|
-
.ae-side-top {
|
|
91
|
+
.ae-side-top {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: space-between;
|
|
95
|
+
}
|
|
84
96
|
.ae-brand {
|
|
85
|
-
display: flex;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 9px;
|
|
100
|
+
background: none;
|
|
101
|
+
border: none;
|
|
102
|
+
color: var(--text);
|
|
103
|
+
font-size: 15px;
|
|
104
|
+
font-weight: 600;
|
|
105
|
+
letter-spacing: -0.01em;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
padding: 4px;
|
|
108
|
+
min-width: 0;
|
|
109
|
+
}
|
|
110
|
+
.ae-brand span {
|
|
111
|
+
white-space: nowrap;
|
|
112
|
+
overflow: hidden;
|
|
89
113
|
}
|
|
90
|
-
.ae-
|
|
91
|
-
.ae-
|
|
92
|
-
|
|
114
|
+
.ae-collapse,
|
|
115
|
+
.ae-new,
|
|
116
|
+
.ae-signin {
|
|
117
|
+
cursor: pointer;
|
|
118
|
+
font-family: inherit;
|
|
93
119
|
}
|
|
94
120
|
.ae-collapse {
|
|
95
|
-
background: none;
|
|
96
|
-
|
|
121
|
+
background: none;
|
|
122
|
+
border: none;
|
|
123
|
+
color: var(--text-3);
|
|
124
|
+
padding: 4px;
|
|
125
|
+
border-radius: var(--radius-xs);
|
|
126
|
+
display: flex;
|
|
127
|
+
}
|
|
128
|
+
.ae-collapse:hover {
|
|
129
|
+
color: var(--text);
|
|
130
|
+
background: var(--glass);
|
|
97
131
|
}
|
|
98
|
-
.ae-collapse:hover { color: var(--text); background: var(--glass); }
|
|
99
132
|
.ae-new {
|
|
100
|
-
display: flex;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: 8px;
|
|
136
|
+
margin-top: 8px;
|
|
137
|
+
padding: 9px 12px;
|
|
138
|
+
background: var(--surface-3);
|
|
139
|
+
color: var(--text);
|
|
140
|
+
border: 1px solid var(--border-2);
|
|
141
|
+
border-radius: var(--radius-sm);
|
|
142
|
+
font-size: 13px;
|
|
143
|
+
font-weight: 500;
|
|
144
|
+
white-space: nowrap;
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
}
|
|
147
|
+
.ae-new:hover {
|
|
148
|
+
background: var(--surface-hover, #212121);
|
|
149
|
+
border-color: var(--border-2);
|
|
150
|
+
}
|
|
151
|
+
.ae-nav {
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: column;
|
|
154
|
+
margin-top: 12px;
|
|
155
|
+
gap: 1px;
|
|
156
|
+
}
|
|
108
157
|
.ae-nav a {
|
|
109
|
-
padding: 8px 10px;
|
|
110
|
-
|
|
158
|
+
padding: 8px 10px;
|
|
159
|
+
border-radius: var(--radius-xs);
|
|
160
|
+
color: var(--text-2);
|
|
161
|
+
font-size: 13px;
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
}
|
|
164
|
+
.ae-nav a:hover {
|
|
165
|
+
background: var(--glass);
|
|
166
|
+
color: var(--text);
|
|
167
|
+
}
|
|
168
|
+
.ae-side-bottom {
|
|
169
|
+
margin-top: auto;
|
|
111
170
|
}
|
|
112
|
-
.ae-nav a:hover { background: var(--glass); color: var(--text); }
|
|
113
|
-
.ae-side-bottom { margin-top: auto; }
|
|
114
171
|
.ae-signin {
|
|
115
|
-
width: 100%;
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
172
|
+
width: 100%;
|
|
173
|
+
padding: 9px 12px;
|
|
174
|
+
background: var(--glass-2);
|
|
175
|
+
border: 1px solid var(--border);
|
|
176
|
+
color: var(--text);
|
|
177
|
+
border-radius: var(--radius-sm);
|
|
178
|
+
font-size: 12.5px;
|
|
179
|
+
font-weight: 500;
|
|
180
|
+
white-space: nowrap;
|
|
181
|
+
overflow: hidden;
|
|
182
|
+
}
|
|
183
|
+
.ae-signin:hover {
|
|
184
|
+
border-color: var(--border-2);
|
|
185
|
+
background: var(--surface-2);
|
|
186
|
+
}
|
|
187
|
+
.ae-signin.big {
|
|
188
|
+
width: auto;
|
|
189
|
+
padding: 10px 18px;
|
|
190
|
+
font-size: 14px;
|
|
119
191
|
}
|
|
120
|
-
.ae-signin:hover { border-color: var(--border-2); background: var(--surface-2); }
|
|
121
|
-
.ae-signin.big { width: auto; padding: 10px 18px; font-size: 14px; }
|
|
122
192
|
/* Icon-rail geometry. Centre the glyphs and drop the label gaps so a 3rem rail
|
|
123
|
-
holds them without clipping; the
|
|
124
|
-
.ae-root.collapsed .ae-sidebar
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
.ae-root.collapsed .ae-sidebar
|
|
130
|
-
|
|
193
|
+
holds them without clipping; the collapse rules above own visibility. */
|
|
194
|
+
.ae-root.collapsed .ae-sidebar {
|
|
195
|
+
padding: 14px 6px;
|
|
196
|
+
align-items: center;
|
|
197
|
+
overflow: hidden;
|
|
198
|
+
}
|
|
199
|
+
.ae-root.collapsed .ae-sidebar .ae-side-top {
|
|
200
|
+
justify-content: center;
|
|
201
|
+
}
|
|
202
|
+
.ae-root.collapsed .ae-sidebar .ae-collapse {
|
|
203
|
+
display: none;
|
|
204
|
+
}
|
|
205
|
+
.ae-root.collapsed .ae-sidebar .ae-brand,
|
|
206
|
+
.ae-root.collapsed .ae-sidebar .ae-new,
|
|
207
|
+
.ae-root.collapsed .ae-sidebar .ae-signin {
|
|
208
|
+
gap: 0;
|
|
209
|
+
padding: 8px;
|
|
210
|
+
justify-content: center;
|
|
211
|
+
width: auto;
|
|
131
212
|
}
|
|
132
213
|
|
|
133
214
|
/* ── Main ────────────────────────────────────────────────── */
|
|
134
|
-
.ae-main {
|
|
215
|
+
.ae-main {
|
|
216
|
+
min-width: 0;
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
display: flex;
|
|
219
|
+
flex-direction: column;
|
|
220
|
+
}
|
|
135
221
|
|
|
136
222
|
/* Hero (empty state) */
|
|
137
223
|
.ae-hero {
|
|
138
|
-
flex: 1;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
224
|
+
flex: 1;
|
|
225
|
+
display: flex;
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
align-items: center;
|
|
228
|
+
justify-content: center;
|
|
229
|
+
gap: 26px;
|
|
230
|
+
padding: 24px;
|
|
231
|
+
overflow-y: auto;
|
|
232
|
+
}
|
|
233
|
+
.ae-hero-card {
|
|
234
|
+
width: 100%;
|
|
235
|
+
max-width: 720px;
|
|
236
|
+
}
|
|
237
|
+
.ae-news {
|
|
238
|
+
width: 100%;
|
|
239
|
+
max-width: 720px;
|
|
240
|
+
}
|
|
241
|
+
.ae-news-head,
|
|
242
|
+
.ae-followups-head,
|
|
243
|
+
.ae-model-group-label {
|
|
244
|
+
font-size: 11px;
|
|
245
|
+
text-transform: uppercase;
|
|
246
|
+
letter-spacing: 0.08em;
|
|
247
|
+
color: var(--text-3);
|
|
248
|
+
margin-bottom: 10px;
|
|
249
|
+
}
|
|
250
|
+
.ae-news-grid {
|
|
251
|
+
display: grid;
|
|
252
|
+
grid-template-columns: 1fr 1fr;
|
|
253
|
+
gap: 8px;
|
|
146
254
|
}
|
|
147
|
-
.ae-news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
|
148
255
|
.ae-news-item {
|
|
149
|
-
display: flex;
|
|
150
|
-
|
|
151
|
-
|
|
256
|
+
display: flex;
|
|
257
|
+
flex-direction: column;
|
|
258
|
+
gap: 4px;
|
|
259
|
+
padding: 11px 13px;
|
|
260
|
+
border: 1px solid var(--border);
|
|
261
|
+
border-radius: var(--radius-sm);
|
|
262
|
+
background: var(--surface);
|
|
263
|
+
}
|
|
264
|
+
.ae-news-item:hover {
|
|
265
|
+
border-color: var(--border-2);
|
|
266
|
+
background: var(--surface-2);
|
|
267
|
+
}
|
|
268
|
+
.ae-news-title {
|
|
269
|
+
font-size: 13px;
|
|
270
|
+
color: var(--text);
|
|
271
|
+
line-height: 1.35;
|
|
272
|
+
}
|
|
273
|
+
.ae-news-meta {
|
|
274
|
+
font-size: 11px;
|
|
275
|
+
color: var(--text-3);
|
|
152
276
|
}
|
|
153
|
-
.ae-news-item:hover { border-color: var(--border-2); background: var(--surface-2); }
|
|
154
|
-
.ae-news-title { font-size: 13px; color: var(--text); line-height: 1.35; }
|
|
155
|
-
.ae-news-meta { font-size: 11px; color: var(--text-3); }
|
|
156
277
|
|
|
157
278
|
/* ── Input card ──────────────────────────────────────────── */
|
|
158
279
|
.ae-card {
|
|
159
280
|
background: var(--surface-2);
|
|
160
281
|
border: 1px solid var(--border-2);
|
|
161
282
|
border-radius: var(--radius);
|
|
162
|
-
box-shadow:
|
|
283
|
+
box-shadow:
|
|
284
|
+
0 8px 40px rgba(0, 0, 0, 0.45),
|
|
285
|
+
0 0 0 1px rgba(255, 255, 255, 0.02);
|
|
163
286
|
/* NOT overflow:hidden. The model picker menu is position:absolute inside this
|
|
164
287
|
card and opens UPWARD, so a clip here truncates it to the card's box: the
|
|
165
288
|
"Search models…" filter, the Auto row and the whole Enso group get cut off
|
|
@@ -171,148 +294,453 @@ a { color: inherit; text-decoration: none; }
|
|
|
171
294
|
overflow: visible;
|
|
172
295
|
}
|
|
173
296
|
.ae-input {
|
|
174
|
-
display: block;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
297
|
+
display: block;
|
|
298
|
+
width: 100%;
|
|
299
|
+
resize: none;
|
|
300
|
+
padding: 16px 18px 6px;
|
|
301
|
+
min-height: 30px;
|
|
302
|
+
max-height: 200px;
|
|
303
|
+
background: transparent;
|
|
304
|
+
border: none;
|
|
305
|
+
outline: none;
|
|
306
|
+
color: var(--text);
|
|
307
|
+
font-family: inherit;
|
|
308
|
+
font-size: 15px;
|
|
309
|
+
line-height: 1.5;
|
|
310
|
+
}
|
|
311
|
+
.ae-input::placeholder {
|
|
312
|
+
color: var(--text-3);
|
|
178
313
|
}
|
|
179
|
-
.ae-input::placeholder { color: var(--text-3); }
|
|
180
314
|
/* The composer field is @hanzo/ui's Textarea (data-slot is the design system's
|
|
181
315
|
own marker). It auto-grows by line count, so the browser's manual resize
|
|
182
316
|
grip is noise inside the card. */
|
|
183
|
-
.ae-card textarea[data-slot="textarea"] {
|
|
317
|
+
.ae-card textarea[data-slot="textarea"] {
|
|
318
|
+
resize: none;
|
|
319
|
+
}
|
|
184
320
|
.ae-card-row {
|
|
185
|
-
display: flex;
|
|
186
|
-
|
|
321
|
+
display: flex;
|
|
322
|
+
align-items: center;
|
|
323
|
+
justify-content: space-between;
|
|
324
|
+
gap: 8px;
|
|
325
|
+
padding: 8px 10px 10px;
|
|
326
|
+
flex-wrap: wrap;
|
|
327
|
+
}
|
|
328
|
+
.ae-chips {
|
|
329
|
+
display: flex;
|
|
330
|
+
gap: 4px;
|
|
331
|
+
flex-wrap: wrap;
|
|
187
332
|
}
|
|
188
|
-
.ae-chips { display: flex; gap: 4px; flex-wrap: wrap; }
|
|
189
333
|
.ae-chip {
|
|
190
|
-
padding: 4px 9px;
|
|
191
|
-
|
|
192
|
-
|
|
334
|
+
padding: 4px 9px;
|
|
335
|
+
border-radius: 999px;
|
|
336
|
+
cursor: pointer;
|
|
337
|
+
background: var(--glass);
|
|
338
|
+
border: 1px solid var(--border);
|
|
339
|
+
color: var(--text-3);
|
|
340
|
+
font-size: 11px;
|
|
341
|
+
font-family: inherit;
|
|
342
|
+
}
|
|
343
|
+
.ae-chip:hover {
|
|
344
|
+
color: var(--text-2);
|
|
345
|
+
background: var(--surface-2);
|
|
193
346
|
}
|
|
194
|
-
.ae-chip:hover { color: var(--text-2); background: var(--surface-2); }
|
|
195
347
|
/* Selected is a step UP the surface ladder, not a white lozenge (chat ModeChips). */
|
|
196
|
-
.ae-chip.on {
|
|
197
|
-
|
|
198
|
-
|
|
348
|
+
.ae-chip.on {
|
|
349
|
+
background: var(--surface-active);
|
|
350
|
+
color: var(--text);
|
|
351
|
+
border-color: transparent;
|
|
352
|
+
font-weight: 500;
|
|
353
|
+
}
|
|
354
|
+
.ae-card-right {
|
|
355
|
+
display: flex;
|
|
356
|
+
align-items: center;
|
|
357
|
+
gap: 6px;
|
|
358
|
+
}
|
|
359
|
+
.ae-modes {
|
|
360
|
+
display: flex;
|
|
361
|
+
gap: 2px;
|
|
362
|
+
background: var(--glass);
|
|
363
|
+
border-radius: var(--radius-xs);
|
|
364
|
+
padding: 2px;
|
|
365
|
+
}
|
|
199
366
|
.ae-mode {
|
|
200
|
-
padding: 4px 9px;
|
|
201
|
-
|
|
367
|
+
padding: 4px 9px;
|
|
368
|
+
border: none;
|
|
369
|
+
background: none;
|
|
370
|
+
cursor: pointer;
|
|
371
|
+
color: var(--text-3);
|
|
372
|
+
font-size: 11.5px;
|
|
373
|
+
font-family: inherit;
|
|
374
|
+
border-radius: 5px;
|
|
375
|
+
}
|
|
376
|
+
.ae-mode:hover {
|
|
377
|
+
color: var(--text-2);
|
|
378
|
+
}
|
|
379
|
+
.ae-mode.on {
|
|
380
|
+
background: var(--surface-active);
|
|
381
|
+
color: var(--text);
|
|
382
|
+
font-weight: 500;
|
|
202
383
|
}
|
|
203
|
-
.ae-mode:hover { color: var(--text-2); }
|
|
204
|
-
.ae-mode.on { background: var(--surface-active); color: var(--text); font-weight: 500; }
|
|
205
384
|
.ae-send {
|
|
206
|
-
width: 34px;
|
|
207
|
-
|
|
208
|
-
|
|
385
|
+
width: 34px;
|
|
386
|
+
height: 34px;
|
|
387
|
+
flex-shrink: 0;
|
|
388
|
+
cursor: pointer;
|
|
389
|
+
display: flex;
|
|
390
|
+
align-items: center;
|
|
391
|
+
justify-content: center;
|
|
392
|
+
background: var(--text);
|
|
393
|
+
color: #000;
|
|
394
|
+
border: none;
|
|
395
|
+
border-radius: 50%;
|
|
396
|
+
}
|
|
397
|
+
.ae-send:disabled {
|
|
398
|
+
opacity: 0.4;
|
|
399
|
+
cursor: default;
|
|
209
400
|
}
|
|
210
|
-
.ae-send:disabled { opacity: 0.4; cursor: default; }
|
|
211
401
|
|
|
212
402
|
/* ── Model picker ────────────────────────────────────────── */
|
|
213
|
-
.ae-picker {
|
|
403
|
+
.ae-picker {
|
|
404
|
+
position: relative;
|
|
405
|
+
}
|
|
214
406
|
.ae-picker-btn {
|
|
215
|
-
display: flex;
|
|
216
|
-
|
|
217
|
-
|
|
407
|
+
display: flex;
|
|
408
|
+
align-items: center;
|
|
409
|
+
gap: 6px;
|
|
410
|
+
cursor: pointer;
|
|
411
|
+
padding: 6px 10px;
|
|
412
|
+
background: var(--glass);
|
|
413
|
+
border: 1px solid var(--border);
|
|
414
|
+
border-radius: var(--radius-xs);
|
|
415
|
+
color: var(--text-2);
|
|
416
|
+
font-size: 12px;
|
|
417
|
+
font-family: inherit;
|
|
418
|
+
}
|
|
419
|
+
.ae-picker-btn:hover {
|
|
420
|
+
color: var(--text);
|
|
421
|
+
border-color: var(--border-2);
|
|
422
|
+
}
|
|
423
|
+
.ae-dot {
|
|
424
|
+
width: 6px;
|
|
425
|
+
height: 6px;
|
|
426
|
+
border-radius: 50%;
|
|
427
|
+
background: var(--text-2);
|
|
218
428
|
}
|
|
219
|
-
.ae-picker-btn:hover { color: var(--text); border-color: var(--border-2); }
|
|
220
|
-
.ae-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-2); }
|
|
221
429
|
.ae-picker-menu {
|
|
222
|
-
position: absolute;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
430
|
+
position: absolute;
|
|
431
|
+
bottom: calc(100% + 6px);
|
|
432
|
+
right: 0;
|
|
433
|
+
z-index: 40;
|
|
434
|
+
width: 320px;
|
|
435
|
+
max-height: 420px;
|
|
436
|
+
display: flex;
|
|
437
|
+
flex-direction: column;
|
|
438
|
+
background: var(--surface-2);
|
|
439
|
+
border: 1px solid var(--border-2);
|
|
440
|
+
border-radius: var(--radius-sm);
|
|
441
|
+
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
|
|
442
|
+
overflow: hidden;
|
|
226
443
|
}
|
|
227
444
|
.ae-picker-filter {
|
|
228
|
-
margin: 8px;
|
|
229
|
-
|
|
230
|
-
|
|
445
|
+
margin: 8px;
|
|
446
|
+
padding: 8px 10px;
|
|
447
|
+
background: var(--bg);
|
|
448
|
+
border: 1px solid var(--border);
|
|
449
|
+
border-radius: var(--radius-xs);
|
|
450
|
+
color: var(--text);
|
|
451
|
+
font-family: inherit;
|
|
452
|
+
font-size: 13px;
|
|
453
|
+
outline: none;
|
|
454
|
+
}
|
|
455
|
+
.ae-picker-list {
|
|
456
|
+
overflow-y: auto;
|
|
457
|
+
padding: 0 6px 6px;
|
|
458
|
+
}
|
|
459
|
+
.ae-model-group-label {
|
|
460
|
+
padding: 8px 8px 4px;
|
|
461
|
+
margin: 0;
|
|
231
462
|
}
|
|
232
|
-
.ae-picker-list { overflow-y: auto; padding: 0 6px 6px; }
|
|
233
|
-
.ae-model-group-label { padding: 8px 8px 4px; margin: 0; }
|
|
234
463
|
.ae-model-row {
|
|
235
|
-
display: flex;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
464
|
+
display: flex;
|
|
465
|
+
flex-direction: column;
|
|
466
|
+
gap: 2px;
|
|
467
|
+
width: 100%;
|
|
468
|
+
text-align: left;
|
|
469
|
+
padding: 8px 10px;
|
|
470
|
+
background: none;
|
|
471
|
+
border: none;
|
|
472
|
+
cursor: pointer;
|
|
473
|
+
border-radius: var(--radius-xs);
|
|
474
|
+
color: var(--text);
|
|
475
|
+
font-family: inherit;
|
|
476
|
+
}
|
|
477
|
+
.ae-model-row:hover {
|
|
478
|
+
background: var(--glass);
|
|
479
|
+
}
|
|
480
|
+
.ae-model-row.active {
|
|
481
|
+
background: var(--glass-2);
|
|
482
|
+
}
|
|
483
|
+
.ae-model-name {
|
|
484
|
+
font-size: 13px;
|
|
485
|
+
display: flex;
|
|
486
|
+
align-items: center;
|
|
487
|
+
gap: 7px;
|
|
488
|
+
}
|
|
489
|
+
.ae-model-desc {
|
|
490
|
+
font-size: 11px;
|
|
491
|
+
color: var(--text-3);
|
|
492
|
+
line-height: 1.3;
|
|
493
|
+
}
|
|
243
494
|
.ae-badge {
|
|
244
|
-
font-size: 9px;
|
|
245
|
-
|
|
495
|
+
font-size: 9px;
|
|
496
|
+
text-transform: uppercase;
|
|
497
|
+
letter-spacing: 0.04em;
|
|
498
|
+
padding: 1px 5px;
|
|
499
|
+
border-radius: 4px;
|
|
500
|
+
background: var(--glass-2);
|
|
501
|
+
color: var(--text-2);
|
|
246
502
|
}
|
|
247
503
|
.ae-plan-banner {
|
|
248
|
-
display: flex;
|
|
249
|
-
|
|
250
|
-
|
|
504
|
+
display: flex;
|
|
505
|
+
align-items: center;
|
|
506
|
+
justify-content: space-between;
|
|
507
|
+
gap: 8px;
|
|
508
|
+
padding: 10px 12px;
|
|
509
|
+
border-top: 1px solid var(--border);
|
|
510
|
+
font-size: 11.5px;
|
|
511
|
+
color: var(--text-2);
|
|
512
|
+
background: var(--surface);
|
|
513
|
+
}
|
|
514
|
+
.ae-plan-tiers {
|
|
515
|
+
display: flex;
|
|
516
|
+
gap: 8px;
|
|
517
|
+
}
|
|
518
|
+
.ae-plan-tier b {
|
|
519
|
+
color: var(--text);
|
|
251
520
|
}
|
|
252
|
-
.ae-plan-tiers { display: flex; gap: 8px; }
|
|
253
|
-
.ae-plan-tier b { color: var(--text); }
|
|
254
521
|
|
|
255
522
|
/* ── Answer view ─────────────────────────────────────────── */
|
|
256
|
-
.ae-answer-wrap {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
523
|
+
.ae-answer-wrap {
|
|
524
|
+
flex: 1;
|
|
525
|
+
display: flex;
|
|
526
|
+
flex-direction: column;
|
|
527
|
+
min-height: 0;
|
|
528
|
+
}
|
|
529
|
+
.ae-answer-scroll {
|
|
530
|
+
flex: 1;
|
|
531
|
+
overflow-y: auto;
|
|
532
|
+
padding: 32px 28px 20px;
|
|
533
|
+
}
|
|
534
|
+
.ae-answer-scroll > * {
|
|
535
|
+
max-width: 760px;
|
|
536
|
+
margin-left: auto;
|
|
537
|
+
margin-right: auto;
|
|
538
|
+
}
|
|
539
|
+
.ae-question {
|
|
540
|
+
font-size: 26px;
|
|
541
|
+
font-weight: 600;
|
|
542
|
+
letter-spacing: -0.02em;
|
|
543
|
+
margin: 0 0 20px;
|
|
544
|
+
}
|
|
545
|
+
.ae-sources {
|
|
546
|
+
display: flex;
|
|
547
|
+
gap: 8px;
|
|
548
|
+
overflow-x: auto;
|
|
549
|
+
padding-bottom: 16px;
|
|
550
|
+
margin-bottom: 8px;
|
|
551
|
+
}
|
|
261
552
|
/* Source card — chat AnswerView: 160px, number pill first, favicon, host, 3-line title. */
|
|
262
553
|
.ae-source {
|
|
263
|
-
flex: 0 0 168px;
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
554
|
+
flex: 0 0 168px;
|
|
555
|
+
display: flex;
|
|
556
|
+
flex-direction: column;
|
|
557
|
+
gap: 6px;
|
|
558
|
+
padding: 10px;
|
|
559
|
+
border: 1px solid var(--border);
|
|
560
|
+
border-radius: var(--radius);
|
|
561
|
+
background: var(--surface);
|
|
562
|
+
transition: background 0.12s ease;
|
|
563
|
+
}
|
|
564
|
+
.ae-source:hover {
|
|
565
|
+
background: var(--surface-2);
|
|
566
|
+
}
|
|
567
|
+
.ae-source-head {
|
|
568
|
+
display: flex;
|
|
569
|
+
align-items: center;
|
|
570
|
+
gap: 6px;
|
|
571
|
+
}
|
|
572
|
+
.ae-source-head img {
|
|
573
|
+
border-radius: 3px;
|
|
574
|
+
flex-shrink: 0;
|
|
575
|
+
}
|
|
576
|
+
.ae-source-host {
|
|
577
|
+
font-size: 11px;
|
|
578
|
+
color: var(--text-2);
|
|
579
|
+
flex: 1;
|
|
580
|
+
overflow: hidden;
|
|
581
|
+
text-overflow: ellipsis;
|
|
582
|
+
white-space: nowrap;
|
|
583
|
+
}
|
|
271
584
|
.ae-source-idx {
|
|
272
|
-
flex: 0 0 auto;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
585
|
+
flex: 0 0 auto;
|
|
586
|
+
width: 16px;
|
|
587
|
+
height: 16px;
|
|
588
|
+
padding: 0;
|
|
589
|
+
border: none;
|
|
590
|
+
display: inline-flex;
|
|
591
|
+
align-items: center;
|
|
592
|
+
justify-content: center;
|
|
593
|
+
font-size: 10px;
|
|
594
|
+
font-weight: 500;
|
|
595
|
+
color: var(--text-2);
|
|
596
|
+
background: var(--surface-3);
|
|
597
|
+
border-radius: 50%;
|
|
598
|
+
}
|
|
599
|
+
.ae-source-title {
|
|
600
|
+
font-size: 12px;
|
|
601
|
+
line-height: 1.35;
|
|
602
|
+
color: var(--text);
|
|
603
|
+
display: -webkit-box;
|
|
604
|
+
-webkit-line-clamp: 3;
|
|
605
|
+
-webkit-box-orient: vertical;
|
|
606
|
+
overflow: hidden;
|
|
276
607
|
}
|
|
277
|
-
.ae-source-title { font-size: 12px; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
|
|
278
608
|
|
|
279
|
-
.ae-status {
|
|
609
|
+
.ae-status {
|
|
610
|
+
display: flex;
|
|
611
|
+
align-items: center;
|
|
612
|
+
gap: 10px;
|
|
613
|
+
color: var(--text-2);
|
|
614
|
+
font-size: 14px;
|
|
615
|
+
padding: 8px 0;
|
|
616
|
+
}
|
|
280
617
|
|
|
281
|
-
.ae-answer.markdown {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
.markdown
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
618
|
+
.ae-answer.markdown {
|
|
619
|
+
font-size: 15px;
|
|
620
|
+
line-height: 1.65;
|
|
621
|
+
color: var(--text);
|
|
622
|
+
}
|
|
623
|
+
.markdown h2 {
|
|
624
|
+
font-size: 20px;
|
|
625
|
+
margin: 22px 0 10px;
|
|
626
|
+
font-weight: 600;
|
|
627
|
+
}
|
|
628
|
+
.markdown h3 {
|
|
629
|
+
font-size: 17px;
|
|
630
|
+
margin: 18px 0 8px;
|
|
631
|
+
font-weight: 600;
|
|
632
|
+
}
|
|
633
|
+
.markdown h4,
|
|
634
|
+
.markdown h5 {
|
|
635
|
+
font-size: 15px;
|
|
636
|
+
margin: 14px 0 6px;
|
|
637
|
+
font-weight: 600;
|
|
638
|
+
}
|
|
639
|
+
.markdown p {
|
|
640
|
+
margin: 0 0 12px;
|
|
641
|
+
}
|
|
642
|
+
.markdown ul,
|
|
643
|
+
.markdown ol {
|
|
644
|
+
margin: 0 0 12px;
|
|
645
|
+
padding-left: 22px;
|
|
646
|
+
}
|
|
647
|
+
.markdown li {
|
|
648
|
+
margin: 4px 0;
|
|
649
|
+
}
|
|
650
|
+
.markdown a {
|
|
651
|
+
color: var(--text);
|
|
652
|
+
text-decoration: underline;
|
|
653
|
+
text-decoration-color: var(--text-3);
|
|
654
|
+
text-underline-offset: 2px;
|
|
655
|
+
}
|
|
656
|
+
.markdown a:hover {
|
|
657
|
+
text-decoration-color: var(--text);
|
|
658
|
+
}
|
|
659
|
+
.markdown code {
|
|
660
|
+
background: var(--surface-2);
|
|
661
|
+
padding: 1px 5px;
|
|
662
|
+
border-radius: 4px;
|
|
663
|
+
font-size: 0.9em;
|
|
664
|
+
font-family: "Geist Mono", ui-monospace, monospace;
|
|
665
|
+
}
|
|
291
666
|
|
|
292
|
-
.ae-followups {
|
|
667
|
+
.ae-followups {
|
|
668
|
+
margin-top: 26px;
|
|
669
|
+
border-top: 1px solid var(--border);
|
|
670
|
+
padding-top: 16px;
|
|
671
|
+
}
|
|
293
672
|
.ae-followup {
|
|
294
|
-
display: flex;
|
|
295
|
-
|
|
296
|
-
|
|
673
|
+
display: flex;
|
|
674
|
+
align-items: center;
|
|
675
|
+
justify-content: space-between;
|
|
676
|
+
width: 100%;
|
|
677
|
+
padding: 12px 4px;
|
|
678
|
+
background: none;
|
|
679
|
+
border: none;
|
|
680
|
+
border-bottom: 1px solid var(--border);
|
|
681
|
+
color: var(--text);
|
|
682
|
+
font-family: inherit;
|
|
683
|
+
font-size: 14px;
|
|
684
|
+
text-align: left;
|
|
685
|
+
cursor: pointer;
|
|
686
|
+
}
|
|
687
|
+
.ae-followup:hover {
|
|
688
|
+
color: var(--text);
|
|
689
|
+
}
|
|
690
|
+
.ae-followup:hover .ae-followup-arrow {
|
|
691
|
+
color: var(--text);
|
|
692
|
+
transform: translateX(2px);
|
|
693
|
+
}
|
|
694
|
+
.ae-followup-arrow {
|
|
695
|
+
color: var(--text-3);
|
|
696
|
+
transition: transform 0.12s ease;
|
|
297
697
|
}
|
|
298
|
-
.ae-followup:hover { color: var(--text); }
|
|
299
|
-
.ae-followup:hover .ae-followup-arrow { color: var(--text); transform: translateX(2px); }
|
|
300
|
-
.ae-followup-arrow { color: var(--text-3); transition: transform 0.12s ease; }
|
|
301
698
|
|
|
302
|
-
.ae-error {
|
|
303
|
-
|
|
304
|
-
|
|
699
|
+
.ae-error {
|
|
700
|
+
color: var(--text-2);
|
|
701
|
+
padding: 12px 14px;
|
|
702
|
+
border: 1px solid var(--border);
|
|
703
|
+
border-radius: var(--radius-sm);
|
|
704
|
+
background: var(--surface);
|
|
705
|
+
}
|
|
706
|
+
.ae-auth {
|
|
707
|
+
display: flex;
|
|
708
|
+
flex-direction: column;
|
|
709
|
+
align-items: flex-start;
|
|
710
|
+
gap: 12px;
|
|
711
|
+
padding: 8px 0;
|
|
712
|
+
}
|
|
713
|
+
.ae-auth p {
|
|
714
|
+
margin: 0;
|
|
715
|
+
color: var(--text-2);
|
|
716
|
+
font-size: 15px;
|
|
717
|
+
}
|
|
305
718
|
|
|
306
|
-
.ae-answer-composer {
|
|
307
|
-
|
|
719
|
+
.ae-answer-composer {
|
|
720
|
+
padding: 12px 28px 20px;
|
|
721
|
+
border-top: 1px solid var(--border);
|
|
722
|
+
background: var(--bg);
|
|
723
|
+
}
|
|
724
|
+
.ae-answer-composer > .ae-card {
|
|
725
|
+
max-width: 760px;
|
|
726
|
+
margin: 0 auto;
|
|
727
|
+
}
|
|
308
728
|
|
|
309
729
|
/* ── Spinner ─────────────────────────────────────────────── */
|
|
310
730
|
.ae-spinner {
|
|
311
|
-
width: 14px;
|
|
312
|
-
|
|
731
|
+
width: 14px;
|
|
732
|
+
height: 14px;
|
|
733
|
+
border-radius: 50%;
|
|
734
|
+
display: inline-block;
|
|
735
|
+
border: 2px solid var(--border-2);
|
|
736
|
+
border-top-color: var(--text);
|
|
313
737
|
animation: ae-spin 0.7s linear infinite;
|
|
314
738
|
}
|
|
315
|
-
@keyframes ae-spin {
|
|
739
|
+
@keyframes ae-spin {
|
|
740
|
+
to {
|
|
741
|
+
transform: rotate(360deg);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
316
744
|
|
|
317
745
|
@media (max-width: 720px) {
|
|
318
746
|
/* The rail SURVIVES on mobile as icons. `display:none` here used to be safe only
|
|
@@ -322,43 +750,74 @@ a { color: inherit; text-decoration: none; }
|
|
|
322
750
|
nothing and keeps one layout from phone to desktop.
|
|
323
751
|
Hover-open does not apply here: the rule above is gated on (hover: hover), so a
|
|
324
752
|
touch device toggles with the button rather than sticking half-open. */
|
|
325
|
-
.ae-root,
|
|
326
|
-
|
|
327
|
-
answer column unreadable, and a desktop browser at a small window still
|
|
328
|
-
reports a fine pointer — so the (hover: hover) guard alone does not cover it.
|
|
329
|
-
This block is later in the file at equal specificity, so it wins. */
|
|
330
|
-
.ae-root.collapsed:has(.ae-sidebar:hover),
|
|
331
|
-
.ae-root.collapsed:has(.ae-sidebar:focus-within) {
|
|
753
|
+
.ae-root,
|
|
754
|
+
.ae-root.collapsed {
|
|
332
755
|
grid-template-columns: var(--rail-w) 1fr;
|
|
333
756
|
}
|
|
334
757
|
/* Explicitly opened, the sidebar OVERLAYS rather than pushing: the grid keeps
|
|
335
758
|
the rail's width so the content column never shrinks. */
|
|
336
|
-
.ae-root:not(.collapsed) {
|
|
759
|
+
.ae-root:not(.collapsed) {
|
|
760
|
+
grid-template-columns: var(--rail-w) 1fr;
|
|
761
|
+
}
|
|
337
762
|
.ae-root:not(.collapsed) .ae-sidebar {
|
|
338
|
-
position: fixed;
|
|
339
|
-
|
|
763
|
+
position: fixed;
|
|
764
|
+
top: 0;
|
|
765
|
+
bottom: 0;
|
|
766
|
+
left: 0;
|
|
767
|
+
width: var(--sidebar-w);
|
|
768
|
+
z-index: 60;
|
|
769
|
+
box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
|
|
770
|
+
}
|
|
771
|
+
.ae-news-grid {
|
|
772
|
+
grid-template-columns: 1fr;
|
|
773
|
+
}
|
|
774
|
+
.ae-hero {
|
|
775
|
+
gap: 20px;
|
|
776
|
+
padding: 20px 16px;
|
|
777
|
+
justify-content: flex-start;
|
|
778
|
+
padding-top: 48px;
|
|
779
|
+
}
|
|
780
|
+
.ae-answer-scroll {
|
|
781
|
+
padding: 20px 16px 16px;
|
|
782
|
+
}
|
|
783
|
+
.ae-answer-composer {
|
|
784
|
+
padding: 10px 16px 16px;
|
|
785
|
+
}
|
|
786
|
+
.ae-question {
|
|
787
|
+
font-size: 21px;
|
|
340
788
|
}
|
|
341
|
-
.ae-news-grid { grid-template-columns: 1fr; }
|
|
342
|
-
.ae-hero { gap: 20px; padding: 20px 16px; justify-content: flex-start; padding-top: 48px; }
|
|
343
|
-
.ae-answer-scroll { padding: 20px 16px 16px; }
|
|
344
|
-
.ae-answer-composer { padding: 10px 16px 16px; }
|
|
345
|
-
.ae-question { font-size: 21px; }
|
|
346
789
|
/* Input card: let the control row wrap so the model picker + send stay
|
|
347
790
|
reachable at narrow widths (mobile-first). */
|
|
348
|
-
.ae-card-row {
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
791
|
+
.ae-card-row {
|
|
792
|
+
flex-direction: column;
|
|
793
|
+
align-items: stretch;
|
|
794
|
+
gap: 10px;
|
|
795
|
+
}
|
|
796
|
+
.ae-card-right {
|
|
797
|
+
justify-content: space-between;
|
|
798
|
+
}
|
|
799
|
+
.ae-modes {
|
|
800
|
+
flex: 1;
|
|
801
|
+
justify-content: space-between;
|
|
802
|
+
}
|
|
803
|
+
.ae-source {
|
|
804
|
+
flex-basis: 150px;
|
|
805
|
+
}
|
|
352
806
|
}
|
|
353
807
|
|
|
354
808
|
/* The fallback escape hatch on the expired-session card. Quiet: it is the
|
|
355
809
|
second choice, offered so the surface is never a dead end. */
|
|
356
810
|
.ae-fallback-link {
|
|
357
|
-
display: inline-block;
|
|
358
|
-
|
|
811
|
+
display: inline-block;
|
|
812
|
+
margin-top: 12px;
|
|
813
|
+
color: var(--text-3);
|
|
814
|
+
font-size: 13px;
|
|
815
|
+
text-decoration: underline;
|
|
359
816
|
text-underline-offset: 3px;
|
|
360
817
|
}
|
|
361
|
-
.ae-fallback-link:hover {
|
|
818
|
+
.ae-fallback-link:hover {
|
|
819
|
+
color: var(--text);
|
|
820
|
+
}
|
|
362
821
|
|
|
363
822
|
/* ── Generative result widgets ───────────────────────────── */
|
|
364
823
|
/* margin-left/right stay AUTO: .ae-answer-scroll > * centres its children at
|
|
@@ -366,64 +825,173 @@ a { color: inherit; text-decoration: none; }
|
|
|
366
825
|
the widgets then hugged the left edge while the prose beside them stayed
|
|
367
826
|
centred. Set only the block margins. */
|
|
368
827
|
.ae-widgets {
|
|
369
|
-
display: flex;
|
|
370
|
-
|
|
828
|
+
display: flex;
|
|
829
|
+
flex-direction: column;
|
|
830
|
+
gap: 14px;
|
|
831
|
+
margin-top: 4px;
|
|
832
|
+
margin-bottom: 18px;
|
|
371
833
|
}
|
|
372
834
|
.ae-widget {
|
|
373
|
-
border: 1px solid var(--border);
|
|
374
|
-
|
|
835
|
+
border: 1px solid var(--border);
|
|
836
|
+
border-radius: var(--radius);
|
|
837
|
+
background: var(--surface);
|
|
838
|
+
padding: 16px 18px;
|
|
375
839
|
}
|
|
376
840
|
.ae-widget-title {
|
|
377
|
-
margin: 0 0 10px;
|
|
378
|
-
|
|
841
|
+
margin: 0 0 10px;
|
|
842
|
+
font-size: 14px;
|
|
843
|
+
font-weight: 600;
|
|
844
|
+
color: var(--text);
|
|
845
|
+
letter-spacing: -0.01em;
|
|
846
|
+
}
|
|
847
|
+
.ae-widget-subtitle {
|
|
848
|
+
margin: -6px 0 12px;
|
|
849
|
+
font-size: 13px;
|
|
850
|
+
color: var(--text-3);
|
|
379
851
|
}
|
|
380
|
-
.ae-widget-subtitle { margin: -6px 0 12px; font-size: 13px; color: var(--text-3); }
|
|
381
852
|
|
|
382
853
|
/* A wide table scrolls INSIDE its own box; the page never scrolls sideways. */
|
|
383
|
-
.ae-widget-scroll {
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
854
|
+
.ae-widget-scroll {
|
|
855
|
+
overflow-x: auto;
|
|
856
|
+
}
|
|
857
|
+
.ae-widget-table {
|
|
858
|
+
border-collapse: collapse;
|
|
859
|
+
width: 100%;
|
|
860
|
+
font-size: 13px;
|
|
861
|
+
}
|
|
862
|
+
.ae-widget-table th,
|
|
863
|
+
.ae-widget-table td {
|
|
864
|
+
text-align: left;
|
|
865
|
+
padding: 8px 12px;
|
|
866
|
+
border-bottom: 1px solid var(--border);
|
|
387
867
|
vertical-align: top;
|
|
388
868
|
}
|
|
389
|
-
.ae-widget-table thead th {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
869
|
+
.ae-widget-table thead th {
|
|
870
|
+
color: var(--text-3);
|
|
871
|
+
font-weight: 500;
|
|
872
|
+
white-space: nowrap;
|
|
873
|
+
}
|
|
874
|
+
.ae-widget-table tbody th {
|
|
875
|
+
color: var(--text);
|
|
876
|
+
font-weight: 500;
|
|
877
|
+
}
|
|
878
|
+
.ae-widget-table td {
|
|
879
|
+
color: var(--text-2);
|
|
880
|
+
}
|
|
881
|
+
.ae-widget-table tr:last-child th,
|
|
882
|
+
.ae-widget-table tr:last-child td {
|
|
883
|
+
border-bottom: none;
|
|
884
|
+
}
|
|
393
885
|
|
|
394
|
-
.ae-widget-steplist {
|
|
395
|
-
|
|
396
|
-
|
|
886
|
+
.ae-widget-steplist {
|
|
887
|
+
margin: 0;
|
|
888
|
+
padding-left: 20px;
|
|
889
|
+
display: flex;
|
|
890
|
+
flex-direction: column;
|
|
891
|
+
gap: 8px;
|
|
892
|
+
}
|
|
893
|
+
.ae-widget-steplist li {
|
|
894
|
+
font-size: 13.5px;
|
|
895
|
+
line-height: 1.5;
|
|
896
|
+
color: var(--text-2);
|
|
897
|
+
}
|
|
898
|
+
.ae-widget-steplist li::marker {
|
|
899
|
+
color: var(--text-3);
|
|
900
|
+
}
|
|
397
901
|
|
|
398
902
|
.ae-widget-statgrid {
|
|
399
|
-
display: grid;
|
|
903
|
+
display: grid;
|
|
904
|
+
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
905
|
+
gap: 12px;
|
|
906
|
+
}
|
|
907
|
+
.ae-widget-stat {
|
|
908
|
+
display: flex;
|
|
909
|
+
flex-direction: column;
|
|
910
|
+
gap: 2px;
|
|
400
911
|
}
|
|
401
|
-
.ae-widget-stat { display: flex; flex-direction: column; gap: 2px; }
|
|
402
912
|
.ae-widget-statvalue {
|
|
403
|
-
font-size: 20px;
|
|
404
|
-
font-
|
|
913
|
+
font-size: 20px;
|
|
914
|
+
font-weight: 600;
|
|
915
|
+
color: var(--text);
|
|
916
|
+
font-variant-numeric: tabular-nums;
|
|
917
|
+
letter-spacing: -0.02em;
|
|
918
|
+
}
|
|
919
|
+
.ae-widget-statlabel {
|
|
920
|
+
font-size: 12px;
|
|
921
|
+
color: var(--text-3);
|
|
405
922
|
}
|
|
406
|
-
.ae-widget-statlabel { font-size: 12px; color: var(--text-3); }
|
|
407
923
|
|
|
408
|
-
.ae-widget-events {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
924
|
+
.ae-widget-events {
|
|
925
|
+
margin: 0;
|
|
926
|
+
padding: 0;
|
|
927
|
+
list-style: none;
|
|
928
|
+
display: flex;
|
|
929
|
+
flex-direction: column;
|
|
930
|
+
gap: 10px;
|
|
931
|
+
}
|
|
932
|
+
.ae-widget-events li {
|
|
933
|
+
display: grid;
|
|
934
|
+
grid-template-columns: minmax(72px, auto) 1fr;
|
|
935
|
+
gap: 14px;
|
|
936
|
+
}
|
|
937
|
+
.ae-widget-when {
|
|
938
|
+
font-size: 12.5px;
|
|
939
|
+
color: var(--text-3);
|
|
940
|
+
font-variant-numeric: tabular-nums;
|
|
941
|
+
}
|
|
942
|
+
.ae-widget-what {
|
|
943
|
+
font-size: 13.5px;
|
|
944
|
+
color: var(--text-2);
|
|
945
|
+
line-height: 1.5;
|
|
946
|
+
}
|
|
412
947
|
|
|
413
|
-
.ae-widget-facts {
|
|
414
|
-
|
|
415
|
-
|
|
948
|
+
.ae-widget-facts {
|
|
949
|
+
margin: 0;
|
|
950
|
+
display: grid;
|
|
951
|
+
grid-template-columns: minmax(96px, auto) 1fr;
|
|
952
|
+
gap: 8px 16px;
|
|
953
|
+
}
|
|
954
|
+
.ae-widget-facts dt {
|
|
955
|
+
font-size: 12.5px;
|
|
956
|
+
color: var(--text-3);
|
|
957
|
+
}
|
|
958
|
+
.ae-widget-facts dd {
|
|
959
|
+
margin: 0;
|
|
960
|
+
font-size: 13.5px;
|
|
961
|
+
color: var(--text-2);
|
|
962
|
+
}
|
|
416
963
|
|
|
417
|
-
.ae-widget-meaning {
|
|
964
|
+
.ae-widget-meaning {
|
|
965
|
+
margin: 0;
|
|
966
|
+
font-size: 14px;
|
|
967
|
+
line-height: 1.55;
|
|
968
|
+
color: var(--text-2);
|
|
969
|
+
}
|
|
418
970
|
.ae-widget-example {
|
|
419
|
-
margin: 12px 0 0;
|
|
420
|
-
|
|
421
|
-
|
|
971
|
+
margin: 12px 0 0;
|
|
972
|
+
padding: 10px 12px;
|
|
973
|
+
overflow-x: auto;
|
|
974
|
+
background: var(--bg);
|
|
975
|
+
border: 1px solid var(--border);
|
|
976
|
+
border-radius: var(--radius-sm);
|
|
977
|
+
font-size: 12.5px;
|
|
978
|
+
color: var(--text-2);
|
|
979
|
+
white-space: pre-wrap;
|
|
422
980
|
}
|
|
423
981
|
|
|
424
982
|
@media (max-width: 720px) {
|
|
425
|
-
.ae-widget {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
.ae-widget-
|
|
983
|
+
.ae-widget {
|
|
984
|
+
padding: 14px;
|
|
985
|
+
}
|
|
986
|
+
.ae-widget-events li {
|
|
987
|
+
grid-template-columns: 1fr;
|
|
988
|
+
gap: 2px;
|
|
989
|
+
}
|
|
990
|
+
.ae-widget-facts {
|
|
991
|
+
grid-template-columns: 1fr;
|
|
992
|
+
gap: 2px 0;
|
|
993
|
+
}
|
|
994
|
+
.ae-widget-facts dd {
|
|
995
|
+
margin-bottom: 8px;
|
|
996
|
+
}
|
|
429
997
|
}
|