pindeck 0.0.0-stage → 2.8.1

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.
@@ -0,0 +1,281 @@
1
+ :root {
2
+ --orange: #ED8C01;
3
+ --orange-soft: #FDF0DC;
4
+ --ink: #1f2328;
5
+ --muted: #6b7078;
6
+ --line: #e2e4e8;
7
+ --bg: #f6f7f9;
8
+ --panel: #ffffff;
9
+ --stage: #2a2c30;
10
+ --danger: #c4372b;
11
+ --ok: #2f7d4f;
12
+ --radius: 8px;
13
+ font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
14
+ color: var(--ink);
15
+ }
16
+ * { box-sizing: border-box; }
17
+ [hidden] { display: none !important; }
18
+ html, body { height: 100%; margin: 0; background: var(--bg); }
19
+ button { white-space: nowrap; font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
20
+ padding: 5px 10px; cursor: pointer; }
21
+ button:hover { border-color: #c9ccd2; background: #fafbfc; }
22
+ button:disabled { opacity: .5; cursor: default; }
23
+ button.small { padding: 2px 8px; font-size: 12.5px; }
24
+ button.icon { width: 30px; padding: 3px 0; font-size: 18px; line-height: 1; }
25
+ button.primary { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }
26
+ button.primary:hover { background: #d97f00; }
27
+ button.danger { background: var(--danger); border-color: var(--danger); color: #fff; font-weight: 600; }
28
+ kbd { font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid var(--line); border-bottom-width: 2px;
29
+ border-radius: 4px; padding: 1px 4px; background: #fff; color: var(--muted); }
30
+ code { font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: #f0f1f3; padding: 1px 4px; border-radius: 4px; }
31
+ .muted { color: var(--muted); font-weight: 400; }
32
+ .brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; letter-spacing: -.01em; }
33
+ .brand-pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange);
34
+ box-shadow: inset 0 0 0 4px var(--orange), inset 0 0 0 7px #fff; }
35
+
36
+ .app { display: grid; grid-template-columns: 220px minmax(0, 1fr) 400px; height: 100vh; }
37
+ .pane-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 44px;
38
+ padding: 0 14px; font-weight: 600; border-bottom: 1px solid var(--line); background: var(--panel); flex: none; }
39
+
40
+ /* ---- Slides list ---- */
41
+ .slides-pane { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--panel); }
42
+ .slide-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; }
43
+ .slide-list li { display: grid; grid-template-columns: 24px 1fr auto; gap: 6px; align-items: start; padding: 7px 8px;
44
+ border-radius: 6px; cursor: pointer; border: 1px solid transparent; }
45
+ .slide-list li:hover { background: var(--bg); }
46
+ .slide-list li.active { background: var(--orange-soft); border-color: #f5d6a8; }
47
+ .slide-list .num { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; padding-top: 1px; font-size: 12.5px; }
48
+ .slide-list .t { font-weight: 600; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
49
+ .slide-list .s { color: var(--muted); font-size: 12px; line-height: 1.3; }
50
+ .slide-list .kind { display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em;
51
+ color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; margin-top: 3px; }
52
+ .slide-list .badge { background: var(--orange); color: #fff; border-radius: 9px; font-size: 11px; font-weight: 700;
53
+ min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px; }
54
+
55
+ /* ---- Canvas ---- */
56
+ .canvas-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; container-type: inline-size; }
57
+ /* a narrow canvas: the tool buttons wrap onto a second row rather than slide over the slide counter */
58
+ .toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px;
59
+ min-height: 44px; padding: 5px 12px; background: var(--panel); border-bottom: 1px solid var(--line); flex: none; }
60
+ .toolbar .group { display: flex; align-items: center; gap: 6px; min-width: 0; flex: none; }
61
+ .toolbar .group:first-child { flex: 1 1 auto; }
62
+ .toolbar .group:first-child > :not(.deck-name) { flex: none; }
63
+ @container (max-width: 640px) {
64
+ .toolbar kbd, .toolbar .deck-name { display: none; }
65
+ }
66
+ .pos { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 52px; text-align: center; }
67
+ .deck-name { min-width: 0; margin-left: 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
68
+ .toggle { display: inline-flex; align-items: center; gap: 6px; }
69
+ .toggle .dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: #fff;
70
+ font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
71
+ .toggle[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
72
+ .toggle[aria-pressed="true"] .dot { background: #fff; color: var(--orange); }
73
+ .toggle[aria-pressed="true"] kbd { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
74
+ .seg { display: inline-flex; }
75
+ .seg button:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
76
+ .seg button:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }
77
+ #select-toggle[aria-pressed="true"] { background: #1a73e8; border-color: #1a73e8; }
78
+ .ic { width: 13px; height: 13px; fill: currentColor; }
79
+ .attach-tray:empty { display: none; }
80
+ .attach-tray { display: flex; flex-wrap: wrap; gap: 6px; max-height: 120px; overflow-y: auto; }
81
+ .att { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 3px 4px 3px 3px; border: 1px solid var(--line);
82
+ border-radius: 8px; background: #fff; font-size: 12px; }
83
+ .att .thumb { width: 34px; height: 34px; border-radius: 5px; object-fit: cover; background: var(--bg); flex: none; }
84
+ .att .icon-box { width: 34px; height: 34px; border-radius: 5px; background: var(--orange-soft); display: grid; place-items: center; font-size: 17px; flex: none; }
85
+ .att .meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
86
+ .att .meta b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
87
+ .att .meta span { color: var(--muted); }
88
+ .att.error { border-color: var(--danger); }
89
+ .att.error .meta span { color: var(--danger); }
90
+ .att .x { border: 0; background: none; padding: 0 3px; color: var(--muted); font-size: 15px; line-height: 1; }
91
+ .att .x:hover { color: var(--danger); }
92
+ .att .spinner { width: 14px; height: 14px; }
93
+ .chat-pane { position: relative; }
94
+ .drop-hint { position: absolute; inset: 44px 0 0 0; z-index: 10; display: grid; place-items: center; pointer-events: none;
95
+ background: rgba(237,140,1,.08); border: 2px dashed var(--orange); border-radius: 10px; margin: 8px; }
96
+ .drop-hint div { background: var(--orange); color: #fff; font-weight: 600; padding: 8px 14px; border-radius: 8px; }
97
+ .msg.user .chips .att-chip { display: inline-flex; align-items: center; gap: 5px; }
98
+ .msg.user .chips .att-chip img { width: 18px; height: 18px; border-radius: 3px; object-fit: cover; }
99
+ .menu-wrap { position: relative; }
100
+ .menu-check { display: flex; align-items: center; gap: 7px; padding: 8px 10px 4px; margin-top: 4px; border-top: 1px solid var(--line);
101
+ font-size: 12.5px; color: var(--muted); cursor: pointer; }
102
+ .slide-list li { position: relative; }
103
+ .slide-list li.hidden-slide .t, .slide-list li.hidden-slide .s, .slide-list li.hidden-slide .num { opacity: .45; }
104
+ /* moving slides: the dragged slide fades, an orange line shows where it will go */
105
+ .slide-list li.dragging { opacity: .4; }
106
+ .slide-list li.drop-before::before, .slide-list li.drop-after::after { content: ""; position: absolute; left: 4px; right: 4px;
107
+ height: 2px; background: var(--orange); border-radius: 1px; pointer-events: none; }
108
+ .slide-list li.drop-before::before { top: -2px; }
109
+ .slide-list li.drop-after::after { bottom: -2px; }
110
+ .slide-list .kind.hid { color: var(--orange); border-color: #f2c48a; }
111
+ .slide-list .eye { position: absolute; right: 4px; bottom: 4px; display: none; width: 24px; height: 22px; padding: 0;
112
+ border: 0; background: none; color: var(--muted); }
113
+ .slide-list .eye .ic { width: 15px; height: 15px; }
114
+ .slide-list li:hover .eye, .slide-list li.hidden-slide .eye { display: grid; place-items: center; }
115
+ .slide-list .eye:hover { color: var(--ink); background: rgba(0,0,0,.05); border-radius: 5px; }
116
+ .menu.left { right: auto; left: 0; }
117
+ .menu.up { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; }
118
+ .menu button:disabled { opacity: .45; cursor: default; background: none; }
119
+ .menu .group { padding: 6px 10px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
120
+ .menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
121
+ .menu button.opt { display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; }
122
+ .menu button.opt .tick { width: 14px; flex: none; color: var(--orange); font-weight: 700; }
123
+ .menu button.opt span.d { display: inline; margin: 0; }
124
+ .model-menu { width: 330px; }
125
+ .model-btn { border: 0; background: none; padding: 4px 6px; margin-left: -6px; font-weight: 600; }
126
+ .model-btn:hover { background: var(--bg); }
127
+ .slides-actions { padding: 8px 8px 0; }
128
+ .add-slide { width: 100%; border-style: dashed; color: var(--muted); font-weight: 600; }
129
+ .add-slide:hover { color: var(--ink); border-color: var(--orange); background: var(--orange-soft); }
130
+ .add-round { width: 32px; height: 32px; padding: 0; border-radius: 50%; font-size: 20px; line-height: 1; font-weight: 500; }
131
+ .add-round[aria-expanded="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
132
+ .menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 300px; padding: 6px;
133
+ background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.16); }
134
+ .menu button { display: block; width: 100%; text-align: left; border: 0; border-radius: 7px; padding: 8px 10px; white-space: normal; }
135
+ .menu button:hover, .menu button:focus-visible { background: var(--bg); }
136
+ .menu button span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
137
+ .toast a { color: #8fd0ff; font-weight: 600; margin-left: 6px; }
138
+ .toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 5; max-width: 80%;
139
+ background: rgba(25,27,31,.92); color: #fff; padding: 7px 14px; border-radius: 8px; font-size: 13px;
140
+ box-shadow: 0 6px 20px rgba(0,0,0,.3); }
141
+ .pin-hint { background: var(--orange); color: #fff; padding: 5px 14px; font-size: 13px; flex: none; }
142
+ .pin-hint kbd { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
143
+ .stage { position: relative; flex: 1; min-height: 0; background: var(--stage); }
144
+ .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--stage); }
145
+ .stage iframe.loading { visibility: hidden; }
146
+ .stage iframe.measure { inset: auto; left: -20000px; top: 0; width: 1280px; height: 720px; visibility: hidden; }
147
+
148
+ /* ---- Speaker notes under the slide ---- */
149
+ .notes-panel { position: relative; flex: none; display: flex; flex-direction: column; background: var(--panel); border-top: 1px solid var(--line); }
150
+ /* the splitter: the panel's top edge, dragged up or down like the notes divider in PowerPoint or Keynote */
151
+ .notes-split { position: absolute; left: 0; right: 0; top: -4px; height: 8px; z-index: 2; cursor: row-resize; touch-action: none; }
152
+ .notes-split::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: transparent; transition: background .12s; }
153
+ .notes-split:hover::after, .notes-split:focus-visible::after, body.resizing-notes .notes-split::after { background: var(--orange); }
154
+ .notes-split:focus-visible { outline: none; }
155
+ .notes-panel.collapsed .notes-split { display: none; }
156
+ body.resizing-notes { cursor: row-resize; user-select: none; }
157
+ body.resizing-notes .stage iframe { pointer-events: none; } /* keep the drag when the pointer is over the slide */
158
+ .notes-head { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; border-radius: 0; background: none; padding: 5px 12px;
159
+ font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: left; }
160
+ .notes-head:hover { background: var(--bg); border: 0; }
161
+ .notes-head .caret { display: inline-block; transition: transform .15s; }
162
+ .notes-panel.collapsed .caret { transform: rotate(-90deg); }
163
+ .notes-panel.collapsed textarea { display: none; }
164
+ .notes-status { margin-left: auto; font-weight: 400; text-transform: none; letter-spacing: 0; }
165
+ .notes-panel textarea { height: 96px; resize: none; border: 0; border-top: 1px solid var(--line);
166
+ padding: 8px 14px; font: inherit; font-size: 13.5px; line-height: 1.45; color: var(--ink); background: var(--panel); outline: none; }
167
+ .notes-panel textarea:focus { background: #fffcf6; }
168
+ .notes-panel textarea[readonly] { color: var(--muted); }
169
+
170
+ /* ---- Chat ---- */
171
+ .chat-pane { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--line); background: var(--panel); }
172
+ .head-actions { display: flex; align-items: center; gap: 8px; }
173
+ .conn { width: 8px; height: 8px; border-radius: 50%; background: #c9ccd2; }
174
+ .conn.on { background: var(--ok); }
175
+ .chat { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
176
+ .empty { color: var(--muted); font-size: 13.5px; }
177
+ .empty p { margin: 0 0 10px; }
178
+ .msg { overflow-wrap: anywhere; }
179
+ .msg.user { align-self: stretch; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
180
+ padding: 8px 10px; white-space: pre-wrap; margin-top: 6px; }
181
+ .msg.user .chips { margin-top: 6px; white-space: normal; }
182
+ .msg.assistant { padding: 0 2px; }
183
+ .msg.assistant p { margin: 0 0 6px; }
184
+ .msg.assistant p:last-child { margin-bottom: 0; }
185
+ .msg.assistant ul { margin: 4px 0 6px; padding-left: 18px; }
186
+ .msg.assistant pre { background: #f0f1f3; padding: 8px; border-radius: 6px; overflow-x: auto; font-size: 12px; }
187
+ .msg.tool { color: var(--muted); font-size: 12.5px; padding-left: 2px; display: flex; gap: 6px; align-items: baseline; }
188
+ .msg.tool .tn { color: var(--ink); font-weight: 500; }
189
+ .msg.tool .err { color: var(--danger); display: block; }
190
+ .msg.tool::before { content: "›"; color: var(--orange); font-weight: 700; }
191
+ .msg.turn { font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 6px;
192
+ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
193
+ .msg.turn .files { color: var(--ink); }
194
+ .msg.turn .add { color: var(--ok); }
195
+ .msg.turn .del { color: var(--danger); }
196
+ .msg.turn .warn, .msg.notice.warn { color: var(--danger); }
197
+ .msg.turn .undone { text-decoration: line-through; }
198
+ .msg.turn .meta { margin-left: auto; }
199
+ .msg.notice { font-size: 12.5px; color: var(--muted); font-style: italic; }
200
+ .chip { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line);
201
+ border-radius: 12px; padding: 1px 4px 1px 2px; font-size: 12px; margin: 0 4px 4px 0; cursor: pointer; }
202
+ .chip .n { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700;
203
+ font-size: 11px; line-height: 18px; text-align: center; }
204
+ .chip .x { border: 0; background: none; padding: 0 2px; color: var(--muted); font-size: 14px; line-height: 1; }
205
+ .chip .x:hover { color: var(--danger); }
206
+ .chip .lock { color: var(--muted); }
207
+ .chip.sel .n { background: #1a73e8; border-radius: 4px; font-size: 10px; }
208
+ .chip .dim { color: var(--muted); font-variant-numeric: tabular-nums; }
209
+ .msg.edit { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
210
+ .msg.edit .files { color: var(--ink); }
211
+ .msg.edit .undone { text-decoration: line-through; }
212
+ .working { display: flex; align-items: center; gap: 8px; padding: 6px 14px; color: var(--muted); font-size: 13px;
213
+ border-top: 1px solid var(--line); }
214
+ .spinner { width: 12px; height: 12px; border: 2px solid var(--line); border-top-color: var(--orange); border-radius: 50%;
215
+ animation: spin .8s linear infinite; }
216
+ @keyframes spin { to { transform: rotate(360deg); } }
217
+ .composer { border-top: 1px solid var(--line); padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
218
+ .pin-tray:empty { display: none; }
219
+ .pin-tray { max-height: 96px; overflow-y: auto; }
220
+ #input { width: 100%; resize: none; font: inherit; border: 1px solid var(--line); border-radius: var(--radius);
221
+ padding: 8px 10px; min-height: 64px; max-height: 220px; outline: none; }
222
+ #input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(237,140,1,.15); }
223
+ .composer-row { display: flex; align-items: center; gap: 8px; }
224
+ .composer-row .spacer { flex: 1; }
225
+ .check { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
226
+
227
+ /* ---- Delete confirmation ---- */
228
+ .delete-dialog { width: min(460px, 92vw); padding: 0; border: 1px solid var(--line); border-radius: 12px;
229
+ box-shadow: 0 20px 60px rgba(0,0,0,.25); }
230
+ .delete-dialog::backdrop { background: rgba(20,22,25,.35); }
231
+ .delete-dialog form { padding: 18px 20px 16px; }
232
+ .delete-dialog h3 { margin: 0 0 6px; font-size: 16px; }
233
+ .delete-dialog p { margin: 0 0 10px; }
234
+ .delete-dialog .file { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; margin: 0 0 6px;
235
+ background: var(--bg); border-radius: 8px; font-size: 13px; }
236
+ .delete-dialog .file code { font-size: 12px; }
237
+ .delete-dialog .file .why { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
238
+ .delete-dialog .file.kept { opacity: .75; }
239
+ .small-note { font-size: 12.5px; }
240
+ .dialog-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
241
+
242
+ /* ---- PowerPoint import ---- */
243
+ .import-dialog { width: min(860px, 94vw); max-height: 88vh; padding: 0; border: 1px solid var(--line); border-radius: 12px;
244
+ box-shadow: 0 20px 60px rgba(0,0,0,.25); }
245
+ .import-dialog::backdrop { background: rgba(20,22,25,.35); }
246
+ .import-dialog form { display: flex; flex-direction: column; max-height: 88vh; }
247
+ .import-status { margin: 10px 16px 0; font-size: 13px; min-height: 1.2em; }
248
+ .import-status.error { color: var(--danger); }
249
+ .import-list { list-style: none; margin: 0; padding: 12px 16px; overflow: auto; display: grid;
250
+ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
251
+ .import-list label { display: block; cursor: pointer; border: 2px solid transparent; border-radius: 8px; padding: 4px; }
252
+ .import-list label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
253
+ .import-list .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
254
+ overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 22px; }
255
+ .import-list .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
256
+ .import-list input { position: absolute; top: 6px; left: 6px; z-index: 1; accent-color: var(--orange); }
257
+ .import-list .cap { display: flex; gap: 6px; align-items: baseline; margin-top: 4px; font-size: 12.5px; line-height: 1.3; }
258
+ .import-list .cap .n { color: var(--muted); }
259
+ .import-list .cap .t { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
260
+ .import-list .tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-left: auto; flex: none; }
261
+ .import-dialog .dialog-buttons { padding: 12px 16px 14px; margin: 0; border-top: 1px solid var(--line); align-items: center; }
262
+ .import-dialog .import-notes { margin-right: auto; display: flex; flex-direction: column; gap: 4px; }
263
+ .import-dialog .import-notes .check { color: var(--ink); }
264
+ .import-list .tag.complex { border-color: var(--orange); color: var(--orange); }
265
+
266
+ /* ---- Diff ---- */
267
+ .diff-dialog { width: min(1000px, 92vw); max-height: 86vh; padding: 0; border: 1px solid var(--line); border-radius: 10px;
268
+ box-shadow: 0 20px 60px rgba(0,0,0,.25); }
269
+ .diff-dialog::backdrop { background: rgba(20,22,25,.35); }
270
+ .dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px;
271
+ border-bottom: 1px solid var(--line); font-weight: 600; }
272
+ .diff { margin: 0; padding: 10px 0; overflow: auto; max-height: calc(86vh - 50px); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
273
+ .diff span { display: block; padding: 0 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
274
+ .diff .a { background: #e9f6ee; }
275
+ .diff .d { background: #fbeaea; }
276
+ .diff .h { color: var(--muted); background: #f3f4f6; margin-top: 6px; }
277
+ .diff .f { font-weight: 700; }
278
+
279
+ @media (max-width: 1100px) {
280
+ .app { grid-template-columns: 170px minmax(0, 1fr) 340px; }
281
+ }