@thready-web/dsh-bot-plugin 0.1.0-beta.10 → 0.1.0-beta.12
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/README.md +19 -2
- package/dist/approvals.js +19 -1
- package/dist/canvas-compose.js +73 -0
- package/dist/canvas-http.js +379 -0
- package/dist/canvas-skills.js +56 -0
- package/dist/canvas-store.js +1015 -0
- package/dist/canvas-tools.js +380 -0
- package/dist/card-log.js +216 -0
- package/dist/context.js +6 -3
- package/dist/deleting.js +54 -0
- package/dist/desk-ledger.js +18 -0
- package/dist/desk.js +30 -5
- package/dist/http-plugin.js +2 -1
- package/dist/http.js +218 -3
- package/dist/inbox.js +24 -2
- package/dist/index.js +75 -12
- package/dist/questions.js +10 -0
- package/dist/runtime-registry.js +20 -0
- package/dist/session-delete-job.js +77 -0
- package/dist/session-files.js +33 -1
- package/dist/session-wipe.js +204 -0
- package/dist/store.js +46 -3
- package/dist/triggers.js +8 -0
- package/dist/work-admit.js +9 -20
- package/dist/work-child.js +27 -10
- package/dist/work-http.js +19 -0
- package/dist/work-ledger.js +5 -1
- package/dist/work-mock.js +10 -0
- package/dist/work-tickets.js +5 -3
- package/dist/work-tools.js +11 -9
- package/dist/work-worker.js +245 -6
- package/dist/worker-handles.js +33 -0
- package/dist/workspace-files.js +98 -17
- package/package.json +2 -1
- package/public/assets/{SourceEditor-BEQaScgR.js → SourceEditor-BjtoMvcX.js} +3 -3
- package/public/assets/{cssMode-gpcjCFFS.js → cssMode--96PQtWh.js} +1 -1
- package/public/assets/{freemarker2-C1qemGIt.js → freemarker2-Bz-HlISL.js} +1 -1
- package/public/assets/{handlebars-sZqIfAlP.js → handlebars-D9ScJ8AM.js} +1 -1
- package/public/assets/{html-Bn1WXB8L.js → html-Czc0jojJ.js} +1 -1
- package/public/assets/{htmlMode-CvQyXnaW.js → htmlMode-CCww5Z1w.js} +1 -1
- package/public/assets/index-DRCgKxWk.css +1 -0
- package/public/assets/index-ztUdW074.js +72 -0
- package/public/assets/{javascript-Ox4Jg12j.js → javascript-B-yRZSiz.js} +1 -1
- package/public/assets/{jsonMode-DMR7R2dQ.js → jsonMode-ASWsY833.js} +1 -1
- package/public/assets/{liquid-B6HxtpBd.js → liquid-BGoox2vJ.js} +1 -1
- package/public/assets/{mdx--jDhmrXq.js → mdx-DHgvnl_U.js} +1 -1
- package/public/assets/{python-YjG50skX.js → python-BJvVD30_.js} +1 -1
- package/public/assets/{razor-CEcFE3UK.js → razor-0PwR35mu.js} +1 -1
- package/public/assets/{tsMode-g4kTQl09.js → tsMode-3ETp8Gdh.js} +1 -1
- package/public/assets/{typescript-CnHeFmPW.js → typescript-BT0iTK6K.js} +1 -1
- package/public/assets/{xml-BFXMY9nb.js → xml-BTaNc_uT.js} +1 -1
- package/public/assets/{yaml-DNm87nSf.js → yaml-Dr7LW3tK.js} +1 -1
- package/public/index.html +2 -2
- package/skills/ui/baseline-ui/SKILL.md +85 -0
- package/skills/ui/bencium-innovative-ux-designer/SKILL.md +227 -0
- package/skills/ui/better-ui/SKILL.md +133 -0
- package/skills/ui/design-lab/SKILL.md +920 -0
- package/skills/ui/frontend-design/SKILL.md +71 -0
- package/skills/ui/impeccable/SKILL.md +93 -0
- package/skills/ui/interface-design/SKILL.md +320 -0
- package/skills/ui/sources.json +66 -0
- package/skills/ui/ui-design/SKILL.md +41 -0
- package/skills/ui/ui-skills-root/SKILL.md +59 -0
- package/skills/ui/visual-design-foundations/SKILL.md +318 -0
- package/skills/ui/web-design-guidelines/SKILL.md +39 -0
- package/public/assets/index-DRNkUrer.css +0 -1
- package/public/assets/index-DhL5Kdlz.js +0 -63
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-skills-root
|
|
3
|
+
description: Use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
author: ibelick
|
|
7
|
+
version: "1.0.0"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# UI Skills Root
|
|
11
|
+
|
|
12
|
+
You are the routing layer for UI Skills.
|
|
13
|
+
|
|
14
|
+
This skill is shown by `npx ui-skills start` and is also available in the registry.
|
|
15
|
+
|
|
16
|
+
Use it when an agent in Codex, Cursor, or Claude Code has a clear UI goal.
|
|
17
|
+
|
|
18
|
+
If the goal is unclear, ask one short question.
|
|
19
|
+
|
|
20
|
+
If the goal is clear, choose the right category, load the smallest useful skill context, then implement.
|
|
21
|
+
|
|
22
|
+
## Protocol
|
|
23
|
+
|
|
24
|
+
1. decide if the task is UI-related
|
|
25
|
+
2. if not, return `no skill needed`
|
|
26
|
+
3. identify the likely category
|
|
27
|
+
4. inspect that category with the CLI
|
|
28
|
+
5. select the smallest useful skill set
|
|
29
|
+
6. load only selected skill(s)
|
|
30
|
+
7. implement using that context
|
|
31
|
+
|
|
32
|
+
## CLI
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npx ui-skills start
|
|
36
|
+
npx ui-skills categories
|
|
37
|
+
npx ui-skills list --category <category>
|
|
38
|
+
npx ui-skills get <slug>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Selection Rules
|
|
42
|
+
|
|
43
|
+
Prefer 1 skill.
|
|
44
|
+
|
|
45
|
+
Use 2 only when the task needs two clear angles.
|
|
46
|
+
|
|
47
|
+
Use 3 only for broad review, redesign, or multi-surface work.
|
|
48
|
+
|
|
49
|
+
Never use more than 3.
|
|
50
|
+
|
|
51
|
+
Route by topic, then stack, then specificity.
|
|
52
|
+
|
|
53
|
+
Prefer specific skills over broad skills.
|
|
54
|
+
|
|
55
|
+
Prefer framework-specific skills when the stack is obvious.
|
|
56
|
+
|
|
57
|
+
For quick cleanup, prefer the most specific craft, visual, or layout skill available.
|
|
58
|
+
|
|
59
|
+
If unsure, inspect categories and pick the safest narrow skill.
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: visual-design-foundations
|
|
3
|
+
description: Apply typography, color theory, spacing systems, and iconography principles to create cohesive visual designs. Use when establishing design tokens, building style guides, or improving visual hierarchy and consistency.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Visual Design Foundations
|
|
7
|
+
|
|
8
|
+
Build cohesive, accessible visual systems using typography, color, spacing, and iconography fundamentals.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
- Establishing design tokens for a new project
|
|
13
|
+
- Creating or refining a spacing and sizing system
|
|
14
|
+
- Selecting and pairing typefaces
|
|
15
|
+
- Building accessible color palettes
|
|
16
|
+
- Designing icon systems and visual assets
|
|
17
|
+
- Improving visual hierarchy and readability
|
|
18
|
+
- Auditing designs for visual consistency
|
|
19
|
+
- Implementing dark mode or theming
|
|
20
|
+
|
|
21
|
+
## Core Systems
|
|
22
|
+
|
|
23
|
+
### 1. Typography Scale
|
|
24
|
+
|
|
25
|
+
**Modular Scale** (ratio-based sizing):
|
|
26
|
+
|
|
27
|
+
```css
|
|
28
|
+
:root {
|
|
29
|
+
--font-size-xs: 0.75rem; /* 12px */
|
|
30
|
+
--font-size-sm: 0.875rem; /* 14px */
|
|
31
|
+
--font-size-base: 1rem; /* 16px */
|
|
32
|
+
--font-size-lg: 1.125rem; /* 18px */
|
|
33
|
+
--font-size-xl: 1.25rem; /* 20px */
|
|
34
|
+
--font-size-2xl: 1.5rem; /* 24px */
|
|
35
|
+
--font-size-3xl: 1.875rem; /* 30px */
|
|
36
|
+
--font-size-4xl: 2.25rem; /* 36px */
|
|
37
|
+
--font-size-5xl: 3rem; /* 48px */
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Line Height Guidelines**:
|
|
42
|
+
| Text Type | Line Height |
|
|
43
|
+
|-----------|-------------|
|
|
44
|
+
| Headings | 1.1 - 1.3 |
|
|
45
|
+
| Body text | 1.5 - 1.7 |
|
|
46
|
+
| UI labels | 1.2 - 1.4 |
|
|
47
|
+
|
|
48
|
+
### 2. Spacing System
|
|
49
|
+
|
|
50
|
+
**8-point grid** (industry standard):
|
|
51
|
+
|
|
52
|
+
```css
|
|
53
|
+
:root {
|
|
54
|
+
--space-1: 0.25rem; /* 4px */
|
|
55
|
+
--space-2: 0.5rem; /* 8px */
|
|
56
|
+
--space-3: 0.75rem; /* 12px */
|
|
57
|
+
--space-4: 1rem; /* 16px */
|
|
58
|
+
--space-5: 1.25rem; /* 20px */
|
|
59
|
+
--space-6: 1.5rem; /* 24px */
|
|
60
|
+
--space-8: 2rem; /* 32px */
|
|
61
|
+
--space-10: 2.5rem; /* 40px */
|
|
62
|
+
--space-12: 3rem; /* 48px */
|
|
63
|
+
--space-16: 4rem; /* 64px */
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 3. Color System
|
|
68
|
+
|
|
69
|
+
**Semantic color tokens**:
|
|
70
|
+
|
|
71
|
+
```css
|
|
72
|
+
:root {
|
|
73
|
+
/* Brand */
|
|
74
|
+
--color-primary: #2563eb;
|
|
75
|
+
--color-primary-hover: #1d4ed8;
|
|
76
|
+
--color-primary-active: #1e40af;
|
|
77
|
+
|
|
78
|
+
/* Semantic */
|
|
79
|
+
--color-success: #16a34a;
|
|
80
|
+
--color-warning: #ca8a04;
|
|
81
|
+
--color-error: #dc2626;
|
|
82
|
+
--color-info: #0891b2;
|
|
83
|
+
|
|
84
|
+
/* Neutral */
|
|
85
|
+
--color-gray-50: #f9fafb;
|
|
86
|
+
--color-gray-100: #f3f4f6;
|
|
87
|
+
--color-gray-200: #e5e7eb;
|
|
88
|
+
--color-gray-300: #d1d5db;
|
|
89
|
+
--color-gray-400: #9ca3af;
|
|
90
|
+
--color-gray-500: #6b7280;
|
|
91
|
+
--color-gray-600: #4b5563;
|
|
92
|
+
--color-gray-700: #374151;
|
|
93
|
+
--color-gray-800: #1f2937;
|
|
94
|
+
--color-gray-900: #111827;
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Quick Start: Design Tokens in Tailwind
|
|
99
|
+
|
|
100
|
+
```js
|
|
101
|
+
// tailwind.config.js
|
|
102
|
+
module.exports = {
|
|
103
|
+
theme: {
|
|
104
|
+
extend: {
|
|
105
|
+
fontFamily: {
|
|
106
|
+
sans: ["Inter", "system-ui", "sans-serif"],
|
|
107
|
+
mono: ["JetBrains Mono", "monospace"],
|
|
108
|
+
},
|
|
109
|
+
fontSize: {
|
|
110
|
+
xs: ["0.75rem", { lineHeight: "1rem" }],
|
|
111
|
+
sm: ["0.875rem", { lineHeight: "1.25rem" }],
|
|
112
|
+
base: ["1rem", { lineHeight: "1.5rem" }],
|
|
113
|
+
lg: ["1.125rem", { lineHeight: "1.75rem" }],
|
|
114
|
+
xl: ["1.25rem", { lineHeight: "1.75rem" }],
|
|
115
|
+
"2xl": ["1.5rem", { lineHeight: "2rem" }],
|
|
116
|
+
},
|
|
117
|
+
colors: {
|
|
118
|
+
brand: {
|
|
119
|
+
50: "#eff6ff",
|
|
120
|
+
500: "#3b82f6",
|
|
121
|
+
600: "#2563eb",
|
|
122
|
+
700: "#1d4ed8",
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
spacing: {
|
|
126
|
+
// Extends default with custom values
|
|
127
|
+
18: "4.5rem",
|
|
128
|
+
88: "22rem",
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Typography Best Practices
|
|
136
|
+
|
|
137
|
+
### Font Pairing
|
|
138
|
+
|
|
139
|
+
**Safe combinations**:
|
|
140
|
+
|
|
141
|
+
- Heading: **Inter** / Body: **Inter** (single family)
|
|
142
|
+
- Heading: **Playfair Display** / Body: **Source Sans Pro** (contrast)
|
|
143
|
+
- Heading: **Space Grotesk** / Body: **IBM Plex Sans** (geometric)
|
|
144
|
+
|
|
145
|
+
### Responsive Typography
|
|
146
|
+
|
|
147
|
+
```css
|
|
148
|
+
/* Fluid typography using clamp() */
|
|
149
|
+
h1 {
|
|
150
|
+
font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
|
|
151
|
+
line-height: 1.1;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
p {
|
|
155
|
+
font-size: clamp(1rem, 2vw + 0.5rem, 1.125rem);
|
|
156
|
+
line-height: 1.6;
|
|
157
|
+
max-width: 65ch; /* Optimal reading width */
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Font Loading
|
|
162
|
+
|
|
163
|
+
```css
|
|
164
|
+
/* Prevent layout shift */
|
|
165
|
+
@font-face {
|
|
166
|
+
font-family: "Inter";
|
|
167
|
+
src: url("/fonts/Inter.woff2") format("woff2");
|
|
168
|
+
font-display: swap;
|
|
169
|
+
font-weight: 400 700;
|
|
170
|
+
}
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## Color Theory
|
|
174
|
+
|
|
175
|
+
### Contrast Requirements (WCAG)
|
|
176
|
+
|
|
177
|
+
| Element | Minimum Ratio |
|
|
178
|
+
| ------------------ | ------------- |
|
|
179
|
+
| Body text | 4.5:1 (AA) |
|
|
180
|
+
| Large text (18px+) | 3:1 (AA) |
|
|
181
|
+
| UI components | 3:1 (AA) |
|
|
182
|
+
| Enhanced | 7:1 (AAA) |
|
|
183
|
+
|
|
184
|
+
### Dark Mode Strategy
|
|
185
|
+
|
|
186
|
+
```css
|
|
187
|
+
:root {
|
|
188
|
+
--bg-primary: #ffffff;
|
|
189
|
+
--bg-secondary: #f9fafb;
|
|
190
|
+
--text-primary: #111827;
|
|
191
|
+
--text-secondary: #6b7280;
|
|
192
|
+
--border: #e5e7eb;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
[data-theme="dark"] {
|
|
196
|
+
--bg-primary: #111827;
|
|
197
|
+
--bg-secondary: #1f2937;
|
|
198
|
+
--text-primary: #f9fafb;
|
|
199
|
+
--text-secondary: #9ca3af;
|
|
200
|
+
--border: #374151;
|
|
201
|
+
}
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Color Accessibility
|
|
205
|
+
|
|
206
|
+
```tsx
|
|
207
|
+
// Check contrast programmatically
|
|
208
|
+
function getContrastRatio(foreground: string, background: string): number {
|
|
209
|
+
const getLuminance = (hex: string) => {
|
|
210
|
+
const rgb = hexToRgb(hex);
|
|
211
|
+
const [r, g, b] = rgb.map((c) => {
|
|
212
|
+
c = c / 255;
|
|
213
|
+
return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);
|
|
214
|
+
});
|
|
215
|
+
return 0.2126 * r + 0.7152 * g + 0.0722 * b;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
const l1 = getLuminance(foreground);
|
|
219
|
+
const l2 = getLuminance(background);
|
|
220
|
+
const lighter = Math.max(l1, l2);
|
|
221
|
+
const darker = Math.min(l1, l2);
|
|
222
|
+
|
|
223
|
+
return (lighter + 0.05) / (darker + 0.05);
|
|
224
|
+
}
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
## Spacing Guidelines
|
|
228
|
+
|
|
229
|
+
### Component Spacing
|
|
230
|
+
|
|
231
|
+
```
|
|
232
|
+
Card padding: 16-24px (--space-4 to --space-6)
|
|
233
|
+
Section gap: 32-64px (--space-8 to --space-16)
|
|
234
|
+
Form field gap: 16-24px (--space-4 to --space-6)
|
|
235
|
+
Button padding: 8-16px vertical, 16-24px horizontal
|
|
236
|
+
Icon-text gap: 8px (--space-2)
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### Visual Rhythm
|
|
240
|
+
|
|
241
|
+
```css
|
|
242
|
+
/* Consistent vertical rhythm */
|
|
243
|
+
.prose > * + * {
|
|
244
|
+
margin-top: var(--space-4);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.prose > h2 + * {
|
|
248
|
+
margin-top: var(--space-2);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.prose > * + h2 {
|
|
252
|
+
margin-top: var(--space-8);
|
|
253
|
+
}
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
## Iconography
|
|
257
|
+
|
|
258
|
+
### Icon Sizing System
|
|
259
|
+
|
|
260
|
+
```css
|
|
261
|
+
:root {
|
|
262
|
+
--icon-xs: 12px;
|
|
263
|
+
--icon-sm: 16px;
|
|
264
|
+
--icon-md: 20px;
|
|
265
|
+
--icon-lg: 24px;
|
|
266
|
+
--icon-xl: 32px;
|
|
267
|
+
}
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### Icon Component
|
|
271
|
+
|
|
272
|
+
```tsx
|
|
273
|
+
interface IconProps {
|
|
274
|
+
name: string;
|
|
275
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
276
|
+
className?: string;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
const sizeMap = {
|
|
280
|
+
xs: 12,
|
|
281
|
+
sm: 16,
|
|
282
|
+
md: 20,
|
|
283
|
+
lg: 24,
|
|
284
|
+
xl: 32,
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
export function Icon({ name, size = "md", className }: IconProps) {
|
|
288
|
+
return (
|
|
289
|
+
<svg
|
|
290
|
+
width={sizeMap[size]}
|
|
291
|
+
height={sizeMap[size]}
|
|
292
|
+
className={cn("inline-block flex-shrink-0", className)}
|
|
293
|
+
aria-hidden="true"
|
|
294
|
+
>
|
|
295
|
+
<use href={`/icons.svg#${name}`} />
|
|
296
|
+
</svg>
|
|
297
|
+
);
|
|
298
|
+
}
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
## Best Practices
|
|
302
|
+
|
|
303
|
+
1. **Establish Constraints**: Limit choices to maintain consistency
|
|
304
|
+
2. **Document Decisions**: Create a living style guide
|
|
305
|
+
3. **Test Accessibility**: Verify contrast, sizing, touch targets
|
|
306
|
+
4. **Use Semantic Tokens**: Name by purpose, not appearance
|
|
307
|
+
5. **Design Mobile-First**: Start with constraints, add complexity
|
|
308
|
+
6. **Maintain Vertical Rhythm**: Consistent spacing creates harmony
|
|
309
|
+
7. **Limit Font Weights**: 2-3 weights per family is sufficient
|
|
310
|
+
|
|
311
|
+
## Common Issues
|
|
312
|
+
|
|
313
|
+
- **Inconsistent Spacing**: Not using a defined scale
|
|
314
|
+
- **Poor Contrast**: Failing WCAG requirements
|
|
315
|
+
- **Font Overload**: Too many families or weights
|
|
316
|
+
- **Magic Numbers**: Arbitrary values instead of tokens
|
|
317
|
+
- **Missing States**: Forgetting hover, focus, disabled
|
|
318
|
+
- **No Dark Mode Plan**: Retrofitting is harder than planning
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: web-design-guidelines
|
|
3
|
+
description: Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
|
|
4
|
+
metadata:
|
|
5
|
+
author: vercel
|
|
6
|
+
version: "1.0.0"
|
|
7
|
+
argument-hint: <file-or-pattern>
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Web Interface Guidelines
|
|
11
|
+
|
|
12
|
+
Review files for compliance with Web Interface Guidelines.
|
|
13
|
+
|
|
14
|
+
## How It Works
|
|
15
|
+
|
|
16
|
+
1. Fetch the latest guidelines from the source URL below
|
|
17
|
+
2. Read the specified files (or prompt user for files/pattern)
|
|
18
|
+
3. Check against all rules in the fetched guidelines
|
|
19
|
+
4. Output findings in the terse `file:line` format
|
|
20
|
+
|
|
21
|
+
## Guidelines Source
|
|
22
|
+
|
|
23
|
+
Fetch fresh guidelines before each review:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Use WebFetch to retrieve the latest rules. The fetched content contains all the rules and output format instructions.
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
When a user provides a file or pattern argument:
|
|
34
|
+
1. Fetch guidelines from the source URL above
|
|
35
|
+
2. Read the specified files
|
|
36
|
+
3. Apply all rules from the fetched guidelines
|
|
37
|
+
4. Output findings using the format specified in the guidelines
|
|
38
|
+
|
|
39
|
+
If no files specified, ask the user which files to review.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{color-scheme:light;--dsw-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;--ds-font-family-code: "SF Mono", "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, Courier, "PingFang SC", "Microsoft YaHei";--dsw-radius-sm: 8px;--dsw-radius-lg: 16px;--dsw-radius-xl: 20px;--dsw-radius-panel: 28px;--bg: #fff;--sidebar: #f9fafb;--ink: rgb(15, 17, 21);--secondary: rgb(97, 102, 107);--tertiary: rgb(129, 133, 140);--caption: rgb(173, 178, 184);--hover: rgba(38, 49, 72, .06);--selected: rgb(235, 238, 242);--bubble: rgb(237, 243, 254);--line: rgba(0, 0, 0, .1);--line-strong: rgba(0, 0, 0, .12);--code-bg: #f9fafb;--inline-code: #f5f5f5;--link: rgb(65, 118, 230);--send: rgb(65, 118, 230);--send-hover: rgb(122, 170, 255);--selector: #f9fafb;--shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 4px 16px rgba(0, 0, 0, .03), 0 0 24px rgba(0, 0, 0, .03);font-family:var(--dsw-font-family);color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0}#root{display:flex;justify-content:center}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}a{color:var(--link);text-decoration:none}@property --files-inset{syntax: "<length>"; inherits: true; initial-value: 0px;}@property --files-inset-right{syntax: "<length>"; inherits: true; initial-value: 0px;}@property --files-sidebar{syntax: "<length>"; inherits: true; initial-value: 268px;}@property --files-reserve{syntax: "<length>"; inherits: true; initial-value: 0px;}html{--files-inset: 0px;--files-inset-right: 0px;--files-sidebar: 268px;--files-reserve: 0px;transition:--files-inset .35s cubic-bezier(.16,1,.3,1),--files-inset-right .35s cubic-bezier(.16,1,.3,1),--files-sidebar .35s cubic-bezier(.16,1,.3,1),--files-reserve .35s cubic-bezier(.16,1,.3,1)}html.files-closing{transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,1,1)}html.files-resizing{transition:none}@media(prefers-reduced-motion:reduce){html{transition:none}}.shell{width:min(1120px,100%);height:100%;display:grid;grid-template-columns:268px minmax(0,1fr);background:var(--bg)}@media(min-width:801px){html.files-push .shell.in-chat{width:100%;min-width:0;padding-left:var(--files-inset);padding-right:var(--files-inset-right);grid-template-columns:var(--files-sidebar) minmax(0,1fr) var(--files-reserve)}}.side,.chat{min-width:0;min-height:0}.side{display:flex;flex-direction:column;background:var(--sidebar);padding:14px 10px 10px}.side-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px 12px}.brand{font-size:15px;font-weight:650}.side-actions{display:flex;gap:2px}.icon-btn,.add{width:28px;height:28px;border:0;border-radius:999px;display:grid;place-items:center;background:transparent;color:var(--ink)}.icon-btn:hover,.add:hover{background:var(--hover)}.icon-btn svg,.add svg,.send svg{width:16px;height:16px}.filter{margin:0 6px 8px;border:0;background:#fff;border-radius:8px;padding:8px 10px;outline:none}.note{color:#9a3412;font-size:12px;margin:0 8px 8px}.note.ok{color:var(--secondary)}.sessions{list-style:none;margin:0;padding:0;overflow:auto;flex:1}.sessions .empty{color:var(--tertiary);font-size:13px;padding:8px 10px}.session{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:0;background:transparent;border-radius:10px;padding:8px}.session:hover{background:var(--hover)}.session.selected{background:var(--selected)}.session-row{display:flex;align-items:center;border-radius:10px}.session-row .session{flex:1;min-width:0}.session-delete{flex:none;border:0;background:transparent;color:var(--tertiary);font-size:12px;padding:6px 8px;border-radius:8px}.session-delete:hover{color:#9a3412;background:var(--hover)}.session-delete.purge{color:#9a3412}.session-menu{position:fixed;z-index:30;min-width:148px;padding:6px;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.session-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:8px 10px;font-size:13px;line-height:20px;color:#9a3412}.session-menu button:hover,.session-menu button:focus-visible{background:var(--hover);outline:none}.blank-head{flex-wrap:wrap}.blank-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 10px 4px;color:var(--tertiary);font-size:12px}.blank-head button{border:0;background:transparent;color:inherit;padding:0}.blank-head button:hover{color:var(--ink)}.mark{position:relative;width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:var(--selector);color:var(--secondary);font-size:13px;font-weight:650;flex:none}.bot-dot{position:absolute;right:-2px;bottom:-2px;width:8px;height:8px;border-radius:999px;background:#16a34a;box-shadow:0 0 0 2px var(--sidebar)}.bot-dot.wait{background:#2563eb}.session.selected .bot-dot{box-shadow:0 0 0 2px var(--selected)}.bot-badge .bot-dot{top:-2px;bottom:auto;box-shadow:0 0 0 2px var(--bg)}.session.selected .mark{background:#fff}.mark.bot-mark,.bot-badge{background:#111827;color:#fff;font-size:10px;font-weight:700;letter-spacing:.06em}.mark.bot-mark{width:auto;min-width:28px;padding:0 6px}.session.selected .mark.bot-mark{background:#111827;color:#fff}.bot-badge{position:relative;flex:none;border-radius:999px;padding:2px 7px;line-height:16px}.copy{min-width:0;flex:1}.name,.preview{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.name{font-size:14px;font-weight:560}.preview{color:var(--tertiary);font-size:12px;margin-top:1px}.preview:empty:before{content:""}.me-row{display:flex;align-items:center;gap:4px}.me{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:0;background:transparent;border-radius:10px;padding:8px;text-align:left}.lang-switch{flex:none;border:0;background:transparent;border-radius:8px;padding:6px 8px;color:var(--tertiary);font:inherit;font-size:12px}.lang-switch:hover{background:var(--hover);color:var(--ink)}.me:hover{background:var(--hover)}.me-mark{background:var(--ink);color:#fff;font-size:12px}.status{background:#fff;border-radius:14px;padding:10px 12px;margin:8px;box-shadow:var(--shadow);font-size:13px}.status p{margin:0 0 6px}.status p:last-child{margin:0}.muted{color:var(--tertiary)}.chat{display:flex;flex-direction:column;background:var(--bg)}.inbox-line{display:flex;flex-direction:column;align-items:flex-end;gap:4px;width:min(320px,86%);margin:12px 0 12px auto}.inbox-line time{color:var(--caption);font-size:12px;line-height:18px}.inbox-entry{display:flex;align-items:center;gap:10px;width:100%;border:0;background:#fff;text-align:left;border-radius:16px;box-shadow:var(--shadow);padding:10px 12px}.inbox-entry:hover{background:var(--sidebar)}.inbox-icon{width:28px;height:28px;border-radius:8px;flex:none;display:grid;place-items:center;background:#111827;color:#fff}.inbox-icon svg{width:16px;height:16px}.inbox-copy{min-width:0;display:flex;flex-direction:column}.inbox-copy strong,.inbox-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inbox-copy strong{font-size:13px;line-height:18px;font-weight:600}.inbox-copy span{color:var(--secondary);font-size:12px;line-height:18px}.bot-chat-back{display:inline;flex:none;border:0;background:transparent;padding:0;color:var(--link);font-size:13px}.bot-chat-lead{margin:8px 0 16px;color:var(--tertiary);font-size:13px;line-height:20px}.bot-out{display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:min(525px,82%);margin:18px 0 18px auto}.bot-out span,.bot-out time{color:var(--caption);font-size:12px;line-height:18px}.chat-head{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 22px}.chat-head h1{flex:1;min-width:0;margin:0;font-size:14px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.basis{margin:0;padding:0 22px 8px;color:var(--tertiary);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}button.basis{display:block;width:100%;border:0;background:transparent;text-align:left}button.basis:hover,button.basis:focus-visible{color:var(--ink)}.work-crumb{display:flex;align-items:center;gap:6px;min-width:0;margin:0;padding:0 22px 8px;color:var(--tertiary);font-size:13px;line-height:20px}.work-crumb button{flex:none;max-width:46%;border:0;background:transparent;padding:0;color:var(--link);font-size:13px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-crumb>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}.setup-mask{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:#0f111547}.setup-card{width:min(480px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:20px;padding:18px 18px 14px;box-shadow:0 0 0 .5px #0000001a,0 16px 48px #0000001f}.setup-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.setup-head h2{margin:0;font-size:16px;font-weight:560}.setup-close{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--secondary)}.setup-close:hover{background:var(--hover)}.setup-lead{margin:8px 0 0;color:var(--secondary);font-size:13px;line-height:1.45}.setup-card label{display:block;margin:14px 0 6px;font-size:13px}.setup-card textarea,.setup-card input,.setup-card select{width:100%;border:0;background:var(--sidebar);border-radius:10px;padding:8px 10px;outline:none}.setup-card textarea{resize:vertical}.setup-card input+input,.setup-card select+input{margin-top:8px}.setup-error{color:#9a3412;font-size:12px;margin:10px 0 0}.setup-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.setup-actions button{border:0;border-radius:999px;padding:8px 14px;background:var(--hover)}.setup-actions .primary{background:var(--send);color:#fff}.setup-actions .primary:disabled{opacity:.6}.chat-head a,.files-open{flex:none;border:0;background:transparent;padding:0;font-size:13px;color:var(--secondary)}.files-open[aria-pressed=true]{color:var(--link)}.work-chip{flex:none;color:var(--secondary);font-size:12px;line-height:18px;background:var(--selector);border-radius:999px;padding:2px 8px}.briefing-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:min(640px,100%);margin:18px 0}.briefing-row time{color:var(--caption);font-size:12px;line-height:18px}.briefing-card{width:100%;background:var(--code-bg);border:.5px solid var(--line);border-radius:16px}.briefing-toggle{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-height:40px;padding:10px 14px 12px;border:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.briefing-card.open .briefing-toggle{padding-bottom:0}.briefing-title{font-size:14px;line-height:20px;font-weight:600}.briefing-rev{color:var(--secondary);font-size:12px;line-height:18px;background:#fff;border-radius:999px;padding:2px 8px}.briefing-chevron{width:14px;height:14px;margin-left:auto;flex:none;color:var(--tertiary);transition:transform .3s ease}.briefing-card.open .briefing-chevron{transform:rotate(180deg)}.briefing-preview{flex:1 0 100%;margin:0;color:var(--secondary);font-size:13px;line-height:20px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.briefing-body{padding:4px 14px 12px}.briefing-body .markdown p{margin:8px 0}.briefing-facts,.briefing-note{margin:8px 0 0;color:var(--tertiary);font-size:12px;line-height:18px}.work-card{margin:14px 0 18px;padding:12px 14px;border:.5px solid var(--line);border-radius:16px;background:var(--code-bg)}.work-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-card h3{margin:0;min-width:0;font-size:14px;line-height:20px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.work-status{flex:none;color:var(--secondary);font-size:12px;line-height:18px;background:#fff;border-radius:999px;padding:2px 8px}.work-status.live{color:var(--ink)}.work-card p{margin:6px 0 0;color:var(--secondary);font-size:13px;line-height:20px}.work-card .work-question{color:var(--ink)}.work-card .stale{text-decoration:line-through;color:var(--tertiary)}.work-quiet{color:var(--tertiary)}.work-reply{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:10px}.work-reply label{display:flex;flex-direction:column;gap:6px;width:100%}.work-reply span{color:var(--tertiary);font-size:12px;line-height:18px}.work-reply textarea{width:100%;resize:vertical;min-height:56px;border:.5px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px;outline:none}.work-reply button{border:0;border-radius:999px;background:var(--send);color:#fff;padding:6px 12px;font-size:13px;line-height:20px}.work-reply button:disabled{opacity:.45}.work-open{margin-top:8px;border:0;background:transparent;padding:0;color:var(--link);font-size:13px;line-height:20px}.work-card .work-error{color:#9a3412}.work-refused{margin:8px 0 14px;color:#9a3412;font-size:13px;line-height:20px}.work-note{margin:4px 0 12px;color:var(--secondary);font-size:13px;line-height:20px}.user-question-card{margin:14px 0 18px;padding:14px 16px;min-width:0;border:.5px solid var(--line);border-radius:16px;background:var(--code-bg)}.user-question+.user-question{margin-top:16px;padding-top:16px;border-top:.5px solid var(--line)}.user-question-header{margin:0 0 6px;font-size:13px;line-height:20px;font-weight:600;color:var(--secondary)}.user-question-text{margin:0;font-size:15px;line-height:24px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}.user-question-hint,.user-question-status{margin:8px 0 0;font-size:13px;line-height:20px;color:var(--secondary)}.user-question-status.exception{color:#9a3412}.user-question-options{display:flex;flex-direction:column;gap:8px;margin:12px 0 0;padding:0;list-style:none}.user-question-option{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0;margin:0;padding:10px 12px;border:.5px solid var(--line);border-radius:12px;background:#fff;box-sizing:border-box;text-align:left;font:inherit;color:inherit}button.user-question-option{cursor:pointer}button.user-question-option:hover:not(:disabled),button.user-question-option:focus-visible{border-color:var(--ink)}button.user-question-option:disabled{cursor:default;opacity:.7}.user-question-option.selected{border-color:var(--ink)}.user-question-actions{display:flex;flex-direction:column;gap:8px;margin-top:10px}.user-question-custom{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:20px;color:var(--secondary)}.user-question-custom textarea{width:100%;min-width:0;box-sizing:border-box;resize:vertical;padding:8px 10px;border:.5px solid var(--line);border-radius:10px;font:inherit;color:var(--ink)}.user-question-skip,.user-question-submit{align-self:flex-start;margin-top:4px;padding:6px 12px;border:.5px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:13px;line-height:20px;color:var(--ink);cursor:pointer}.user-question-submit{margin-top:12px}.user-question-option-label{font-size:14px;line-height:22px;color:var(--ink);overflow-wrap:anywhere}.user-question-option-desc{font-size:13px;line-height:20px;color:var(--secondary);overflow-wrap:anywhere}.user-question-badge{display:inline-block;margin-left:6px;padding:0 6px;border-radius:999px;background:var(--line);font-size:11px;line-height:18px;font-weight:600;color:var(--secondary);vertical-align:middle}.user-question-wait,.user-question-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.user-question-plan{margin-top:10px;min-width:0;overflow:auto}.user-question-secret{margin:8px 0 0;letter-spacing:.2em;color:var(--secondary)}.user-question-secret-input{width:100%;min-width:0;box-sizing:border-box;padding:8px 10px;border:.5px solid var(--line);border-radius:10px;font:inherit;color:transparent;text-shadow:0 0 0 var(--ink);-webkit-text-security:disc}.settings-drawer{position:fixed;inset:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}.settings-drawer-mask{position:absolute;inset:0;pointer-events:auto;background:#0f111547;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.settings-drawer-sheet{position:relative;z-index:1;pointer-events:auto;display:flex;flex-direction:column;width:min(748px,100%);max-width:100%;max-height:min(90vh,100dvh);padding-bottom:env(safe-area-inset-bottom,0px);border-radius:20px 20px 0 0;background:#fff;box-shadow:var(--shadow);overflow:hidden;animation:settings-drawer-up .22s ease-out}.settings-drawer-handle{width:36px;height:4px;margin:8px auto 0;border-radius:999px;background:var(--line);flex:none}.settings-drawer-body{min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;padding:0 16px 16px}@keyframes settings-drawer-up{0%{transform:translateY(16px);opacity:.64}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.settings-drawer-sheet{animation:none}}@media(max-width:800px){.settings-drawer-sheet{width:100%;border-radius:16px 16px 0 0}}.settings-head,.settings-confirm{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.settings-head{flex:none;padding:8px 16px}.settings-head h3{margin:0;font-size:15px;line-height:24px}button.chip{cursor:pointer;font:inherit}.back{display:none;border:0;background:transparent;padding:0;color:var(--link)}.scroll{flex:1;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 28px 12px;scrollbar-width:thin;scrollbar-color:#e5e5e5 transparent}.scroll::-webkit-scrollbar{width:5px;height:5px}.scroll::-webkit-scrollbar-track{margin-block:2px;background:transparent}.scroll::-webkit-scrollbar-thumb{background:#e5e5e5;background-clip:content-box;border-radius:999px}.scroll::-webkit-scrollbar-thumb:hover{background:#d4d4d4}.scroll::-webkit-scrollbar-corner{background:transparent}.chat-body{position:relative;flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;container-type:inline-size}.turn-rail{position:absolute;z-index:4;top:50%;right:14px;width:28px;max-height:min(420px,calc(100% - 48px));transform:translateY(-50%);overflow-y:auto;scrollbar-width:none}.turn-rail::-webkit-scrollbar{display:none}.turn-rail.fade-top{-webkit-mask-image:linear-gradient(transparent 0,#000 24px 100%);mask-image:linear-gradient(transparent 0,#000 24px 100%)}.turn-rail.fade-bottom{-webkit-mask-image:linear-gradient(#000 0 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(#000 0 calc(100% - 24px),transparent 100%)}.turn-rail.fade-top.fade-bottom{-webkit-mask-image:linear-gradient(transparent 0,#000 24px calc(100% - 24px),transparent 100%);mask-image:linear-gradient(transparent 0,#000 24px calc(100% - 24px),transparent 100%)}.turn-mark{display:block;width:28px;height:10px;padding:0;border:0;border-radius:8px;background:transparent;position:relative}.turn-mark:before{content:"";position:absolute;top:50%;right:0;width:20px;height:2px;border-radius:2px;background:#00000029;transform-origin:100% 50%;transform:translateY(-50%) scaleX(.6);transition:transform .14s,background-color .14s}.turn-mark.preview:before{background:var(--tertiary);transform:translateY(-50%) scaleX(.9)}.turn-mark.active:before{background:var(--ink);transform:translateY(-50%) scaleX(1)}.turn-mark.busy:before{animation:turn-mark-busy 1s ease-in-out infinite}.turn-mark:focus-visible{outline:none}.turn-mark:focus-visible:before{background:var(--send);transform:translateY(-50%) scaleX(1)}@keyframes turn-mark-busy{50%{opacity:.35}}@container (max-width: 800px){.turn-rail{display:none}}@media(prefers-reduced-motion:reduce){.turn-mark:before,.turn-mark.busy:before,.chunk-loading,.chunk-progress-fill,.chunk-progress-fill.indeterminate{transition:none;animation:none}}.column{width:min(748px,100%);max-width:100%;min-width:0;margin:0 auto}.empty-thread{text-align:center;color:var(--tertiary);margin:48px 0}.chunk-loading{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0;transform:translateY(8px);background:#ffffff8c;transition:opacity .28s ease,transform .28s ease}.chunk-loading.visible{opacity:1;transform:none}.chunk-loading-card{display:flex;flex-direction:column;align-items:center;gap:10px;width:min(240px,72%);padding:16px 20px 14px;border-radius:16px;background:#ffffffe0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--shadow)}.chunk-loading p{margin:0;text-align:center}.chunk-progress-track{position:relative;width:100%;height:3px;border-radius:999px;background:var(--selected);overflow:hidden}.chunk-progress-fill{height:100%;border-radius:inherit;background:var(--send);transition:width .18s ease}.chunk-progress-fill.indeterminate{position:absolute;left:0;top:0;width:40%;animation:chunk-indeterminate 1.1s ease-in-out infinite}@keyframes chunk-indeterminate{0%{transform:translate(-120%)}to{transform:translate(280%)}}.user-row{display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:min(525px,82%);min-width:0;margin:18px 0 18px auto}.user-bubble{max-width:100%;background:var(--bubble);border-radius:var(--dsw-radius-xl);padding:10px 16px;font-size:14px;line-height:22px;white-space:pre-wrap;word-break:break-word}.user-row time{color:var(--caption);font-size:12px;line-height:18px}.mail-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:min(640px,100%);margin:18px 0}.mail-row time{color:var(--caption);font-size:12px;line-height:18px}.mail-card{width:100%;background:#fff;border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.mail-head{display:flex;align-items:center;gap:10px;padding:14px 16px 0}.mail-who{min-width:0;display:flex;flex-direction:column}.mail-who strong{font-size:14px;line-height:20px;font-weight:600}.mail-who span{color:var(--tertiary);font-size:12px;line-height:18px}.mail-hop{margin-left:auto;flex:none;color:var(--secondary);font-size:12px;line-height:18px;background:var(--selector);border-radius:999px;padding:2px 8px}.mail-body{padding:10px 16px 0}.mail-body .markdown p{margin:10px 0}.mail-note{margin:8px 0 0;padding:0 16px;color:var(--tertiary);font-size:12px;line-height:18px}.mail-details{padding:6px 16px 14px}.mail-details summary{color:var(--tertiary);font-size:12px;line-height:18px;cursor:pointer}.mail-details pre{margin:8px 0 0;color:var(--secondary);white-space:pre-wrap;word-break:break-all;font:11px / 18px var(--ds-font-family-code)}.assistant{margin:8px 0 20px;min-width:0}.live-status{margin:8px 0 16px;font-size:13px;line-height:20px}.shimmer{background-image:linear-gradient(90deg,var(--secondary) 0%,var(--ink) 42%,var(--secondary) 84%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:sheen 1.3s linear infinite}@keyframes sheen{0%{background-position:100% 0}to{background-position:-100% 0}}.markdown.streaming>:last-child:after,.assistant.streaming .markdown>:last-child:after{content:"";display:inline-block;width:7px;height:14px;margin-left:3px;vertical-align:text-bottom;border-radius:1px;background:var(--send);animation:caret 1s steps(1) infinite}@keyframes caret{50%{opacity:0}}.duration{font-family:var(--ds-font-family-code);font-variant-numeric:tabular-nums}.coll-container{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}.coll-container>div{overflow:hidden}.coll-container.expand{grid-template-rows:1fr}@media(prefers-reduced-motion:reduce){.coll-container{transition:none}}.turn-failure{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:4px 0 16px}.turn-failed-label{margin:0;color:#d1242f;font-size:14px;line-height:24px}.retry-row{color:var(--tertiary);font-size:13px;line-height:20px}.retry-row summary{cursor:pointer}.retry-row p{margin:2px 0 2px 16px}.turn-error{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:0;color:#d1242f;font-size:14px;line-height:22px}.turn-error-title{font-weight:600}.turn-error code{color:var(--tertiary);font-size:12px}.retry-turn{height:28px;padding:0 12px;border:.5px solid rgba(0,0,0,.16);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:13px;cursor:pointer}.retry-turn:disabled{color:var(--tertiary);cursor:default}.activity-group{margin:2px 0 8px}.activity-group .official-leading svg:not(.chevron){color:var(--tertiary)}.activity-body{margin-left:16px}.official-row{min-width:0}.official-title{display:flex;align-items:center;gap:6px;width:100%;min-width:0;min-height:24px;padding:0;border:0;background:none;color:var(--tertiary);font:inherit;font-size:14px;line-height:24px;text-align:left;cursor:pointer}.official-title:disabled{cursor:default}.official-title:hover{color:var(--secondary)}.official-leading{display:grid;place-items:center;width:16px;height:24px;flex:none}.official-leading svg{grid-area:1 / 1;width:14px;height:14px;transform-origin:center}.official-leading .chevron{opacity:0}.official-title:hover .chevron,.official-row.open>.official-title .chevron{opacity:1}.official-title:hover .official-leading svg:not(.chevron),.official-row.open>.official-title .official-leading svg:not(.chevron){opacity:0}.official-label{flex:none;min-width:0;line-height:inherit}.official-dot{width:2px;height:2px;border-radius:1px;background:var(--caption);flex:none}.official-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:20px}.official-summary.streaming{-webkit-mask-image:linear-gradient(to right,black calc(100% - 48px),transparent);mask-image:linear-gradient(to right,black calc(100% - 48px),transparent)}.official-size{flex:none;color:var(--caption);font-size:12px}.diff-counts{display:inline-flex;gap:6px;flex:none;font-family:var(--ds-font-family-code);font-size:12px}.diff-plus{color:#22c55e}.diff-minus{color:#ec1313}.think-body{margin:4px 0 8px 22px;color:var(--secondary);font-size:13px;line-height:20px;white-space:pre-wrap;word-break:break-word}.diff-card{margin:8px 0 8px 22px;max-width:100%;min-width:0;background:#f9fafb;border-radius:16px;overflow:hidden;color:var(--ink)}.diff-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px 8px 22px;color:var(--tertiary);font:11px / 18px var(--dsw-font-family)}.diff-heading{display:flex;align-items:baseline;gap:12px;min-width:0}.diff-lang{font-family:var(--ds-font-family-code);flex:none}.diff-file{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diff-copy{width:24px;height:24px;border:0;border-radius:8px;background:transparent;color:var(--secondary);display:grid;place-items:center;padding:0}.diff-copy svg{width:14px;height:14px}.diff-copy:hover{background:#2631480f}.diff-body{display:grid;grid-template-columns:minmax(0,1fr);max-width:100%;min-width:0;padding:6px 0 16px;font:11px / 19px var(--ds-font-family-code);overflow-x:auto}.diff-line{display:block;width:auto;height:auto;min-height:1lh;padding:0 22px;border:0;border-radius:0;background:transparent;white-space:pre}.diff-line:before{display:inline}.diff-line.added{color:#22c55e;background:#22c55e14;box-shadow:inset 3px 0 #22c55e}.diff-line.added:before{content:"+ "}.diff-line.removed{color:#ec1313;background:#ec131314;box-shadow:inset 3px 0 #ec1313}.diff-line.removed:before{content:"- "}.diff-line.same{color:var(--secondary)}.diff-line.same:before{content:" "}.diff-output{margin:0;padding:6px 22px 16px;white-space:pre-wrap;overflow-wrap:anywhere;font:11px / 19px var(--ds-font-family-code)}.markdown{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:24px;color:var(--ink)}.markdown>:first-child{margin-top:0}.markdown>:last-child{margin-bottom:0}.markdown strong{font-weight:600}.markdown h1{font-size:21px;line-height:30px;font-weight:700;margin:32px 0 16px}.markdown h2{font-size:19px;line-height:28px;font-weight:700;margin:32px 0 16px}.markdown h3{font-size:18px;line-height:26px;font-weight:700;margin:32px 0 16px}.markdown h4{font-size:14px;line-height:24px;font-weight:600;margin:16px 0}.markdown p{margin:16px 0}.markdown a,.file-mention{color:var(--link);font-weight:500}.markdown a:hover,.file-mention:hover,.file-mention:focus-visible{text-decoration:underline dotted var(--link);text-underline-offset:3px}.file-mention{margin:0;padding:0;border:0;background:none;font:inherit;font-weight:500;color:var(--link);cursor:pointer;text-align:inherit}.file-mention:focus{outline:none}.markdown ul,.markdown ol{margin:16px 0;padding-left:18px}.markdown li:not(:first-child){margin-top:6px}.markdown li::marker{color:var(--secondary)}.markdown li>p{margin:8px 0}.markdown hr{border:0;height:.5px;margin:32px 0;background:var(--line)}.markdown blockquote{border-left:2px solid var(--caption);margin:16px 0 0;padding-left:14px}.markdown :not(pre)>code{font-family:var(--ds-font-family-code);font-size:.875em;background:var(--inline-code);border:.5px solid rgba(0,0,0,.04);border-radius:var(--dsw-radius-sm);padding:0 5px;overflow-wrap:anywhere;word-break:break-word}.markdown img{max-width:100%;height:auto}.table-scroll{max-width:100%;min-width:0;overflow-x:auto;margin:16px 0}.table-scroll table{border-collapse:collapse;width:100%}.table-scroll th,.table-scroll td{text-align:start;padding:10px 16px;vertical-align:top;font-size:13px;line-height:22px;max-width:min(30vw,320px);min-width:88px}.table-scroll th{font-weight:500;border-bottom:.5px solid var(--line-strong)}.table-scroll td{border-bottom:.5px solid var(--line)}.table-scroll th:first-child,.table-scroll td:first-child{padding-left:0}.table-scroll td:last-child,.table-scroll th:last-child{padding-right:0}.code-block{margin:16px 0;max-width:100%;min-width:0;background:var(--code-bg);border-radius:var(--dsw-radius-lg);color:var(--ink)}.code-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px 8px 22px;font-size:11px;line-height:18px;color:var(--tertiary);border-top-left-radius:inherit;border-top-right-radius:inherit}.code-lang{font-family:var(--ds-font-family-code)}.code-copy{border:0;background:transparent;padding:0;color:var(--secondary);font-size:11px}.code-block pre{margin:0;padding:6px 22px 20px;overflow-x:auto;font:11px / 19px var(--ds-font-family-code);white-space:pre-wrap;overflow-wrap:anywhere;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.code-block code{font:inherit;background:none;padding:0;border:0}.composer-wrap{min-width:0;padding:0 28px 10px}.card{position:relative;display:flex;flex-direction:column;gap:12px;padding-top:8px;border-radius:var(--dsw-radius-panel);background:#fff;box-shadow:var(--shadow)}.mention-menu{position:absolute;left:8px;right:8px;bottom:calc(100% + 8px);z-index:5;padding:6px;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.mention-menu button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:8px 10px;font-size:13px;line-height:20px}.mention-menu button.active,.mention-menu button:hover{background:var(--hover)}.mention-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-empty{margin:2px 10px 6px;color:var(--tertiary);font-size:12px;line-height:18px}.card textarea{width:100%;border:0;resize:none;outline:none;background:transparent;min-height:36px;max-height:160px;padding:4px 14px 0;line-height:24px;font-size:14px}.card-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 8px 8px}.tools,.trailing{display:flex;align-items:center;gap:12px;min-width:0}.tools{position:relative}.plus-menu{position:absolute;left:0;bottom:calc(100% + 10px);z-index:4;width:240px;padding:6px;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.plus-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:8px 10px;font-size:13px;line-height:20px}.plus-menu button:hover{background:var(--hover)}.plus-note{margin:2px 10px 6px;color:var(--tertiary);font-size:12px;line-height:18px}.trailing{margin-left:auto}.chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 4px;color:var(--secondary);font-size:13px;font-weight:500;white-space:nowrap}.chip svg{width:16px;height:16px;flex:none}.model{color:var(--secondary);font-size:13px;font-weight:500;white-space:nowrap}.add{background:var(--selector)}.add:disabled{opacity:.5}.send,.stop{width:34px;height:34px;border:0;border-radius:999px;display:grid;place-items:center;color:#fff}.send{background:var(--send)}.send:hover:not(:disabled){background:var(--send-hover)}.send:disabled{opacity:.4}.stop{background:var(--ink)}.stop-icon{width:10px;height:10px;border-radius:2px;background:#fff}.stats{min-height:20px;margin:6px 8px 0;color:var(--caption);font-size:12px;line-height:20px;text-align:center}.file-modal-note{margin:0;padding:8px 24px 24px;color:var(--secondary);font-size:14px}@media(max-width:800px){.shell{grid-template-columns:1fr}.shell.in-chat .side{display:none}.shell:not(.in-chat) .chat{display:none}.back{display:inline}.scroll,.composer-wrap{padding-left:16px;padding-right:16px}}.activity-status{font-size:11px;line-height:24px;opacity:.75;flex-shrink:0;white-space:normal}.tool-activity .official-title{flex-wrap:wrap;align-items:flex-start}.tool-activity .official-label{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}.tool-activity.open>.official-title .chevron,.activity-arguments.open>.official-title .chevron{transform:rotate(180deg)}.activity-arguments{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:4px}.activity-arguments>.official-title{grid-column:1;grid-row:1;min-width:0;min-height:24px;font-size:12px;line-height:24px;align-items:flex-start}.activity-arguments>.diff-copy{grid-column:2;grid-row:1}.activity-arguments>.activity-panel{grid-column:1 / -1;min-width:0}.activity-block-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;color:var(--tertiary);font-size:12px;line-height:24px;font-weight:500}.activity-detail{margin:6px 0 12px 28px;min-width:0}.activity-detail pre{overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%;max-height:none;font-size:12px;padding:8px;background:var(--bg-secondary, #8881);border-radius:6px}.activity-command,.activity-output,.activity-arguments{position:relative;min-width:0}.activity-command .diff-copy{float:right;position:relative}.activity-facts,.activity-note{font-size:12px;opacity:.75;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}.activity-todos{font-size:13px;padding-left:20px;overflow-wrap:anywhere}.activity-todos span{font-size:11px;opacity:.7}.tool-activity .diff-card{overflow:visible;min-width:0}.tool-activity .diff-body{grid-template-columns:minmax(0,1fr);overflow:visible;min-width:0}.tool-activity .diff-line{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;min-width:0}.tool-activity[data-state=failed]>.official-title{color:var(--danger, #c33)}@media(max-width:600px){.activity-status{width:100%;padding-left:28px}.activity-detail{margin-left:12px}}.composer-activity{display:flex;align-items:center;gap:8px;min-width:0;margin:0 10px 8px;color:#8d8d93;font-size:13px}.composer-activity svg{width:14px;height:14px;flex:0 0 14px}.composer-activity-text{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@supports (background-clip: text){.composer-activity[data-moving=true] .composer-activity-text{background:linear-gradient(110deg,#8d8d93 30%,#fafafa,#8d8d93 62%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:composer-sweep 2.8s ease-in-out infinite}}@keyframes composer-sweep{0%{background-position:180% 0}to{background-position:-80% 0}}@media(prefers-reduced-motion:reduce){.composer-activity[data-moving=true] .composer-activity-text{animation:none;background:none;color:#8d8d93}}.image-preview-trigger{position:relative;display:inline-flex;vertical-align:top;max-width:min(100%,32rem);padding:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:transparent;cursor:zoom-in}.markdown .image-preview-thumbnail{display:block;width:auto;height:auto;max-width:100%;max-height:min(20rem,40vh);object-fit:contain}.image-preview-hint{position:absolute;bottom:4px;left:4px;right:4px;padding:3px 6px;border-radius:4px;background:#000b;color:#fff;font-size:11px;line-height:1.4;text-align:center}.image-preview-linked{display:inline-flex;flex-direction:column;align-items:flex-start;max-width:100%;gap:4px}.image-lightbox{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px;background:#000c;overscroll-behavior:contain}.image-lightbox-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(100%,96rem);height:100%;max-height:calc(100dvh - 32px);min-width:0;min-height:0;overflow:hidden;border-radius:10px;color:#fff;background:#171717}.image-lightbox-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px}.image-lightbox-name{flex:1 1 8rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-lightbox-toolbar button{flex-shrink:0;border:1px solid #888;border-radius:6px;padding:7px 10px;background:#333;color:#fff;cursor:pointer}.image-lightbox-stage{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}.image-lightbox-stage img{display:block;flex:0 1 auto;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.image-lightbox-stage.original{display:block}.image-lightbox-stage.original img{max-width:none;max-height:none}.image-preview-trigger:focus-visible,.image-lightbox button:focus-visible,.image-lightbox-stage:focus-visible{outline:2px solid #66bfff;outline-offset:2px}@media(max-width:600px){.image-lightbox{padding:6px}.image-lightbox-dialog{max-height:calc(100dvh - 12px)}.markdown .image-preview-thumbnail{max-height:min(16rem,35vh)}}.image-unavailable{display:inline-flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--secondary);overflow-wrap:anywhere}.image-unavailable button{padding:5px 10px;border:1px solid var(--line-strong);border-radius:6px;background:var(--bg);color:var(--ink)}.files-drawer{position:fixed;top:0;right:0;bottom:0;z-index:30;display:flex;flex-direction:column;box-sizing:border-box;width:420px;max-width:100%;padding-left:14px;background:#fff;border-left:1px solid var(--line);box-shadow:-12px 0 40px #0f111514;overflow:hidden}.files-drawer-in{animation:files-drawer-in .35s cubic-bezier(.16,1,.3,1)}.files-drawer-out{animation:files-drawer-out .28s cubic-bezier(.4,0,1,1) forwards}@keyframes files-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes files-drawer-out{0%{transform:translate(0)}to{transform:translate(100%)}}.files-drawer.narrow{width:100%;padding-left:0;border-left:0}.files-resize{position:absolute;z-index:5;top:0;bottom:0;left:0;width:14px;padding:0;border:0;background:transparent;cursor:col-resize;touch-action:none}.files-resize:after{content:"";position:absolute;top:50%;left:50%;width:5px;height:36px;border-radius:999px;background:#3c3c434d;transform:translate(-50%,-50%);transition:background .15s ease,height .15s ease}.files-resize:hover:after,.files-drawer.resizing .files-resize:after{height:44px;background:var(--link)}.monaco-editor .files-current-line{background:#58a6ff2e}@media(prefers-reduced-motion:reduce){.files-drawer-in,.files-drawer-out,.files-stage,.files-stage.out{animation:none}}.files-preview-bar,.files-confirm-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.files-head{display:flex;align-items:center;gap:2px;min-width:0;padding:8px 10px 6px 8px}.files-drawer.narrow .files-head{padding-left:12px}.files-roots{display:flex;gap:2px;flex:none}.files-head .files-icon-btn,.files-row-actions button,.files-preview-bar button,.files-confirm-actions button{border:0;background:transparent;color:var(--secondary);border-radius:8px}.files-row-actions button,.files-preview-bar button,.files-confirm-actions button{padding:4px 8px}.files-head .files-icon-btn{width:28px;height:28px;padding:0;display:grid;place-items:center;flex:none}.files-head .files-icon-btn svg{width:16px;height:16px}.files-head .files-icon-btn:hover:not(:disabled){background:var(--hover);color:var(--ink)}.files-roots button[aria-selected=true]{background:var(--selected);color:var(--ink)}.files-head .files-icon-btn:disabled{opacity:.35}.files-upload{margin-left:auto}.files-crumbs{display:flex;flex:1 1 auto;align-items:center;gap:2px;height:28px;min-width:0;padding:0 4px;overflow:hidden;color:var(--tertiary);font-size:12px;line-height:1}.files-crumbs>span{display:inline-flex;align-items:center;height:28px;min-width:0}.files-crumb-copy{width:22px;height:22px;margin-left:2px}.files-crumb-copy svg{width:13px;height:13px}.files-crumbs button,.files-crumb-current{display:inline-flex;align-items:center;height:28px;border:0;background:transparent;padding:0 2px;color:var(--secondary);font-size:12px;line-height:1;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-crumb-current{color:var(--ink)}.files-notice,.files-status,.files-confirm-dest{margin:0;padding:0 18px 8px;color:var(--secondary);font-size:13px;line-height:1.4}.files-body{min-height:0;flex:auto;display:flex;flex-direction:column;overflow:auto}.files-stage{display:flex;flex-direction:column;min-width:0}.files-stage:has(.files-empty){flex:1 1 auto;min-height:0}.files-empty{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:240px;padding:24px 24px 12vh;text-align:center}.files-empty-mark{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:var(--sidebar);color:var(--tertiary)}.files-empty-mark svg{width:26px;height:26px}.files-empty p{margin:0;color:var(--secondary);font-size:13px;line-height:1.4}.files-stage.in{animation:files-fade-in .22s ease}.files-stage.out{animation:files-fade-out .2s ease forwards;pointer-events:none}@keyframes files-fade-out{0%{opacity:1}to{opacity:0}}@keyframes files-fade-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.files-stage.in,.files-stage.out{animation:none}}.files-crumbs button:hover{color:var(--ink)}.files-table{min-width:0}.files-row{display:grid;grid-template-columns:minmax(0,1.4fr) 72px 64px 88px 72px;gap:8px;align-items:center;padding:0 14px 0 10px;border-top:1px solid transparent}.files-columns{color:var(--tertiary);font-size:12px;padding-top:4px;padding-bottom:4px}.files-row:not(.files-columns):hover{background:var(--hover)}.files-name{display:flex;align-items:center;gap:8px;min-width:0;border:0;background:transparent;padding:8px;text-align:left}.files-name span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-mark{width:16px;flex:none;color:var(--tertiary);text-align:center}.files-mark.dir{color:var(--link)}.files-col-type,.files-col-size,.files-col-time,.files-row-actions{color:var(--secondary);font-size:12px}.files-col-size,.files-col-time{font-family:var(--ds-font-family-code);text-align:right}.files-row-actions{display:flex;justify-content:flex-end;gap:2px;white-space:nowrap}.files-drop{margin:0 18px 8px;padding:18px;border:1px dashed var(--line-strong);border-radius:12px;color:var(--secondary);text-align:center}.files-preview{display:flex;flex-direction:column;min-height:100%}.files-preview-bar{flex-wrap:wrap;justify-content:flex-end;padding:0 10px 6px 12px}.files-preview-bar>span{display:flex;flex-wrap:wrap;align-items:center;gap:2px;flex:none}.files-preview-bar .files-action,.files-row-actions .files-action{display:inline-flex;align-items:center;gap:3px;padding:2px 6px;border-radius:6px;color:var(--secondary);font-size:12px;line-height:16px;text-decoration:none}.files-preview-bar .files-action svg,.files-row-actions .files-action svg{width:12px;height:12px;flex:none}.files-preview-bar .files-action:hover,.files-row-actions .files-action:hover{background:var(--hover);color:var(--ink)}.files-preview-bar [role=group]{display:inline-flex;align-items:center;gap:2px}.files-preview-bar .files-action[aria-pressed=true]{background:var(--selected);color:var(--ink)}.files-markdown{padding:4px 22px 28px;max-width:76ch}.files-body:has(.files-monaco),.files-stage:has(.files-monaco){flex:1 1 auto;min-height:0;overflow:hidden}.files-preview:has(.files-monaco){flex:1 1 auto;min-height:0}.files-monaco{flex:1 1 auto;min-height:0}.files-image{display:flex;align-items:center;justify-content:center;min-height:0;padding:12px 18px 24px}.files-image img{max-width:100%;max-height:70vh;object-fit:contain}.files-confirm{flex:none;margin:8px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--sidebar)}.files-confirm p{margin:0 0 8px}.files-confirm-name{display:flex;justify-content:space-between;gap:8px}.files-confirm-dest{padding:0 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-check{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:13px}.files-progress{position:relative;height:22px;margin:0 0 8px;overflow:hidden;border-radius:999px;background:#fff}.files-progress div{height:100%;background:var(--bubble)}.files-progress span{position:absolute;inset:0;display:grid;place-items:center;font-size:12px;color:var(--secondary)}.files-confirm-actions{justify-content:flex-end}.files-confirm-actions .primary{background:var(--send);color:#fff}.files-confirm-actions .primary:disabled{opacity:.6}.memory-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 14px 8px 18px}.memory-search,.memory-bar select{height:28px;border:0;border-radius:8px;background-color:var(--sidebar);font-family:inherit;font-size:12px;line-height:28px}.memory-search{flex:1 1 120px;min-width:0;padding:0 10px;color:var(--ink)}.memory-search::placeholder{color:var(--caption)}.memory-bar select{flex:0 0 auto;max-width:none;padding:0 22px 0 8px;color:var(--secondary);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%2381858c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center;background-size:10px 10px}.memory-note,.memory-readonly,.memory-cite-reason,.memory-body-note{margin:0;color:var(--tertiary);font-size:12px;line-height:18px}.memory-note{padding:0 18px 8px}.memory-readonly{margin:8px 18px 16px}.memory-error{color:#9a3412}.files-row.memory-row{grid-template-columns:minmax(0,1fr) max-content max-content max-content;column-gap:16px}.memory-row .files-name{font-size:13px;line-height:20px;color:var(--ink)}.memory-row .files-col-type,.memory-row .files-col-size,.memory-row .files-col-time{font-family:inherit;font-size:12px;line-height:16px;color:var(--secondary);text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}.memory-row .files-col-time{color:var(--tertiary);text-align:right}.memory-row.files-columns .files-col-type,.memory-row.files-columns .files-col-size,.memory-row.files-columns .files-col-time{color:var(--tertiary)}.memory-mark{display:grid;place-items:center;width:16px;height:16px;color:var(--tertiary)}.memory-mark svg{width:16px;height:16px}.memory-doc h5,.memory-chain h5,.memory-changes h5,.memory-source h5{margin:16px 0 6px;color:var(--tertiary);font-size:12px;font-weight:560;line-height:16px}.memory-doc .files-preview-bar{color:var(--secondary);font-size:12px;line-height:16px}.memory-doc .files-markdown{font-size:14px;line-height:22px;color:var(--ink)}.memory-persona-title{margin:0;color:var(--ink);font-size:16px;font-weight:560;line-height:24px}.memory-version,.memory-excerpt,.memory-skill-summary,.memory-skill-load,.memory-skill-file,.memory-priority,.memory-participants,.memory-note-line{margin:4px 0 0;color:var(--secondary);font-size:13px;line-height:20px}.memory-doc-profile .memory-attributes{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 12px;margin:0}.memory-attributes div{display:contents}.memory-attributes dt{color:var(--tertiary);font-size:12px;line-height:22px}.memory-attributes dd{margin:0}.memory-proposition,.memory-scene,.memory-steps,.memory-goal,.memory-next,.memory-blockers{font-size:14px;line-height:22px;color:var(--ink)}.memory-proposition{margin:0}.memory-episode time{display:block;color:var(--tertiary);font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}.memory-steps{margin:0;padding-left:1.2em}.memory-goal,.memory-next,.memory-blockers{margin:0 0 8px}.memory-goal span,.memory-next span,.memory-blockers span{display:block;margin-bottom:2px;color:var(--tertiary);font-size:12px;line-height:16px}.memory-blockers ul{margin:2px 0 0;padding-left:1.1em}.memory-doc-skill .memory-skill-name{margin:0;color:var(--ink);font-family:var(--ds-font-family-code);font-size:13px;line-height:20px}.memory-cite{border:1px solid var(--line);border-radius:999px;padding:0 6px;color:var(--secondary);font-size:12px;line-height:18px}.memory-tombstone{margin:0;color:var(--tertiary)}.memory-body{margin:8px 0 0;padding:8px 0;white-space:pre-wrap;background:transparent;font:inherit}.memory-source p,.memory-chain,.memory-changes{margin:0;color:var(--secondary);font-size:13px;line-height:20px}.memory-chain button,.memory-more{border:0;background:transparent;padding:0;color:var(--link);font:inherit}.memory-more{margin:10px 18px;font-size:13px}.memory-cite-reason,.memory-body-note{margin-top:8px}@media(max-width:800px){.files-col-type,.files-col-time{display:none}.files-row{grid-template-columns:minmax(0,1fr) 64px 72px}.files-row.memory-row{grid-template-columns:minmax(0,1fr) 72px}}
|