claude-discover 1.10.11 → 1.10.13

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.
@@ -1,3 +1,167 @@
1
+ .multi-picker {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ width: 200px;
5
+ min-width: 80px;
6
+ background: var(--bg-elev);
7
+ color: var(--text);
8
+ border: 1px solid rgb(127 162 205 / 0.35);
9
+ border-radius: 6px;
10
+ font: inherit;
11
+ font-size: 13px;
12
+ font-weight: 600;
13
+ padding: 5px 10px;
14
+ cursor: pointer;
15
+ transition: background 0.12s, border-color 0.12s;
16
+
17
+ &:hover { background: rgba(74, 158, 255, 0.1); border-color: rgb(127 162 205 / 0.6); }
18
+ }
19
+
20
+ .multi-picker-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
21
+ .multi-picker-icon { color: var(--text-dim); margin-left: 8px; }
22
+
23
+ /* Undo the UA's centered-dialog popover defaults and pin it under the button (anchor set inline) */
24
+ .multi-picker-popover {
25
+ inset: auto;
26
+ top: anchor(bottom);
27
+ left: anchor(left);
28
+ position-try-fallbacks: flip-block;
29
+ margin: 4px 0;
30
+ max-width: min(640px, 90vw);
31
+ max-height: 480px;
32
+ overflow-y: auto;
33
+ padding: 4px;
34
+ background: rgb(10 11 14 / 0.85);
35
+ color: var(--text);
36
+ border: 1px solid #424e66;
37
+ border-radius: 6px;
38
+ box-shadow: 0 10px 32px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(0 0 0 / 0.4);
39
+ font-size: 13px;
40
+ scrollbar-width: thin;
41
+ scrollbar-color: rgba(255,255,255,0.15) transparent;
42
+ user-select: none;
43
+
44
+ /* Only while open — a display here would override the closed popover's display:none */
45
+ &:popover-open {
46
+ display: grid;
47
+ grid-template-columns: auto auto minmax(0, 1fr);
48
+ column-gap: 6px;
49
+ }
50
+
51
+ & hr { grid-column: 1 / -1; border: none; border-top: 1px solid var(--border); margin: 4px 0; }
52
+ }
53
+
54
+ .multi-picker-option {
55
+ display: grid;
56
+ grid-column: 1 / -1;
57
+ grid-template-columns: subgrid;
58
+ align-items: center;
59
+ padding: 5px 8px 5px 4px;
60
+ border-radius: 4px;
61
+ white-space: nowrap;
62
+ cursor: pointer;
63
+
64
+ &:hover, &:focus-visible { background: rgba(74, 158, 255, 0.15); }
65
+ &:has(input:checked) .multi-picker-option-label { color: var(--accent); }
66
+
67
+ /* Custom box: the native one ignores the dark theme apart from accent-color. Only its tick shows
68
+ (on selected options) until hovered or Ctrl/Cmd/Shift is held. */
69
+ & input {
70
+ appearance: none;
71
+ display: grid;
72
+ place-content: center;
73
+ width: 14px;
74
+ height: 14px;
75
+ margin: 0;
76
+ border: 1px solid transparent;
77
+ border-radius: 3px;
78
+ cursor: pointer;
79
+ transition: background 0.12s, border-color 0.12s;
80
+
81
+ &::after {
82
+ content: "";
83
+ width: 7px;
84
+ height: 4px;
85
+ margin-top: -2px;
86
+ border: solid var(--accent);
87
+ border-width: 0 0 2px 2px;
88
+ transform: rotate(-45deg) scale(0);
89
+ transition: transform 0.1s;
90
+ }
91
+ &:checked::after { transform: rotate(-45deg) scale(1); }
92
+ }
93
+ }
94
+
95
+ .multi-picker-option input:hover,
96
+ .multi-picker-popover.multi .multi-picker-option input {
97
+ border-color: #424e66;
98
+ background: var(--bg);
99
+ }
100
+
101
+ .multi-picker-option-detail, .multi-picker-hint {
102
+ min-width: 0;
103
+ padding-left: 12px; /* the grid's gap is sized for the checkbox column */
104
+ }
105
+
106
+ .multi-picker-hint {
107
+ justify-self: end;
108
+ font-size: 11px;
109
+ font-weight: 400;
110
+ font-style: italic;
111
+ color: var(--text-dim);
112
+ }
113
+
114
+ .multi-picker-option-detail {
115
+ overflow: hidden;
116
+ text-overflow: ellipsis;
117
+ font-family: var(--font-mono), monospace;
118
+ font-size: 11px;
119
+ color: var(--text-dim);
120
+ }
121
+ /* Floats over the gantt canvas's bottom-right corner, outside its scroll area so it stays put; clears the 5px scrollbar */
122
+ .source-legend {
123
+ position: absolute;
124
+ right: 14px;
125
+ bottom: 16px;
126
+ z-index: 2;
127
+ display: flex;
128
+ flex-wrap: wrap;
129
+ justify-content: flex-end;
130
+ gap: 2px;
131
+ max-width: calc(100% - 260px);
132
+ padding: 3px;
133
+ background: rgb(17 20 27 / 0.7);
134
+ border: 1px solid rgb(127 162 205 / 0.15);
135
+ border-radius: 6px;
136
+ backdrop-filter: blur(3px);
137
+ white-space: nowrap;
138
+ font-size: 12px;
139
+ color: var(--text-dim);
140
+
141
+ & .legend-chip {
142
+ display: inline-flex;
143
+ align-items: center;
144
+ gap: 6px;
145
+ background: transparent;
146
+ border: 1px solid transparent;
147
+ color: inherit;
148
+ font: inherit;
149
+ padding: 2px 6px;
150
+ border-radius: 4px;
151
+ cursor: pointer;
152
+ transition: opacity 0.15s, border-color 0.15s, background 0.15s;
153
+
154
+ &:hover { background: rgba(255,255,255,0.06); }
155
+ &.dim { opacity: 0.4; }
156
+ }
157
+
158
+ & .swatch {
159
+ display: inline-block;
160
+ width: 12px;
161
+ height: 12px;
162
+ border-radius: 2px;
163
+ }
164
+ }
1
165
  .tick-hline {
2
166
  &.tick-major { stroke: #2a3140; }
3
167
  &.tick-minor { stroke: #1e2a38; }
@@ -53,6 +217,7 @@
53
217
  & text { fill: var(--danger); font-size: 11px; }
54
218
  }
55
219
  .gantt-wrap {
220
+ position: relative;
56
221
  display: flex;
57
222
  flex-direction: column;
58
223
  min-height: 0;
@@ -95,8 +260,20 @@
95
260
  position: sticky;
96
261
  top: 0;
97
262
  z-index: 1;
98
- overflow: visible;
99
263
  background: var(--bg-elev);
264
+
265
+ & svg { overflow: visible; }
266
+ }
267
+
268
+ /* Sits in the project gutter of the time-axis row (sized inline from it), 6px in from either side */
269
+ .gantt-project-picker {
270
+ position: absolute;
271
+ top: 0;
272
+ left: 6px;
273
+ display: flex;
274
+ align-items: center;
275
+
276
+ & .multi-picker { width: 100%; padding: 2px 8px; font-size: 12px; }
100
277
  }
101
278
 
102
279
  .gantt-gutter { fill: #0e1118; }
@@ -109,12 +286,6 @@
109
286
  &:hover .gantt-project { fill: #ffffff; }
110
287
  &:hover .gantt-project-toggle { fill: #7aa2f7; }
111
288
  }
112
- .gantt-project-more {
113
- fill: #7aa2f7;
114
- font-size: 11px;
115
- cursor: pointer;
116
- &:hover { fill: #ffffff; }
117
- }
118
289
  .gantt-project-dir { fill: #8f97a8; font-size: 11px; }
119
290
 
120
291
  /* Full-height grid lines, positioned from TimeAxis's computeTicks. */
@@ -143,136 +314,15 @@
143
314
  &:hover rect { filter: brightness(1.15); }
144
315
  &.selected rect { filter: brightness(1.2); }
145
316
  }
146
- .multi-picker {
147
- display: inline-flex;
148
- align-items: center;
149
- width: 200px;
150
- min-width: 80px;
151
- background: var(--bg-elev);
152
- color: var(--text);
153
- border: 1px solid rgb(127 162 205 / 0.35);
154
- border-radius: 6px;
155
- font: inherit;
156
- font-size: 13px;
157
- font-weight: 600;
158
- padding: 5px 10px;
159
- cursor: pointer;
160
- transition: background 0.12s, border-color 0.12s;
161
-
162
- &:hover { background: rgba(74, 158, 255, 0.1); border-color: rgb(127 162 205 / 0.6); }
163
- }
164
-
165
- .multi-picker-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
166
- .multi-picker-icon { color: var(--text-dim); margin-left: 8px; }
167
-
168
- /* Undo the UA's centered-dialog popover defaults and pin it under the button (anchor set inline) */
169
- .multi-picker-popover {
170
- inset: auto;
171
- top: anchor(bottom);
172
- left: anchor(left);
173
- position-try-fallbacks: flip-block;
174
- margin: 4px 0;
175
- max-width: min(640px, 90vw);
176
- max-height: 480px;
177
- overflow-y: auto;
178
- padding: 4px;
179
- background: rgb(10 11 14 / 0.85);
180
- color: var(--text);
181
- border: 1px solid #424e66;
182
- border-radius: 6px;
183
- box-shadow: 0 10px 32px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(0 0 0 / 0.4);
184
- font-size: 13px;
185
- scrollbar-width: thin;
186
- scrollbar-color: rgba(255,255,255,0.15) transparent;
187
- user-select: none;
188
-
189
- /* Only while open — a display here would override the closed popover's display:none */
190
- &:popover-open {
191
- display: grid;
192
- grid-template-columns: auto auto minmax(0, 1fr);
193
- column-gap: 6px;
194
- }
195
-
196
- & hr { grid-column: 1 / -1; border: none; border-top: 1px solid var(--border); margin: 4px 0; }
197
- }
198
-
199
- .multi-picker-option {
200
- display: grid;
201
- grid-column: 1 / -1;
202
- grid-template-columns: subgrid;
203
- align-items: center;
204
- padding: 5px 8px 5px 4px;
205
- border-radius: 4px;
206
- white-space: nowrap;
207
- cursor: pointer;
208
-
209
- &:hover, &:focus-visible { background: rgba(74, 158, 255, 0.15); }
210
- &:has(input:checked) .multi-picker-option-label { color: var(--accent); }
211
-
212
- /* Custom box: the native one ignores the dark theme apart from accent-color. Only its tick shows
213
- (on selected options) until hovered or Ctrl/Cmd/Shift is held. */
214
- & input {
215
- appearance: none;
216
- display: grid;
217
- place-content: center;
218
- width: 14px;
219
- height: 14px;
220
- margin: 0;
221
- border: 1px solid transparent;
222
- border-radius: 3px;
223
- cursor: pointer;
224
- transition: background 0.12s, border-color 0.12s;
225
-
226
- &::after {
227
- content: "";
228
- width: 7px;
229
- height: 4px;
230
- margin-top: -2px;
231
- border: solid var(--accent);
232
- border-width: 0 0 2px 2px;
233
- transform: rotate(-45deg) scale(0);
234
- transition: transform 0.1s;
235
- }
236
- &:checked::after { transform: rotate(-45deg) scale(1); }
237
- }
238
- }
239
-
240
- .multi-picker-option input:hover,
241
- .multi-picker-popover.multi .multi-picker-option input {
242
- border-color: #424e66;
243
- background: var(--bg);
244
- }
245
-
246
- .multi-picker-option-detail, .multi-picker-hint {
247
- min-width: 0;
248
- padding-left: 12px; /* the grid's gap is sized for the checkbox column */
249
- }
250
-
251
- .multi-picker-hint {
252
- justify-self: end;
253
- font-size: 11px;
254
- font-weight: 400;
255
- font-style: italic;
256
- color: var(--text-dim);
257
- }
258
-
259
- .multi-picker-option-detail {
260
- overflow: hidden;
261
- text-overflow: ellipsis;
262
- font-family: var(--font-mono), monospace;
263
- font-size: 11px;
264
- color: var(--text-dim);
265
- }
266
- /* Legend on the left, centered nav group (‹ date › plus a floating "Today"
317
+ /* Section title on the left, centered nav group (‹ date › plus a floating "Today"
267
318
  link), granularity tabs on the right. The equal 1fr side cells keep the nav
268
319
  group truly centered. */
269
320
  .gantt-toolbar {
321
+ flex: 1;
270
322
  display: grid;
271
323
  grid-template-columns: 1fr auto 1fr;
272
324
  align-items: center;
273
325
  gap: 16px;
274
- padding: 12px 16px 0;
275
- margin-bottom: 8px;
276
326
  }
277
327
 
278
328
  .gantt-toolbar-nav {
@@ -339,43 +389,7 @@
339
389
  border: 1px solid rgb(127 162 205 / 0.25);
340
390
  }
341
391
 
342
- .gantt-legend {
343
- display: flex;
344
- flex-wrap: nowrap;
345
- justify-content: flex-start;
346
- white-space: nowrap;
347
- gap: 14px;
348
- font-size: 12px;
349
- color: var(--text-dim);
350
- min-width: 0;
351
- overflow: hidden;
352
- }
353
-
354
- .legend-chip {
355
- display: inline-flex;
356
- align-items: center;
357
- gap: 6px;
358
- background: transparent;
359
- border: 1px solid transparent;
360
- color: inherit;
361
- font: inherit;
362
- padding: 2px 6px;
363
- border-radius: 4px;
364
- cursor: pointer;
365
- transition: opacity 0.15s, border-color 0.15s, background 0.15s;
366
-
367
- &:hover { background: rgba(255,255,255,0.04); }
368
- &.dim { opacity: 0.4; }
369
- }
370
-
371
- .swatch {
372
- display: inline-block;
373
- width: 12px;
374
- height: 12px;
375
- border-radius: 2px;
376
- }
377
-
378
- /* Starts at the period summary panel's left edge; the panel runs flush to the window, past the toolbar's padding. */
392
+ /* Starts at the period summary panel's left edge; the panel runs flush to the window, past the title bar's 16px padding. */
379
393
  .gantt-granularity {
380
394
  justify-self: end;
381
395
  width: calc(var(--gantt-side-width) - 16px);
@@ -653,6 +667,7 @@
653
667
  min-width: 0;
654
668
  min-height: 0;
655
669
  overflow: hidden;
670
+ --branch: var(--text-faint); /* the stroke from a session to its subagent runs */
656
671
  }
657
672
 
658
673
  .session-list-header {
@@ -759,6 +774,9 @@
759
774
  "time bar icon label badges stats"
760
775
  "time bar icon bottom bottom stats";
761
776
  align-items: start;
777
+ /* A month lists thousands of rows: skip laying out the off-screen ones, or every panel resize frame relayouts them all */
778
+ content-visibility: auto;
779
+ contain-intrinsic-size: auto 51px;
762
780
 
763
781
  /* A timeline after the time: a dot on the label's line (accent while active), over a track whose negative margins run it through the row's padding */
764
782
  &::before, &::after {
@@ -782,11 +800,14 @@
782
800
  &.active::after { --dot: var(--accent); }
783
801
  &.live::after { animation: pulse 2s ease-out infinite; }
784
802
 
785
- &:hover { background: var(--bg-elev-2); }
786
- &.selected { background: var(--selected); }
787
- /* under the run title text (14px arrow + 5px gap), while the time stays in line with the other rows */
788
- &.is-subagent-child :is(.session-label, .session-time-bottom) { margin-left: 19px; }
789
- &.deep-linked { background: rgba(52, 211, 153, 0.12); } /* last, so it wins over :hover and .selected */
803
+ &.is-subagent-child { background-color: var(--bg); } /* before :hover and .selected, so they still win */
804
+ &:hover { background-color: var(--bg-elev-2); }
805
+ &.selected { background-color: var(--selected); }
806
+ /* indented 12px past the run title text (14px arrow + 5px gap), while the time stays in line with the other rows */
807
+ &.is-subagent-child :is(.session-label, .session-time-bottom) { margin-left: 31px; }
808
+ /* no divider above a run's rows, so they read as part of the session they branch off (transparent keeps the row heights) */
809
+ &:is(.branch-start, .branch-below) { border-bottom-color: transparent; }
810
+ &.deep-linked { background-color: rgba(52, 211, 153, 0.12); } /* last, so it wins over :hover and .selected */
790
811
  }
791
812
 
792
813
  /* A .session-row reset as a button, so it lines up with the subagent rows below it */
@@ -798,14 +819,53 @@
798
819
  text-align: left;
799
820
  }
800
821
 
801
- /* 18px tall to center on the title's line */
802
- .subagent-run-arrow { grid-area: icon; display: flex; align-items: center; height: 18px; margin-right: 5px; color: var(--text); }
822
+ /* The branch stroke at x 50px, from under the parent's label down every row of its runs; a background, since content-visibility clips overflow */
823
+ .session-row:is(.branch-start, .branch-below, .is-subagent-child) {
824
+ background-image: linear-gradient(var(--branch), var(--branch));
825
+ background-repeat: no-repeat;
826
+ background-origin: border-box;
827
+ background-position: 50px 100%;
828
+ background-size: 1px 100%;
829
+ &.branch-start { background-size: 1px 9px; } /* the parent: just its bottom padding */
830
+ }
831
+
832
+ /* Each run's turn off the stroke into an arrowhead at its title; on the last row it's also where the stroke ends */
833
+ .subagent-run-arrow {
834
+ grid-area: icon;
835
+ position: relative;
836
+ width: 14px;
837
+ height: 18px;
838
+ margin-right: 5px;
839
+
840
+ &::before, &::after { content: ''; position: absolute; }
841
+ &::before {
842
+ left: 2px;
843
+ top: -8px;
844
+ width: 10px;
845
+ height: 17px;
846
+ border: solid var(--branch);
847
+ border-width: 0 0 1px 1px;
848
+ border-bottom-left-radius: 6px;
849
+ }
850
+ &::after {
851
+ left: 12px;
852
+ top: 5px;
853
+ border-left: 5px solid var(--branch);
854
+ border-block: 3.5px solid transparent;
855
+ }
856
+ }
803
857
 
804
858
  .subagent-run-title {
805
859
  font-weight: 600;
806
860
  color: var(--text);
807
861
  }
808
862
 
863
+ /* A toggle, not a session: hover lights up its branch and title rather than the whole row */
864
+ .subagent-run:not(.selected):hover { background-color: transparent; }
865
+ .subagent-run[aria-expanded="true"]:is(*, :hover) { background-color: var(--bg); } /* an open run's header shades with its rows */
866
+ .subagent-run:hover .subagent-run-arrow { --branch: var(--accent); }
867
+ .subagent-run:hover .subagent-run-title { color: var(--accent); }
868
+
809
869
  .deeplink-note { color: #34d399; }
810
870
 
811
871
  .session-row-badges {
@@ -1057,7 +1117,7 @@ button.divider {
1057
1117
  Totals (and, on assistant cards, context size) live in the message headers; usage in their tooltip (TokenTip). */
1058
1118
  .conversation.has-token-timeline {
1059
1119
  position: relative;
1060
- max-width: calc(848px * var(--font-scale, 1));
1120
+ max-width: calc(var(--conversation-width) * var(--font-scale, 1));
1061
1121
  padding-right: 28px;
1062
1122
  }
1063
1123
 
@@ -1084,6 +1144,8 @@ button.divider {
1084
1144
  .conv-continues-from { margin-bottom: 20px; }
1085
1145
  .conv-continues-to { margin-top: 20px; }
1086
1146
  .conv-divider { margin: 20px 0; }
1147
+ .conv-rewind { color: var(--warn); &::before, &::after { opacity: 1; } }
1148
+ .conv-rewind-since { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; &:hover { filter: brightness(1.3); } }
1087
1149
 
1088
1150
  .token-point {
1089
1151
  position: absolute;
@@ -1180,7 +1242,7 @@ button.divider {
1180
1242
  .msg-author { color: var(--text); font-weight: 600; font-size: calc(12px * var(--font-scale, 1)); }
1181
1243
  .msg-user .msg-author { color: rgb(113, 183, 214); }
1182
1244
  .msg-system .msg-author { color: var(--text-dim); }
1183
- .msg-proxy .msg-author, .msg-proxy .msg-icon { color: #a78bfa; }
1245
+ .msg-proxy .msg-author, .msg-proxy .msg-icon, .proxy-text { color: #a78bfa; }
1184
1246
 
1185
1247
  .msg-summary {
1186
1248
  background: transparent;
@@ -1261,7 +1323,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
1261
1323
 
1262
1324
  .turn-system {
1263
1325
  & .turn-blocks > .aux { align-self: flex-start; }
1264
- & .turn-blocks > :is(.instruction-file, .aux:has(> .aux-toggle > .instruction-tokens)) { align-self: stretch; } /* full width, so its token count lines up right */
1326
+ & .turn-blocks > :is(.instruction-file, .instruction-total, .aux:has(> .aux-toggle > .instruction-tokens)) { align-self: stretch; } /* full width, so its token count lines up right */
1265
1327
  & .turn-blocks > .block-text {
1266
1328
  border: 1px dashed var(--border);
1267
1329
  border-radius: 6px;
@@ -1340,6 +1402,17 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
1340
1402
  color: var(--text-faint);
1341
1403
  }
1342
1404
 
1405
+ .block-interrupt {
1406
+ display: inline-flex; align-items: center; gap: 6px;
1407
+ padding: 4px 10px;
1408
+ border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent);
1409
+ border-radius: 6px;
1410
+ background: color-mix(in srgb, var(--warn) 10%, transparent);
1411
+ color: var(--warn);
1412
+ font-weight: 600;
1413
+ }
1414
+ .block-interrupt-icon { width: 1.1em; height: 1.1em; flex: none; }
1415
+
1343
1416
  .cmd-name { color: var(--accent); font-weight: 600; }
1344
1417
  .cmd-args { color: var(--text-dim); white-space: pre-wrap; }
1345
1418
 
@@ -1365,7 +1438,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
1365
1438
  /* What System tells Claude itself: open by default, tinted apart from the folded bookkeeping */
1366
1439
  .directive {
1367
1440
  & :is(.aux-toggle, .aux-label) { color: var(--accent); }
1368
- & .aux-body { border-left-color: var(--accent); }
1441
+ & > .aux-body { border-left-color: var(--accent); }
1369
1442
  }
1370
1443
 
1371
1444
  .aux-toggle {
@@ -1378,6 +1451,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
1378
1451
  font-family: var(--font-mono), monospace;
1379
1452
  display: inline-flex;
1380
1453
  gap: 4px;
1454
+ text-align: left; /* a wrapped label would inherit the button's centering */
1381
1455
 
1382
1456
  &:hover { color: var(--text); background: var(--bg-elev-2); border-radius: 3px; }
1383
1457
  }
@@ -1426,10 +1500,11 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
1426
1500
 
1427
1501
  /* Full-width toggle so the estimated token count can sit right-aligned, like msg-header-right. */
1428
1502
  /* Nested tool rows cancel the aux-body's right padding so their counts line up with the strips'. */
1429
- .instruction-file .instruction-file { border-left-color: var(--border); margin-right: -8px; }
1503
+ .instruction-file .instruction-file { border-left: none; padding-left: 0; margin-left: 0; margin-right: -8px; }
1430
1504
  /* A rule under the strip's count marks it as the sum of the tool counts below. */
1431
- .aux-body > .instruction-file:first-child .instruction-tokens { border-top: 1px solid var(--border); padding-top: 2px; }
1432
- .instruction-file .aux-toggle, .aux-toggle:has(> .instruction-tokens, > .aux-duration) { display: flex; width: 100%; align-items: center; text-align: left; }
1505
+ .aux-body:has(> .instruction-file:first-child) { padding-top: 0; }
1506
+ .aux-body > .instruction-file:first-child > .aux-toggle .instruction-tokens { border-top: 1px solid var(--border); }
1507
+ .instruction-file .aux-toggle, .aux-toggle:has(> .instruction-tokens, > .aux-duration) { display: flex; width: 100%; align-items: center; }
1433
1508
  .instruction-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1434
1509
  .instruction-tokens { margin-left: auto; color: var(--text-faint); white-space: nowrap; }
1435
1510
  .aux-duration { margin-left: auto; padding-left: 10px; color: var(--text-faint); white-space: nowrap; }
@@ -2151,6 +2226,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2151
2226
  }
2152
2227
 
2153
2228
  .view-tab-pane-main {
2229
+ --conversation-width: 848px; /* the conversation column with its token timeline; the tab bar lines up with it */
2154
2230
  flex: 1;
2155
2231
  min-width: 0;
2156
2232
  min-height: 0;
@@ -2158,16 +2234,24 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2158
2234
  flex-direction: column;
2159
2235
  }
2160
2236
 
2237
+ /* The bar spans the conversation's centered column (inside the content's 16px padding and right-hand 5px
2238
+ scrollbar): the first tab's label at its left edge (less the tab's 12px padding), the tools at its right,
2239
+ past the token timeline. Zooming the conversation moves it off. */
2161
2240
  .view-tabs-bar {
2241
+ --column-margin: max(0px, (100% - 32px - 5px - var(--conversation-width)) / 2);
2242
+ box-sizing: border-box;
2243
+ height: var(--pane-header-height);
2162
2244
  display: flex;
2163
2245
  align-items: center;
2164
2246
  justify-content: space-between;
2165
- padding: 0 20px 0 8px;
2247
+ padding: 0 calc(var(--column-margin) + 16px + 5px) 0 calc(var(--column-margin) + 16px - 12px);
2166
2248
  border-bottom: 1px solid var(--border);
2167
2249
  }
2168
2250
 
2169
2251
  .view-tabs {
2252
+ align-self: stretch;
2170
2253
  display: flex;
2254
+ align-items: flex-end;
2171
2255
  }
2172
2256
 
2173
2257
  .view-tabs-tools {
@@ -2190,7 +2274,6 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2190
2274
  border-bottom: 2px solid transparent;
2191
2275
  border-radius:0px;
2192
2276
  margin-bottom: -1px; /* active underline sits on the bar's border */
2193
- margin-top: 10px;
2194
2277
  padding: 9px 12px 7px;
2195
2278
  color: var(--text-faint);
2196
2279
  font: inherit;
@@ -2532,6 +2615,31 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2532
2615
  & > * { flex: 1; min-height: 0; min-width: 0; }
2533
2616
  }
2534
2617
 
2618
+ /* Bold, color-coded bars so the period and the session halves can't be mistaken for each other */
2619
+ .section-title {
2620
+ flex: none;
2621
+ display: flex;
2622
+ align-items: center;
2623
+ box-sizing: border-box;
2624
+ padding: 8px 16px;
2625
+ background: var(--bg-elev);
2626
+ border-left: 4px solid var(--section-accent);
2627
+ border-bottom: 1px solid var(--border);
2628
+ user-select: none;
2629
+ }
2630
+
2631
+ .section.period { --section-accent: var(--accent); }
2632
+ .section.session { --section-accent: var(--claude-orange); }
2633
+
2634
+ .section-title-text {
2635
+ margin: 0;
2636
+ font-size: 17px;
2637
+ font-weight: 700;
2638
+ letter-spacing: 0.01em;
2639
+ color: var(--text);
2640
+ white-space: nowrap;
2641
+ }
2642
+
2535
2643
  .body {
2536
2644
  flex: 1;
2537
2645
  min-height: 0;
@@ -2539,11 +2647,14 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2539
2647
 
2540
2648
  .body-pane {
2541
2649
  display: flex;
2650
+ flex-direction: column;
2542
2651
  min-width: 0;
2543
2652
  min-height: 0;
2544
2653
  overflow: hidden;
2545
2654
 
2546
- & > * { flex: 1; min-width: 0; min-height: 0; }
2655
+ & > * { min-width: 0; min-height: 0; }
2656
+ & > :last-child { flex: 1; } /* the pane's content, under its optional title bar */
2657
+ & > .section-title { height: var(--pane-header-height); }
2547
2658
  }
2548
2659
 
2549
2660
  .resize-handle {
@@ -2551,7 +2662,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2551
2662
  transition: background 120ms;
2552
2663
 
2553
2664
  &:hover,
2554
- &[data-resize-handle-active] {
2665
+ &[data-separator="active"] {
2555
2666
  background: var(--text-faint);
2556
2667
  }
2557
2668
 
@@ -2600,6 +2711,8 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
2600
2711
  --ok: #69717d;
2601
2712
  --warn: #fbbf24;
2602
2713
  --danger: #b34242;
2714
+ --claude-orange: #d97757;
2715
+ --pane-header-height: 45px; /* the session list's title bar and the session's tab bar, so they line up */
2603
2716
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
2604
2717
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;
2605
2718
  font-family: var(--font-sans), sans-serif;
@@ -2656,7 +2769,7 @@ button:hover { background: var(--border); }
2656
2769
 
2657
2770
  /* Names what a summary panel covers */
2658
2771
  .summary-label {
2659
- color: var(--accent);
2772
+ color: var(--text);
2660
2773
  font-size: 13px;
2661
2774
  font-weight: 700;
2662
2775
  letter-spacing: 1px;