privateboard 0.1.2 → 0.1.3
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/dist/cli.js +3355 -940
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/public/agent-profile.js +17 -7
- package/public/app.js +3775 -434
- package/public/index.html +2357 -265
- package/public/onboarding.js +36 -9
- package/public/quote-cta.css +49 -5
- package/public/quote-cta.js +215 -17
- package/public/report/spines/a16z-thesis.css +212 -97
- package/public/report/spines/anthropic-essay.css +564 -221
- package/public/report/spines/boardroom-dark.css +130 -72
- package/public/report/spines/gartner-note.css +83 -48
- package/public/report/spines/mckinsey-deck.css +81 -31
- package/public/report/spines/openai-paper.css +96 -35
- package/public/report.html +3576 -197
- package/public/room-settings.js +11 -8
- package/public/themes.css +15 -2
- package/public/user-settings.css +19 -8
- package/public/user-settings.js +37 -162
package/public/index.html
CHANGED
|
@@ -37,9 +37,18 @@
|
|
|
37
37
|
|
|
38
38
|
/* Chat page chrome (sidebar, queue, room head, etc.) runs on Human
|
|
39
39
|
Sans. Agent message bubbles override to --font-agent;
|
|
40
|
-
the logo is pinned back to Inter further down the stylesheet.
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
the logo is pinned back to Inter further down the stylesheet.
|
|
41
|
+
PingFang SC is named explicitly in the CJK fallback chain so
|
|
42
|
+
Chinese glyphs render as PingFang on macOS instead of whatever
|
|
43
|
+
`system-ui` resolves to. */
|
|
44
|
+
--mono: "Human Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
|
|
45
|
+
"PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
46
|
+
"Source Han Sans CN", "Noto Sans CJK SC",
|
|
47
|
+
system-ui, sans-serif;
|
|
48
|
+
--sans: "Human Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
|
|
49
|
+
"PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
50
|
+
"Source Han Sans CN", "Noto Sans CJK SC",
|
|
51
|
+
system-ui, sans-serif;
|
|
43
52
|
|
|
44
53
|
--sidebar-w: 280px;
|
|
45
54
|
}
|
|
@@ -205,6 +214,11 @@
|
|
|
205
214
|
gap: 0;
|
|
206
215
|
overflow: hidden;
|
|
207
216
|
min-height: 0;
|
|
217
|
+
/* `position: relative` so the floating sidebar-expand-btn (absolute-
|
|
218
|
+
positioned) anchors to the body-grid's top-left edge instead of
|
|
219
|
+
the viewport — that puts the button below the topbar / brand
|
|
220
|
+
logo where the user expects it, not on top of it. */
|
|
221
|
+
position: relative;
|
|
208
222
|
}
|
|
209
223
|
|
|
210
224
|
/* Drag handles for resizable columns */
|
|
@@ -287,6 +301,134 @@
|
|
|
287
301
|
}
|
|
288
302
|
.sidebar-head-meta .lime { color: var(--lime); }
|
|
289
303
|
|
|
304
|
+
/* ─── Sidebar collapse toggle ───
|
|
305
|
+
Sits at the right edge of sidebar-head. Pure CSS glyph (no svg)
|
|
306
|
+
so we can flip the direction via class without re-rendering DOM.
|
|
307
|
+
Hover lime per the new-btn vocabulary. */
|
|
308
|
+
.sidebar-collapse-btn {
|
|
309
|
+
appearance: none;
|
|
310
|
+
background: var(--panel-3);
|
|
311
|
+
border: 0.5px solid var(--line-strong);
|
|
312
|
+
color: var(--text-soft);
|
|
313
|
+
cursor: pointer;
|
|
314
|
+
width: 24px;
|
|
315
|
+
height: 22px;
|
|
316
|
+
padding: 0;
|
|
317
|
+
line-height: 1;
|
|
318
|
+
font-family: var(--mono);
|
|
319
|
+
font-size: 16px;
|
|
320
|
+
font-weight: 700;
|
|
321
|
+
display: inline-flex;
|
|
322
|
+
align-items: center;
|
|
323
|
+
justify-content: center;
|
|
324
|
+
transition: color 0.12s, background 0.12s, border-color 0.12s;
|
|
325
|
+
flex-shrink: 0;
|
|
326
|
+
}
|
|
327
|
+
.sidebar-collapse-btn::before { content: "‹"; }
|
|
328
|
+
body.sidebar-collapsed .sidebar-collapse-btn::before { content: "›"; }
|
|
329
|
+
.sidebar-collapse-btn:hover {
|
|
330
|
+
color: var(--lime);
|
|
331
|
+
border-color: var(--lime-dim);
|
|
332
|
+
background: var(--panel-2);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* ─── Collapsed state · sidebar fully hidden ───
|
|
336
|
+
Sidebar + resizer collapse out of layout via display:none. The
|
|
337
|
+
grid drops to a single 1fr column · auto-placement would otherwise
|
|
338
|
+
try to drop the .main into the now-empty first track (still
|
|
339
|
+
reserved by template), zero-width, and the user sees an empty
|
|
340
|
+
room. Single column = main fills the whole body-grid cleanly.
|
|
341
|
+
The user's preferred --sidebar-w stays in localStorage so
|
|
342
|
+
expanding restores the same width. */
|
|
343
|
+
body.sidebar-collapsed .body-grid {
|
|
344
|
+
grid-template-columns: 1fr !important;
|
|
345
|
+
}
|
|
346
|
+
body.sidebar-collapsed .sidebar,
|
|
347
|
+
body.sidebar-collapsed .col-resizer {
|
|
348
|
+
display: none;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/* Floating expand button · ONLY shown in the empty / no-room
|
|
352
|
+
state, where there's no room-head to host the in-header
|
|
353
|
+
expand control (rendered by renderHeader). Positioned absolute
|
|
354
|
+
relative to .body-grid (which carries `position: relative`),
|
|
355
|
+
pinned to the top-left of the body-grid area. Frosted black
|
|
356
|
+
glass with hairline border, lime on hover. z-index sits above
|
|
357
|
+
chat content but below modal overlays (which use 1500+). */
|
|
358
|
+
.sidebar-expand-btn {
|
|
359
|
+
display: none;
|
|
360
|
+
position: absolute;
|
|
361
|
+
top: 12px;
|
|
362
|
+
left: 12px;
|
|
363
|
+
width: 34px;
|
|
364
|
+
height: 34px;
|
|
365
|
+
align-items: center;
|
|
366
|
+
justify-content: center;
|
|
367
|
+
background: rgba(8, 8, 8, 0.55);
|
|
368
|
+
-webkit-backdrop-filter: blur(12px) saturate(1.05);
|
|
369
|
+
backdrop-filter: blur(12px) saturate(1.05);
|
|
370
|
+
border: 0.5px solid var(--line-strong);
|
|
371
|
+
color: var(--text-soft);
|
|
372
|
+
cursor: pointer;
|
|
373
|
+
z-index: 200;
|
|
374
|
+
transition: color 0.12s, border-color 0.12s, background 0.12s;
|
|
375
|
+
appearance: none;
|
|
376
|
+
padding: 0;
|
|
377
|
+
}
|
|
378
|
+
/* Show floating button only when sidebar is collapsed AND we're
|
|
379
|
+
in the empty / no-room state. When a room is loaded, the
|
|
380
|
+
in-header `.room-head-expand` button takes over instead, so
|
|
381
|
+
the icon doesn't sit on top of the room title. */
|
|
382
|
+
html.no-room body.sidebar-collapsed .sidebar-expand-btn {
|
|
383
|
+
display: inline-flex;
|
|
384
|
+
}
|
|
385
|
+
.sidebar-expand-btn:hover {
|
|
386
|
+
color: var(--lime);
|
|
387
|
+
border-color: var(--lime-dim);
|
|
388
|
+
background: rgba(8, 8, 8, 0.72);
|
|
389
|
+
}
|
|
390
|
+
.sidebar-expand-btn svg { display: block; }
|
|
391
|
+
|
|
392
|
+
/* ─── In-header expand button ───
|
|
393
|
+
Lives at the leading edge of `.room-head` (rendered by
|
|
394
|
+
renderHeader() in app.js). Twin of `.sidebar-collapse-btn` —
|
|
395
|
+
naked CSS-glyph, no border, faint text, lime on hover. The
|
|
396
|
+
▸ glyph mirrors the ◂ on the collapse counterpart so the
|
|
397
|
+
two controls read as a paired set. Hidden by default; shown
|
|
398
|
+
only when the sidebar is collapsed AND a room is loaded. */
|
|
399
|
+
.room-head-expand {
|
|
400
|
+
appearance: none;
|
|
401
|
+
background: var(--panel-3);
|
|
402
|
+
border: 0.5px solid var(--line-strong);
|
|
403
|
+
color: var(--text-soft);
|
|
404
|
+
cursor: pointer;
|
|
405
|
+
width: 24px;
|
|
406
|
+
height: 22px;
|
|
407
|
+
padding: 0;
|
|
408
|
+
line-height: 1;
|
|
409
|
+
font-family: var(--mono);
|
|
410
|
+
font-size: 16px;
|
|
411
|
+
font-weight: 700;
|
|
412
|
+
display: none;
|
|
413
|
+
align-items: center;
|
|
414
|
+
justify-content: center;
|
|
415
|
+
transition: color 0.12s, background 0.12s, border-color 0.12s;
|
|
416
|
+
flex-shrink: 0;
|
|
417
|
+
}
|
|
418
|
+
.room-head-expand::before { content: "›"; }
|
|
419
|
+
body.sidebar-collapsed .room-head-expand {
|
|
420
|
+
display: inline-flex;
|
|
421
|
+
}
|
|
422
|
+
.room-head-expand:hover {
|
|
423
|
+
color: var(--lime);
|
|
424
|
+
border-color: var(--lime-dim);
|
|
425
|
+
background: var(--panel-2);
|
|
426
|
+
}
|
|
427
|
+
.room-head-expand:hover {
|
|
428
|
+
color: var(--lime);
|
|
429
|
+
background: var(--panel-3);
|
|
430
|
+
}
|
|
431
|
+
|
|
290
432
|
/* ─── Sidebar tabs (Rooms / Agents) — segmented control with icon ─── */
|
|
291
433
|
.sidebar-tabs {
|
|
292
434
|
display: flex;
|
|
@@ -422,26 +564,48 @@
|
|
|
422
564
|
flex-shrink: 0;
|
|
423
565
|
}
|
|
424
566
|
.agent-row .agent-row-content { min-width: 0; }
|
|
567
|
+
/* Top-line · matches `.row-top-line` in the rooms list so the
|
|
568
|
+
agent's name + time read with the same baseline/gap rhythm. The
|
|
569
|
+
trailing pin button sits AFTER the time and is hover-revealed,
|
|
570
|
+
so we don't need `space-between` to push it right — `flex: 1` on
|
|
571
|
+
the title handles that. */
|
|
425
572
|
.agent-row .agent-row-top-line {
|
|
426
573
|
display: flex;
|
|
427
|
-
|
|
428
|
-
gap:
|
|
429
|
-
|
|
430
|
-
margin-bottom: 2px;
|
|
574
|
+
align-items: baseline;
|
|
575
|
+
gap: 4px;
|
|
576
|
+
margin-bottom: 1px;
|
|
431
577
|
}
|
|
432
578
|
.agent-row .agent-row-title {
|
|
433
579
|
color: var(--text);
|
|
434
580
|
font-family: var(--font-human);
|
|
435
581
|
font-weight: 600;
|
|
436
|
-
font-size:
|
|
582
|
+
font-size: 14px;
|
|
437
583
|
letter-spacing: -0.005em;
|
|
584
|
+
/* Truncate long agent names with ellipsis instead of wrapping
|
|
585
|
+
to a second line. Without `min-width: 0` here, flex children
|
|
586
|
+
default to min-width: auto = content-size and refuse to
|
|
587
|
+
shrink below their text — which produced the wrapping the
|
|
588
|
+
user saw. `flex: 1 1 0` + `min-width: 0` lets the title
|
|
589
|
+
shrink as needed; the trailing time tag is locked via
|
|
590
|
+
flex-shrink: 0 below so it never gets eaten. */
|
|
591
|
+
flex: 1 1 0;
|
|
592
|
+
min-width: 0;
|
|
593
|
+
white-space: nowrap;
|
|
594
|
+
overflow: hidden;
|
|
595
|
+
text-overflow: ellipsis;
|
|
438
596
|
}
|
|
597
|
+
/* Time tag · same register as `.row-time` in the rooms list
|
|
598
|
+
(10.5px mono, text-dim) so both lists read as one consistent
|
|
599
|
+
"title · time" rhythm. Earlier this was 9px uppercase faint —
|
|
600
|
+
visually a different "kind of metadata" from the rooms time. */
|
|
439
601
|
.agent-row .agent-row-time {
|
|
440
|
-
color: var(--text-
|
|
441
|
-
font-size:
|
|
442
|
-
|
|
602
|
+
color: var(--text-dim);
|
|
603
|
+
font-size: 10.5px;
|
|
604
|
+
font-family: var(--mono);
|
|
605
|
+
letter-spacing: 0;
|
|
606
|
+
text-transform: none;
|
|
443
607
|
white-space: nowrap;
|
|
444
|
-
|
|
608
|
+
flex-shrink: 0;
|
|
445
609
|
}
|
|
446
610
|
.agent-row .agent-row-subtitle {
|
|
447
611
|
font-family: var(--mono);
|
|
@@ -483,7 +647,17 @@
|
|
|
483
647
|
accent · outlined (hairline border + cyan text on transparent
|
|
484
648
|
bg) instead of a solid cyan fill that screamed at the user.
|
|
485
649
|
· Section header reverts to the standard text-faint kicker. */
|
|
486
|
-
|
|
650
|
+
/* Chair row · NOT wrapped in `.agent-row-shell` (the shell provides
|
|
651
|
+
the 1px×6px inset + 4px border-radius for director rows). To make
|
|
652
|
+
the chair's hover/active background match — same inset, same
|
|
653
|
+
rounded corners — fold those rules onto the chair anchor itself.
|
|
654
|
+
Without this, director hover felt "cushioned" while chair hover
|
|
655
|
+
painted edge-to-edge with sharp corners. */
|
|
656
|
+
.agent-row.is-chair {
|
|
657
|
+
background: transparent;
|
|
658
|
+
margin: 1px 6px;
|
|
659
|
+
border-radius: 4px;
|
|
660
|
+
}
|
|
487
661
|
.agent-row.is-chair:hover { background: var(--panel-2); }
|
|
488
662
|
.agent-row.is-chair.active { background: var(--panel-3); }
|
|
489
663
|
.agent-row.is-chair .agent-row-av.chair-av {
|
|
@@ -563,7 +737,7 @@
|
|
|
563
737
|
color: var(--text);
|
|
564
738
|
border: none;
|
|
565
739
|
font-family: var(--sans);
|
|
566
|
-
font-size:
|
|
740
|
+
font-size: 14px;
|
|
567
741
|
font-weight: 500;
|
|
568
742
|
cursor: pointer;
|
|
569
743
|
text-decoration: none;
|
|
@@ -589,8 +763,8 @@
|
|
|
589
763
|
adjacent label without per-icon overrides. */
|
|
590
764
|
.new-btn::before {
|
|
591
765
|
content: "";
|
|
592
|
-
width:
|
|
593
|
-
height:
|
|
766
|
+
width: 16px;
|
|
767
|
+
height: 16px;
|
|
594
768
|
flex-shrink: 0;
|
|
595
769
|
background-color: currentColor;
|
|
596
770
|
/* Inherit `color` from .new-btn so the icon picks up the same
|
|
@@ -602,8 +776,8 @@
|
|
|
602
776
|
mask-repeat: no-repeat;
|
|
603
777
|
-webkit-mask-position: center;
|
|
604
778
|
mask-position: center;
|
|
605
|
-
-webkit-mask-size:
|
|
606
|
-
mask-size:
|
|
779
|
+
-webkit-mask-size: 16px 16px;
|
|
780
|
+
mask-size: 16px 16px;
|
|
607
781
|
transition: color 0.12s;
|
|
608
782
|
}
|
|
609
783
|
/* "New room" · SquarePen (Lucide) — square frame with a pen
|
|
@@ -622,6 +796,53 @@
|
|
|
622
796
|
.new-btn.nav-reports::before {
|
|
623
797
|
--icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/><path d='M14 2v4a2 2 0 0 0 2 2h4'/><path d='M10 9H8'/><path d='M16 13H8'/><path d='M16 17H8'/></svg>");
|
|
624
798
|
}
|
|
799
|
+
/* "All Notes" · Bookmark (Lucide) — pennant-shaped bookmark glyph
|
|
800
|
+
mirroring the qcta save-button icon. Matches the chairman's-notes
|
|
801
|
+
vocabulary across the app (sidebar entry, save action, in-room
|
|
802
|
+
overlay all share the bookmark register). */
|
|
803
|
+
.new-btn.nav-notes::before {
|
|
804
|
+
--icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/></svg>");
|
|
805
|
+
}
|
|
806
|
+
/* All Reports / All Notes nav-button shape · the count badge floats
|
|
807
|
+
to the right of the label, so the link's flex layout grows to fill
|
|
808
|
+
the row. `.nav-label` flex-grows, `.nav-count` is auto-sized and
|
|
809
|
+
hugs the trailing edge. */
|
|
810
|
+
.new-btn.nav-notes,
|
|
811
|
+
.new-btn.nav-reports {
|
|
812
|
+
justify-content: flex-start;
|
|
813
|
+
}
|
|
814
|
+
.new-btn.nav-notes .nav-label,
|
|
815
|
+
.new-btn.nav-reports .nav-label {
|
|
816
|
+
flex: 1;
|
|
817
|
+
min-width: 0;
|
|
818
|
+
}
|
|
819
|
+
/* Count badge · subtle mono micro-tag. Uses --text-faint on its own
|
|
820
|
+
and inherits the link's color cascade on hover/active so the badge
|
|
821
|
+
tracks the label's lime shift. Hidden until at least one item
|
|
822
|
+
exists (the `hidden` attr is removed once count > 0). Same visual
|
|
823
|
+
vocabulary as the section-header .badge below — both render as
|
|
824
|
+
mono pills so the sidebar reads as one consistent counting
|
|
825
|
+
system. */
|
|
826
|
+
.new-btn.nav-notes .nav-count,
|
|
827
|
+
.new-btn.nav-reports .nav-count {
|
|
828
|
+
font-family: var(--mono);
|
|
829
|
+
font-size: 10px;
|
|
830
|
+
font-weight: 600;
|
|
831
|
+
letter-spacing: 0.04em;
|
|
832
|
+
color: var(--text-faint);
|
|
833
|
+
padding: 1px 6px;
|
|
834
|
+
background: var(--panel-3);
|
|
835
|
+
border-radius: 3px;
|
|
836
|
+
flex-shrink: 0;
|
|
837
|
+
transition: color 0.12s, background 0.12s;
|
|
838
|
+
}
|
|
839
|
+
.new-btn.nav-notes:hover .nav-count,
|
|
840
|
+
.new-btn.nav-notes.active .nav-count,
|
|
841
|
+
.new-btn.nav-reports:hover .nav-count,
|
|
842
|
+
.new-btn.nav-reports.active .nav-count {
|
|
843
|
+
color: var(--lime);
|
|
844
|
+
background: rgba(190, 242, 100, 0.08);
|
|
845
|
+
}
|
|
625
846
|
.new-btn:hover {
|
|
626
847
|
background: var(--panel-2);
|
|
627
848
|
color: var(--lime);
|
|
@@ -646,7 +867,17 @@
|
|
|
646
867
|
display: flex;
|
|
647
868
|
align-items: center;
|
|
648
869
|
gap: 6px;
|
|
649
|
-
|
|
870
|
+
/* Trailing count badge column-aligns with the .new-btn.nav-*
|
|
871
|
+
badges above. Geometry:
|
|
872
|
+
nav badge inset · 6px margin + 10px padding = 16px from
|
|
873
|
+
the sidebar edge
|
|
874
|
+
section badge inset · 4px sessions-scroll padding + this
|
|
875
|
+
rule's right padding
|
|
876
|
+
So this rule's right padding must be 16 − 4 = 12px. The
|
|
877
|
+
parent's 4px padding was missed in an earlier version that
|
|
878
|
+
set this to 16px and made the section badges drift 4px
|
|
879
|
+
further left than the nav badges. */
|
|
880
|
+
padding: 8px 12px 4px 10px;
|
|
650
881
|
font-size: 9px;
|
|
651
882
|
color: var(--text-dim);
|
|
652
883
|
text-transform: uppercase;
|
|
@@ -668,12 +899,27 @@
|
|
|
668
899
|
}
|
|
669
900
|
.row-status.paused { color: var(--amber); }
|
|
670
901
|
.section-header .line { flex: 1; border-top: 0.5px dashed var(--line-bright); }
|
|
902
|
+
/* Section badge · same visual vocabulary as .new-btn.nav-* .nav-count
|
|
903
|
+
above so the sidebar reads as one consistent counting system.
|
|
904
|
+
Mono pill, panel-3 bg, faint text, rounded — overrides the
|
|
905
|
+
.section-header parent's sans uppercase letter-spacing because a
|
|
906
|
+
count is a number, not a label. The .live variant still takes its
|
|
907
|
+
pulsing dot via ::before. */
|
|
671
908
|
.section-header .badge {
|
|
672
|
-
font-
|
|
673
|
-
|
|
674
|
-
font-weight:
|
|
675
|
-
|
|
676
|
-
|
|
909
|
+
font-family: var(--mono);
|
|
910
|
+
font-size: 10px;
|
|
911
|
+
font-weight: 600;
|
|
912
|
+
letter-spacing: 0.04em;
|
|
913
|
+
text-transform: none;
|
|
914
|
+
color: var(--text-faint);
|
|
915
|
+
padding: 1px 6px;
|
|
916
|
+
background: var(--panel-3);
|
|
917
|
+
border-radius: 3px;
|
|
918
|
+
flex-shrink: 0;
|
|
919
|
+
}
|
|
920
|
+
.section-header.live .badge {
|
|
921
|
+
color: var(--lime);
|
|
922
|
+
background: rgba(190, 242, 100, 0.08);
|
|
677
923
|
}
|
|
678
924
|
.section-header.live .badge::before {
|
|
679
925
|
content: "● ";
|
|
@@ -687,9 +933,20 @@
|
|
|
687
933
|
}
|
|
688
934
|
.agents-section-header.pinned { color: var(--text-soft); }
|
|
689
935
|
|
|
690
|
-
/* ─── Pin toggle (per-row · hover-revealed for non-pinned) ───
|
|
936
|
+
/* ─── Pin toggle (per-row · hover-revealed for non-pinned) ───
|
|
937
|
+
Positioned absolutely so the in-flow time tag (.agent-row-time /
|
|
938
|
+
.row-time) sits flush against the right edge — same as the rooms
|
|
939
|
+
list. Earlier the pin took 22px (18 + 4 margin) of in-flow width
|
|
940
|
+
even when invisible (opacity:0 still occupies space), which shoved
|
|
941
|
+
the agent's "7h" tag inward compared to the rooms list and made
|
|
942
|
+
the two columns of timestamps look mis-aligned. The row-shell
|
|
943
|
+
ancestor needs `position: relative` for this to anchor correctly. */
|
|
944
|
+
.agent-row-shell, .session-row-shell { position: relative; }
|
|
691
945
|
.row-top-line .pin-toggle,
|
|
692
946
|
.agent-row-top-line .pin-toggle {
|
|
947
|
+
position: absolute;
|
|
948
|
+
top: 8px;
|
|
949
|
+
right: 8px;
|
|
693
950
|
width: 18px;
|
|
694
951
|
height: 18px;
|
|
695
952
|
border: none;
|
|
@@ -700,10 +957,8 @@
|
|
|
700
957
|
align-items: center;
|
|
701
958
|
justify-content: center;
|
|
702
959
|
padding: 0;
|
|
703
|
-
margin-left: 4px;
|
|
704
960
|
opacity: 0;
|
|
705
961
|
transition: opacity 0.12s, color 0.12s;
|
|
706
|
-
flex-shrink: 0;
|
|
707
962
|
}
|
|
708
963
|
.row-top-line .pin-toggle svg,
|
|
709
964
|
.agent-row-top-line .pin-toggle svg {
|
|
@@ -713,6 +968,10 @@
|
|
|
713
968
|
}
|
|
714
969
|
.session-row:hover .pin-toggle,
|
|
715
970
|
.agent-row:hover .pin-toggle { opacity: 0.55; }
|
|
971
|
+
/* Hover · hide the in-flow time so the absolutely-positioned pin
|
|
972
|
+
button has the right edge to itself. Same pattern as the rooms
|
|
973
|
+
list (`.session-row-shell:hover .row-time { visibility: hidden }`). */
|
|
974
|
+
.agent-row-shell:hover .agent-row-time { visibility: hidden; }
|
|
716
975
|
.pin-toggle:hover { opacity: 1 !important; color: var(--lime); }
|
|
717
976
|
.session-row.pinned .pin-toggle,
|
|
718
977
|
.agent-row.pinned .pin-toggle {
|
|
@@ -853,7 +1112,7 @@
|
|
|
853
1112
|
margin-bottom: 1px;
|
|
854
1113
|
}
|
|
855
1114
|
.row-title {
|
|
856
|
-
font-size:
|
|
1115
|
+
font-size: 14px;
|
|
857
1116
|
font-weight: 600;
|
|
858
1117
|
color: var(--text);
|
|
859
1118
|
overflow: hidden;
|
|
@@ -1066,6 +1325,20 @@
|
|
|
1066
1325
|
.main-view[data-main-view="reports"]:hover { scrollbar-width: thin; }
|
|
1067
1326
|
.main-view[data-main-view="reports"]:hover::-webkit-scrollbar-thumb { background: var(--line-bright); }
|
|
1068
1327
|
|
|
1328
|
+
/* All Notes view · same scroll register as All Reports so the two
|
|
1329
|
+
cross-room aggregation destinations read as a paired set. */
|
|
1330
|
+
.main-view[data-main-view="notes"] {
|
|
1331
|
+
display: block;
|
|
1332
|
+
overflow-y: auto;
|
|
1333
|
+
overscroll-behavior: none;
|
|
1334
|
+
scrollbar-width: none;
|
|
1335
|
+
background: var(--panel);
|
|
1336
|
+
}
|
|
1337
|
+
.main-view[data-main-view="notes"]::-webkit-scrollbar-thumb { background: transparent; }
|
|
1338
|
+
.main-view[data-main-view="notes"]::-webkit-scrollbar-track { background: transparent; }
|
|
1339
|
+
.main-view[data-main-view="notes"]:hover { scrollbar-width: thin; }
|
|
1340
|
+
.main-view[data-main-view="notes"]:hover::-webkit-scrollbar-thumb { background: var(--line-bright); }
|
|
1341
|
+
|
|
1069
1342
|
/* Hidden takes precedence over the per-view display rules above.
|
|
1070
1343
|
Declared LAST + with !important so the variant rules (which match
|
|
1071
1344
|
at the same specificity) can never override it back to block —
|
|
@@ -1123,14 +1396,19 @@
|
|
|
1123
1396
|
bg + lime label), same 4px corner radius, same hover (panel-2 bg).
|
|
1124
1397
|
One coherent vocabulary across every segmented control. The count
|
|
1125
1398
|
rides inline after the label as quiet mono micro-type — no nested
|
|
1126
|
-
chip chrome.
|
|
1127
|
-
|
|
1399
|
+
chip chrome.
|
|
1400
|
+
Comma-extended to `.notes-filters` / `.notes-filter-chip` so the
|
|
1401
|
+
All Notes page reuses the exact same chip vocabulary — both
|
|
1402
|
+
cross-room aggregation destinations stay visually identical. */
|
|
1403
|
+
.reports-filters,
|
|
1404
|
+
.notes-filters {
|
|
1128
1405
|
display: flex;
|
|
1129
1406
|
gap: 2px;
|
|
1130
1407
|
margin: 22px 0 6px;
|
|
1131
1408
|
flex-wrap: wrap;
|
|
1132
1409
|
}
|
|
1133
|
-
.reports-filter-chip
|
|
1410
|
+
.reports-filter-chip,
|
|
1411
|
+
.notes-filter-chip {
|
|
1134
1412
|
background: transparent;
|
|
1135
1413
|
border: none;
|
|
1136
1414
|
color: var(--text-dim);
|
|
@@ -1146,27 +1424,67 @@
|
|
|
1146
1424
|
gap: 6px;
|
|
1147
1425
|
transition: background 0.12s, color 0.12s;
|
|
1148
1426
|
}
|
|
1149
|
-
.reports-filter-chip:hover
|
|
1427
|
+
.reports-filter-chip:hover,
|
|
1428
|
+
.notes-filter-chip:hover {
|
|
1150
1429
|
background: var(--panel-2);
|
|
1151
1430
|
color: var(--text-soft);
|
|
1152
1431
|
}
|
|
1153
|
-
.reports-filter-chip.on
|
|
1432
|
+
.reports-filter-chip.on,
|
|
1433
|
+
.notes-filter-chip.on {
|
|
1154
1434
|
background: var(--panel-3);
|
|
1155
1435
|
color: var(--text);
|
|
1156
1436
|
font-weight: 600;
|
|
1157
1437
|
}
|
|
1158
|
-
.reports-filter-count
|
|
1438
|
+
.reports-filter-count,
|
|
1439
|
+
.notes-filter-count {
|
|
1159
1440
|
font-family: var(--mono);
|
|
1160
1441
|
font-size: 10.5px;
|
|
1161
1442
|
color: var(--text-faint);
|
|
1162
1443
|
font-weight: 400;
|
|
1163
1444
|
letter-spacing: 0;
|
|
1164
1445
|
}
|
|
1165
|
-
.reports-filter-chip.on .reports-filter-count
|
|
1446
|
+
.reports-filter-chip.on .reports-filter-count,
|
|
1447
|
+
.notes-filter-chip.on .notes-filter-count { color: var(--text-dim); }
|
|
1166
1448
|
|
|
1167
1449
|
/* ─── Reading list ─────────────────────────────────────────────── */
|
|
1168
1450
|
.reports-list-wrap { margin-top: 18px; }
|
|
1169
1451
|
|
|
1452
|
+
/* Load-more sentinel · sits at the bottom of the list when more
|
|
1453
|
+
items are available beyond the current page (default 20). The
|
|
1454
|
+
IntersectionObserver fires when this enters the viewport (200px
|
|
1455
|
+
pre-roll) and bumps the visible count by 20. The button is also
|
|
1456
|
+
a click target for users who'd rather page explicitly. */
|
|
1457
|
+
.reports-load-sentinel {
|
|
1458
|
+
margin-top: 24px;
|
|
1459
|
+
padding: 16px 0 32px;
|
|
1460
|
+
display: flex;
|
|
1461
|
+
justify-content: center;
|
|
1462
|
+
}
|
|
1463
|
+
.reports-load-more {
|
|
1464
|
+
display: inline-flex;
|
|
1465
|
+
align-items: center;
|
|
1466
|
+
gap: 8px;
|
|
1467
|
+
padding: 8px 16px;
|
|
1468
|
+
background: transparent;
|
|
1469
|
+
color: var(--text-soft);
|
|
1470
|
+
border: 1px solid var(--line-bright);
|
|
1471
|
+
border-radius: 4px;
|
|
1472
|
+
font-family: var(--mono);
|
|
1473
|
+
font-size: 11px;
|
|
1474
|
+
letter-spacing: 0.04em;
|
|
1475
|
+
cursor: pointer;
|
|
1476
|
+
transition: color 0.12s, border-color 0.12s, background 0.12s;
|
|
1477
|
+
}
|
|
1478
|
+
.reports-load-more:hover {
|
|
1479
|
+
color: var(--lime);
|
|
1480
|
+
border-color: var(--lime);
|
|
1481
|
+
background: var(--panel-2);
|
|
1482
|
+
}
|
|
1483
|
+
.reports-load-more-arrow {
|
|
1484
|
+
font-size: 13px;
|
|
1485
|
+
line-height: 1;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1170
1488
|
/* Date-bucket label · sits flush left, hairline rule fills the
|
|
1171
1489
|
remaining width. Reads as a quiet section break. */
|
|
1172
1490
|
.reports-group + .reports-group { margin-top: 32px; }
|
|
@@ -1418,76 +1736,424 @@
|
|
|
1418
1736
|
.reports-item-room { max-width: 140px; }
|
|
1419
1737
|
}
|
|
1420
1738
|
|
|
1421
|
-
/*
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1739
|
+
/* ─── All Notes view · chairman's saved excerpts ──────────────
|
|
1740
|
+
Same column geometry + typographic register as `.reports-page`
|
|
1741
|
+
so the two cross-room aggregation destinations read as a paired
|
|
1742
|
+
set. The substantive difference is the "passage" cell — each
|
|
1743
|
+
note row foregrounds the saved quote with a thick dotted lime
|
|
1744
|
+
underline (text-decoration only, NOT bold-weight type), wrapped
|
|
1745
|
+
by faded sentence-context that gradient-masks toward the
|
|
1746
|
+
edges. The visual treatment is the same overlay the in-room
|
|
1747
|
+
`.note-highlight` uses, so a note seen on this page reads with
|
|
1748
|
+
the same identity when the user jumps back to the source. */
|
|
1749
|
+
.notes-page {
|
|
1750
|
+
max-width: 820px;
|
|
1751
|
+
margin: 0 auto;
|
|
1752
|
+
padding: 56px 48px 80px;
|
|
1431
1753
|
}
|
|
1432
|
-
|
|
1433
|
-
::after below the tag) can escape this container. The room-subject
|
|
1434
|
-
has its own overflow:hidden + text-overflow ellipsis rule, so the
|
|
1435
|
-
long-title truncation behaviour is preserved without needing it
|
|
1436
|
-
at this level. */
|
|
1437
|
-
.room-info { min-width: 0; overflow: visible; }
|
|
1438
|
-
|
|
1439
|
-
.room-id {
|
|
1754
|
+
.notes-page-head {
|
|
1440
1755
|
display: flex;
|
|
1441
|
-
align-items:
|
|
1442
|
-
|
|
1443
|
-
|
|
1756
|
+
align-items: baseline;
|
|
1757
|
+
justify-content: space-between;
|
|
1758
|
+
gap: 16px;
|
|
1759
|
+
margin-bottom: 8px;
|
|
1760
|
+
border-bottom: 0.5px solid var(--line);
|
|
1761
|
+
padding-bottom: 14px;
|
|
1444
1762
|
}
|
|
1445
|
-
.
|
|
1763
|
+
.notes-page-title {
|
|
1764
|
+
font-family: var(--font-human);
|
|
1765
|
+
font-size: 26px;
|
|
1766
|
+
font-weight: 700;
|
|
1767
|
+
letter-spacing: -0.01em;
|
|
1768
|
+
color: var(--text);
|
|
1769
|
+
}
|
|
1770
|
+
.notes-page-kicker {
|
|
1771
|
+
font-family: var(--mono);
|
|
1446
1772
|
font-size: 9.5px;
|
|
1447
|
-
|
|
1448
|
-
background: var(--lime);
|
|
1449
|
-
padding: 1px 7px;
|
|
1773
|
+
letter-spacing: 0.22em;
|
|
1450
1774
|
text-transform: uppercase;
|
|
1451
|
-
|
|
1775
|
+
color: var(--text-faint);
|
|
1452
1776
|
font-weight: 700;
|
|
1777
|
+
margin-bottom: 4px;
|
|
1453
1778
|
}
|
|
1454
|
-
.
|
|
1455
|
-
font-
|
|
1779
|
+
.notes-page-meta {
|
|
1780
|
+
font-family: var(--mono);
|
|
1781
|
+
font-size: 10.5px;
|
|
1782
|
+
letter-spacing: 0.04em;
|
|
1456
1783
|
color: var(--text-dim);
|
|
1457
|
-
text-transform: uppercase;
|
|
1458
|
-
letter-spacing: 0.08em;
|
|
1459
1784
|
}
|
|
1460
1785
|
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
max-width: 100%;
|
|
1786
|
+
/* Date-bucket sections · each opens with its own hairline-divided
|
|
1787
|
+
label row, matching the reports `.reports-group` rhythm. */
|
|
1788
|
+
.notes-group + .notes-group { margin-top: 32px; }
|
|
1789
|
+
.notes-group:first-of-type { margin-top: 22px; }
|
|
1790
|
+
.notes-group-head {
|
|
1791
|
+
display: flex;
|
|
1792
|
+
align-items: baseline;
|
|
1793
|
+
justify-content: space-between;
|
|
1794
|
+
padding-bottom: 8px;
|
|
1795
|
+
border-bottom: 0.5px solid var(--line);
|
|
1796
|
+
margin-bottom: 4px;
|
|
1473
1797
|
}
|
|
1474
|
-
|
|
1475
|
-
Reusable key::value pill used by the room subtitle, the empty-state
|
|
1476
|
-
starter cards, and the onboarding wizard starter cards. Defined
|
|
1477
|
-
unscoped so any context can opt in by adding `meta-tag` (+ optional
|
|
1478
|
-
`tag-tone` / `tag-intensity` / `tag-report` for accent colors). */
|
|
1479
|
-
.meta-tag {
|
|
1480
|
-
display: inline-flex;
|
|
1481
|
-
align-items: stretch;
|
|
1482
|
-
border: 0.5px solid var(--line-bright);
|
|
1483
|
-
background: var(--panel);
|
|
1484
|
-
overflow: hidden;
|
|
1798
|
+
.notes-group-label {
|
|
1485
1799
|
font-family: var(--mono);
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
color: var(--text-
|
|
1800
|
+
font-size: 10px;
|
|
1801
|
+
font-weight: 700;
|
|
1802
|
+
letter-spacing: 0.22em;
|
|
1803
|
+
text-transform: uppercase;
|
|
1804
|
+
color: var(--text-faint);
|
|
1805
|
+
}
|
|
1806
|
+
.notes-group-count {
|
|
1807
|
+
font-family: var(--mono);
|
|
1808
|
+
font-size: 10px;
|
|
1809
|
+
color: var(--text-dim);
|
|
1810
|
+
letter-spacing: 0.04em;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
.notes-list { list-style: none; margin: 0; padding: 0; }
|
|
1814
|
+
.notes-item { border-bottom: 0.5px solid var(--line); }
|
|
1815
|
+
.notes-item:last-child { border-bottom: none; }
|
|
1816
|
+
.notes-item-link {
|
|
1817
|
+
display: block;
|
|
1818
|
+
padding: 18px 4px;
|
|
1819
|
+
text-decoration: none;
|
|
1820
|
+
color: inherit;
|
|
1821
|
+
cursor: pointer;
|
|
1822
|
+
}
|
|
1823
|
+
/* Hover lifts ONLY the meta room-tag + bumps the quote underline
|
|
1824
|
+
to full-lime — the quote text itself stays at --text so the
|
|
1825
|
+
dotted-underline does the focal work. */
|
|
1826
|
+
.notes-item-link:hover .notes-item-room { color: var(--lime); }
|
|
1827
|
+
.notes-item-link:hover .note-quote { text-decoration-color: var(--lime); }
|
|
1828
|
+
|
|
1829
|
+
.notes-item-meta {
|
|
1830
|
+
display: flex;
|
|
1831
|
+
align-items: baseline;
|
|
1832
|
+
gap: 6px;
|
|
1833
|
+
flex-wrap: wrap;
|
|
1834
|
+
font-family: var(--mono);
|
|
1835
|
+
font-size: 9.5px;
|
|
1836
|
+
letter-spacing: 0.14em;
|
|
1837
|
+
text-transform: uppercase;
|
|
1838
|
+
color: var(--text-faint);
|
|
1839
|
+
font-weight: 700;
|
|
1840
|
+
margin-bottom: 8px;
|
|
1841
|
+
}
|
|
1842
|
+
.notes-item-room { color: var(--text-soft); transition: color 0.14s; }
|
|
1843
|
+
.notes-item-subject {
|
|
1844
|
+
color: var(--text-dim);
|
|
1845
|
+
text-transform: none;
|
|
1846
|
+
letter-spacing: -0.005em;
|
|
1847
|
+
font-family: var(--font-human);
|
|
1848
|
+
font-size: 11px;
|
|
1849
|
+
font-weight: 600;
|
|
1850
|
+
overflow: hidden;
|
|
1851
|
+
text-overflow: ellipsis;
|
|
1852
|
+
white-space: nowrap;
|
|
1853
|
+
max-width: 280px;
|
|
1854
|
+
}
|
|
1855
|
+
.notes-item-director {
|
|
1856
|
+
color: var(--text-soft);
|
|
1857
|
+
text-transform: none;
|
|
1858
|
+
letter-spacing: 0;
|
|
1859
|
+
font-family: var(--font-human);
|
|
1860
|
+
font-size: 11px;
|
|
1861
|
+
font-weight: 600;
|
|
1862
|
+
}
|
|
1863
|
+
.notes-item-time {
|
|
1864
|
+
margin-left: auto;
|
|
1865
|
+
color: var(--text-faint);
|
|
1866
|
+
letter-spacing: 0.06em;
|
|
1867
|
+
}
|
|
1868
|
+
.notes-item-sep { color: var(--text-faint); opacity: 0.7; }
|
|
1869
|
+
|
|
1870
|
+
/* The reading passage · context_before + quote + context_after
|
|
1871
|
+
in a single inline flow. Contexts use a horizontal mask-image
|
|
1872
|
+
fade toward the outer edges so the quote sits in a "spotlight"
|
|
1873
|
+
of full-strength text while the surrounding sentences taper
|
|
1874
|
+
visually — reads as "supporting context" without sacrificing
|
|
1875
|
+
readability. The mask applies to every wrapped line, which is
|
|
1876
|
+
what we want: each line's far edge is the "least important"
|
|
1877
|
+
spatially, so each fades. */
|
|
1878
|
+
.notes-item-passage {
|
|
1879
|
+
font-family: var(--font-human);
|
|
1880
|
+
font-size: 14px;
|
|
1881
|
+
line-height: 1.6;
|
|
1882
|
+
color: var(--text);
|
|
1883
|
+
margin: 0;
|
|
1884
|
+
word-break: normal;
|
|
1885
|
+
overflow-wrap: anywhere;
|
|
1886
|
+
}
|
|
1887
|
+
.note-context { color: var(--text-soft); }
|
|
1888
|
+
.note-context-before {
|
|
1889
|
+
-webkit-mask-image: linear-gradient(to right, transparent 0%, black 32%);
|
|
1890
|
+
mask-image: linear-gradient(to right, transparent 0%, black 32%);
|
|
1891
|
+
}
|
|
1892
|
+
.note-context-after {
|
|
1893
|
+
-webkit-mask-image: linear-gradient(to right, black 68%, transparent 100%);
|
|
1894
|
+
mask-image: linear-gradient(to right, black 68%, transparent 100%);
|
|
1895
|
+
}
|
|
1896
|
+
/* The quote span · pure typography accent. Text weight stays
|
|
1897
|
+
normal (do NOT bold the type — it would collide with markdown's
|
|
1898
|
+
own `**emphasis**`); only the underline grows thicker. Dotted
|
|
1899
|
+
style differentiates from inline-link's solid 1px underline.
|
|
1900
|
+
The lime accent identifies the note's identity across the app
|
|
1901
|
+
— the same treatment appears on the in-room highlight overlay. */
|
|
1902
|
+
.note-quote {
|
|
1903
|
+
color: var(--text);
|
|
1904
|
+
text-decoration: underline dotted;
|
|
1905
|
+
text-decoration-thickness: 3px;
|
|
1906
|
+
text-decoration-color: var(--lime-dim);
|
|
1907
|
+
text-underline-offset: 4px;
|
|
1908
|
+
transition: text-decoration-color 0.14s;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/* In-room highlight overlay · injected into director-message
|
|
1912
|
+
`.msg-bubble` text by app.applyNoteHighlightsForMessage. Same
|
|
1913
|
+
visual register as `.note-quote` so a saved span reads with the
|
|
1914
|
+
same identity wherever it appears — the user can re-open a room
|
|
1915
|
+
and see at a glance what they've already collected. Hover
|
|
1916
|
+
strengthens the underline to full lime; the cursor uses `help`
|
|
1917
|
+
so the saved-tooltip is discoverable (the title attr renders
|
|
1918
|
+
"Saved to Notes"). */
|
|
1919
|
+
.note-highlight {
|
|
1920
|
+
text-decoration: underline dotted;
|
|
1921
|
+
text-decoration-thickness: 3px;
|
|
1922
|
+
text-decoration-color: var(--lime-dim);
|
|
1923
|
+
text-underline-offset: 4px;
|
|
1924
|
+
cursor: help;
|
|
1925
|
+
transition: text-decoration-color 0.14s, background 0.18s;
|
|
1926
|
+
}
|
|
1927
|
+
.note-highlight:hover { text-decoration-color: var(--lime); }
|
|
1928
|
+
/* Flash · briefly blooms a soft lime backdrop when the user jumps
|
|
1929
|
+
to a note from the All-Notes view, so the eye lands on the
|
|
1930
|
+
right span. Fades back to the resting underline after 1.6s
|
|
1931
|
+
(matches scrollToNote's setTimeout in app.js). */
|
|
1932
|
+
.note-highlight-flash {
|
|
1933
|
+
animation: note-highlight-flash 1.6s ease-out;
|
|
1934
|
+
}
|
|
1935
|
+
@keyframes note-highlight-flash {
|
|
1936
|
+
0% { background: rgba(190, 242, 100, 0.28); }
|
|
1937
|
+
60% { background: rgba(190, 242, 100, 0.14); }
|
|
1938
|
+
100% { background: transparent; }
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
/* Hover tooltip · custom pop replacing the native `title` attribute
|
|
1942
|
+
so it appears immediately, not after the browser's 1–2s delay.
|
|
1943
|
+
Same visual register as the qcta floating bar (panel-2 surface,
|
|
1944
|
+
hairline border, mono micro-type). pointer-events:none so the
|
|
1945
|
+
tooltip can never block the hover that triggers it. */
|
|
1946
|
+
.note-tip {
|
|
1947
|
+
position: absolute;
|
|
1948
|
+
z-index: 1450;
|
|
1949
|
+
display: none;
|
|
1950
|
+
align-items: center;
|
|
1951
|
+
gap: 6px;
|
|
1952
|
+
background: var(--panel-2);
|
|
1953
|
+
border: 0.5px solid var(--line-strong);
|
|
1954
|
+
font-family: var(--mono);
|
|
1955
|
+
font-size: 11px;
|
|
1956
|
+
letter-spacing: 0.04em;
|
|
1957
|
+
padding: 6px 10px;
|
|
1958
|
+
color: var(--text);
|
|
1959
|
+
white-space: nowrap;
|
|
1960
|
+
pointer-events: none;
|
|
1961
|
+
box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.55);
|
|
1962
|
+
}
|
|
1963
|
+
.note-tip.open { display: inline-flex; }
|
|
1964
|
+
.note-tip-mark {
|
|
1965
|
+
color: var(--lime);
|
|
1966
|
+
font-weight: 700;
|
|
1967
|
+
font-size: 12px;
|
|
1968
|
+
line-height: 1;
|
|
1969
|
+
}
|
|
1970
|
+
.note-tip-label { color: var(--text); }
|
|
1971
|
+
.note-tip-sep { color: var(--text-faint); opacity: 0.7; }
|
|
1972
|
+
.note-tip-meta { color: var(--text-faint); }
|
|
1973
|
+
|
|
1974
|
+
/* Empty state · single placeholder card matching the visual
|
|
1975
|
+
register of `.reports-list-empty`, with a one-line hint and
|
|
1976
|
+
two `.kbd` pills explaining how to save the first note. */
|
|
1977
|
+
.notes-list-empty {
|
|
1978
|
+
margin-top: 28px;
|
|
1979
|
+
padding: 28px 24px 30px;
|
|
1980
|
+
background: var(--panel-2);
|
|
1981
|
+
border: 0.5px solid var(--line);
|
|
1982
|
+
border-radius: 6px;
|
|
1983
|
+
display: flex;
|
|
1984
|
+
flex-direction: column;
|
|
1985
|
+
gap: 10px;
|
|
1986
|
+
align-items: flex-start;
|
|
1987
|
+
}
|
|
1988
|
+
.notes-empty-mark {
|
|
1989
|
+
font-family: var(--mono);
|
|
1990
|
+
font-size: 18px;
|
|
1991
|
+
color: var(--text-faint);
|
|
1992
|
+
line-height: 1;
|
|
1993
|
+
}
|
|
1994
|
+
.notes-empty-title {
|
|
1995
|
+
font-family: var(--font-human);
|
|
1996
|
+
font-size: 15px;
|
|
1997
|
+
font-weight: 600;
|
|
1998
|
+
line-height: 1.3;
|
|
1999
|
+
color: var(--text-soft);
|
|
2000
|
+
}
|
|
2001
|
+
.notes-empty-deck {
|
|
2002
|
+
font-family: var(--font-human);
|
|
2003
|
+
font-size: 12.5px;
|
|
2004
|
+
line-height: 1.6;
|
|
2005
|
+
color: var(--text-dim);
|
|
2006
|
+
max-width: 540px;
|
|
2007
|
+
}
|
|
2008
|
+
.notes-list-empty .kbd {
|
|
2009
|
+
display: inline-flex;
|
|
2010
|
+
align-items: center;
|
|
2011
|
+
font-family: var(--mono);
|
|
2012
|
+
font-size: 10.5px;
|
|
2013
|
+
font-weight: 600;
|
|
2014
|
+
padding: 1px 7px;
|
|
2015
|
+
margin: 0 1px;
|
|
2016
|
+
border: 0.5px solid var(--line-bright);
|
|
2017
|
+
border-radius: 3px;
|
|
2018
|
+
color: var(--text);
|
|
2019
|
+
background: var(--panel-3);
|
|
2020
|
+
}
|
|
2021
|
+
/* Window-empty CTA · "← Show all notes" button shown when a
|
|
2022
|
+
non-All filter has zero matches. Same visual register as
|
|
2023
|
+
`.reports-list-empty-cta`. */
|
|
2024
|
+
.notes-empty-cta {
|
|
2025
|
+
margin-top: 6px;
|
|
2026
|
+
display: inline-flex;
|
|
2027
|
+
align-items: center;
|
|
2028
|
+
gap: 7px;
|
|
2029
|
+
padding: 6px 12px;
|
|
2030
|
+
background: transparent;
|
|
2031
|
+
border: 0.5px solid var(--line-bright);
|
|
2032
|
+
color: var(--text-soft);
|
|
2033
|
+
font-family: var(--mono);
|
|
2034
|
+
font-size: 10px;
|
|
2035
|
+
font-weight: 700;
|
|
2036
|
+
letter-spacing: 0.14em;
|
|
2037
|
+
text-transform: uppercase;
|
|
2038
|
+
cursor: pointer;
|
|
2039
|
+
border-radius: 4px;
|
|
2040
|
+
transition: border-color 0.12s, color 0.12s, background 0.12s;
|
|
2041
|
+
}
|
|
2042
|
+
.notes-empty-cta:hover {
|
|
2043
|
+
border-color: var(--lime);
|
|
2044
|
+
color: var(--lime);
|
|
2045
|
+
background: var(--panel-3);
|
|
2046
|
+
}
|
|
2047
|
+
.notes-empty-cta-arrow {
|
|
2048
|
+
font-family: var(--mono);
|
|
2049
|
+
font-size: 11px;
|
|
2050
|
+
line-height: 1;
|
|
2051
|
+
}
|
|
2052
|
+
/* Wrap around the date-grouped list · matches the reports list
|
|
2053
|
+
wrap so the chip strip → list spacing reads identically. */
|
|
2054
|
+
.notes-list-wrap { margin-top: 18px; }
|
|
2055
|
+
|
|
2056
|
+
/* Loading skeleton · matches `.reports-skeleton` rhythm and
|
|
2057
|
+
reuses its pulse keyframe. */
|
|
2058
|
+
.notes-skeleton {
|
|
2059
|
+
display: flex;
|
|
2060
|
+
flex-direction: column;
|
|
2061
|
+
gap: 18px;
|
|
2062
|
+
margin-top: 32px;
|
|
2063
|
+
}
|
|
2064
|
+
.notes-skeleton-card {
|
|
2065
|
+
height: 84px;
|
|
2066
|
+
background: var(--panel-2);
|
|
2067
|
+
border: 0.5px solid var(--line);
|
|
2068
|
+
border-radius: 4px;
|
|
2069
|
+
animation: reports-skeleton-pulse 1.6s ease-in-out infinite;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
@media (max-width: 720px) {
|
|
2073
|
+
.notes-page { padding: 36px 22px 60px; }
|
|
2074
|
+
.notes-page-title { font-size: 22px; }
|
|
2075
|
+
.notes-item-subject { max-width: 160px; }
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
/* Room head — generously padded so the title has breathing
|
|
2079
|
+
room above and below. */
|
|
2080
|
+
.room-head {
|
|
2081
|
+
background: var(--panel-2);
|
|
2082
|
+
border-bottom: 0.5px solid var(--line-bright);
|
|
2083
|
+
padding: 16px 18px;
|
|
2084
|
+
display: grid;
|
|
2085
|
+
grid-template-columns: 1fr auto;
|
|
2086
|
+
gap: 14px;
|
|
2087
|
+
align-items: center;
|
|
2088
|
+
}
|
|
2089
|
+
/* When the sidebar is collapsed the room-head gains a leading
|
|
2090
|
+
auto-sized track for the in-header `.room-head-expand` button.
|
|
2091
|
+
When expanded the button is display:none, so a 0-width track
|
|
2092
|
+
would still leave a `gap` artifact — switching to a 3-track
|
|
2093
|
+
template only in the collapsed state keeps the header visually
|
|
2094
|
+
identical to before whenever the sidebar is open. */
|
|
2095
|
+
body.sidebar-collapsed .room-head {
|
|
2096
|
+
grid-template-columns: auto 1fr auto;
|
|
2097
|
+
}
|
|
2098
|
+
/* `overflow: visible` so the tone-tag hover tooltip (positioned via
|
|
2099
|
+
::after below the tag) can escape this container. The room-subject
|
|
2100
|
+
has its own overflow:hidden + text-overflow ellipsis rule, so the
|
|
2101
|
+
long-title truncation behaviour is preserved without needing it
|
|
2102
|
+
at this level. */
|
|
2103
|
+
.room-info { min-width: 0; overflow: visible; }
|
|
2104
|
+
|
|
2105
|
+
.room-id {
|
|
2106
|
+
display: flex;
|
|
2107
|
+
align-items: center;
|
|
2108
|
+
gap: 8px;
|
|
2109
|
+
margin-bottom: 6px;
|
|
2110
|
+
}
|
|
2111
|
+
.room-name {
|
|
2112
|
+
font-size: 9.5px;
|
|
2113
|
+
color: var(--bg);
|
|
2114
|
+
background: var(--lime);
|
|
2115
|
+
padding: 1px 7px;
|
|
2116
|
+
text-transform: uppercase;
|
|
2117
|
+
letter-spacing: 0.1em;
|
|
2118
|
+
font-weight: 700;
|
|
2119
|
+
}
|
|
2120
|
+
.session-num {
|
|
2121
|
+
font-size: 9.5px;
|
|
2122
|
+
color: var(--text-dim);
|
|
2123
|
+
text-transform: uppercase;
|
|
2124
|
+
letter-spacing: 0.08em;
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
.room-subject {
|
|
2128
|
+
font-size: 17px;
|
|
2129
|
+
font-weight: 600;
|
|
2130
|
+
color: var(--text);
|
|
2131
|
+
line-height: 1.3;
|
|
2132
|
+
margin-bottom: 10px;
|
|
2133
|
+
font-family: var(--sans);
|
|
2134
|
+
letter-spacing: -0.012em;
|
|
2135
|
+
overflow: hidden;
|
|
2136
|
+
text-overflow: ellipsis;
|
|
2137
|
+
white-space: nowrap;
|
|
2138
|
+
max-width: 100%;
|
|
2139
|
+
}
|
|
2140
|
+
/* ─── Meta tag chip ───
|
|
2141
|
+
Reusable key::value pill used by the room subtitle, the empty-state
|
|
2142
|
+
starter cards, and the onboarding wizard starter cards. Defined
|
|
2143
|
+
unscoped so any context can opt in by adding `meta-tag` (+ optional
|
|
2144
|
+
`tag-tone` / `tag-intensity` / `tag-report` for accent colors). */
|
|
2145
|
+
.meta-tag {
|
|
2146
|
+
display: inline-flex;
|
|
2147
|
+
align-items: stretch;
|
|
2148
|
+
border: 0.5px solid var(--line-bright);
|
|
2149
|
+
background: var(--panel);
|
|
2150
|
+
overflow: hidden;
|
|
2151
|
+
font-family: var(--mono);
|
|
2152
|
+
line-height: 1.4;
|
|
2153
|
+
}
|
|
2154
|
+
.meta-tag .k {
|
|
2155
|
+
background: var(--panel-3);
|
|
2156
|
+
color: var(--text-soft);
|
|
1491
2157
|
text-transform: uppercase;
|
|
1492
2158
|
letter-spacing: 0.14em;
|
|
1493
2159
|
font-size: 9px;
|
|
@@ -1858,20 +2524,30 @@
|
|
|
1858
2524
|
letter-spacing: 0.1em;
|
|
1859
2525
|
}
|
|
1860
2526
|
.view-report-btn:hover { background: var(--bg); color: var(--lime); }
|
|
1861
|
-
/*
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
2527
|
+
/* Generate-report variant · shown in the head when an adjourned
|
|
2528
|
+
room has no brief yet. Active CTA (lime filled, same register as
|
|
2529
|
+
the "View Report" button next door) — clicking POSTs to
|
|
2530
|
+
/api/rooms/:id/brief and kicks off the post-hoc 3-stage pipeline.
|
|
2531
|
+
Replaces the earlier muted `[ ⊘ No Report ]` static span which
|
|
2532
|
+
gave users no path back to a brief once they'd skipped at adjourn. */
|
|
2533
|
+
.view-report-btn.generate-report {
|
|
2534
|
+
display: inline-flex;
|
|
2535
|
+
align-items: center;
|
|
2536
|
+
gap: 6px;
|
|
1870
2537
|
}
|
|
1871
|
-
.view-report-btn.
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
2538
|
+
.view-report-btn.generate-report .vr-mark {
|
|
2539
|
+
font-size: 10px;
|
|
2540
|
+
line-height: 1;
|
|
2541
|
+
}
|
|
2542
|
+
/* Pending state · applied to either the header anchor or the
|
|
2543
|
+
no-brief-card button while the brief pipeline is mid-flight.
|
|
2544
|
+
Reads as "action accepted, working on it" without disabling the
|
|
2545
|
+
surrounding region. */
|
|
2546
|
+
.view-report-btn[data-pending="1"],
|
|
2547
|
+
[data-generate-brief][data-pending="1"] {
|
|
2548
|
+
cursor: progress;
|
|
2549
|
+
opacity: 0.7;
|
|
2550
|
+
pointer-events: none;
|
|
1875
2551
|
}
|
|
1876
2552
|
|
|
1877
2553
|
.adjourned-bar {
|
|
@@ -2052,6 +2728,21 @@
|
|
|
2052
2728
|
text-transform: uppercase;
|
|
2053
2729
|
margin: 0;
|
|
2054
2730
|
}
|
|
2731
|
+
/* Subtle middot separator between meta items (authors · word count).
|
|
2732
|
+
Faint enough that the eye walks the items, not the divider. */
|
|
2733
|
+
.brief-meta-sep {
|
|
2734
|
+
color: var(--text-faint);
|
|
2735
|
+
font-family: var(--mono);
|
|
2736
|
+
font-size: 9px;
|
|
2737
|
+
line-height: 1;
|
|
2738
|
+
opacity: 0.6;
|
|
2739
|
+
}
|
|
2740
|
+
/* Word / character count · same register as `.brief-meta-line` but
|
|
2741
|
+
keep numerals tabular so the figure doesn't jitter while the
|
|
2742
|
+
parent flex-row gets re-rendered (e.g. on tab switch). */
|
|
2743
|
+
.brief-meta-words {
|
|
2744
|
+
font-variant-numeric: tabular-nums;
|
|
2745
|
+
}
|
|
2055
2746
|
|
|
2056
2747
|
/* Signatures · folded into the meta line, no top border */
|
|
2057
2748
|
.brief-signed {
|
|
@@ -2112,44 +2803,54 @@
|
|
|
2112
2803
|
40% { opacity: 1; transform: translateY(-1px); }
|
|
2113
2804
|
}
|
|
2114
2805
|
|
|
2115
|
-
|
|
2806
|
+
/* ── Loading layout · active card + horizontal pip rail ────────
|
|
2807
|
+
Replaces the older 3-row stacked checklist. The active stage
|
|
2808
|
+
gets full visual weight (label + rotating italic sub-line +
|
|
2809
|
+
timing + bottom progress line); the pip rail underneath is the
|
|
2810
|
+
"where am I in the sequence" reference. Container scales from
|
|
2811
|
+
3 to N pips without breaking. */
|
|
2812
|
+
.brief-progress {
|
|
2116
2813
|
display: flex;
|
|
2117
2814
|
flex-direction: column;
|
|
2118
|
-
gap:
|
|
2815
|
+
gap: 14px;
|
|
2816
|
+
padding: 4px 0;
|
|
2119
2817
|
}
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
gap: 2px;
|
|
2132
|
-
min-width: 0;
|
|
2818
|
+
|
|
2819
|
+
/* Active card · the protagonist row. Hairline frame on top + bottom
|
|
2820
|
+
edges only (no left/right border, per project rule against left
|
|
2821
|
+
callout treatments). The bottom edge is overdrawn by the lime
|
|
2822
|
+
progress line as the stage advances. */
|
|
2823
|
+
.brief-active-card {
|
|
2824
|
+
position: relative;
|
|
2825
|
+
padding: 10px 0 14px;
|
|
2826
|
+
border-top: 1px solid var(--line);
|
|
2827
|
+
border-bottom: 1px solid var(--line);
|
|
2828
|
+
min-height: 76px;
|
|
2133
2829
|
}
|
|
2134
|
-
.brief-
|
|
2830
|
+
.brief-active-head {
|
|
2135
2831
|
display: flex;
|
|
2136
2832
|
align-items: baseline;
|
|
2137
|
-
|
|
2833
|
+
justify-content: space-between;
|
|
2834
|
+
gap: 12px;
|
|
2138
2835
|
flex-wrap: wrap;
|
|
2139
2836
|
}
|
|
2140
|
-
.brief-
|
|
2141
|
-
font-family: var(--
|
|
2142
|
-
font-size:
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
transition: opacity 0.2s ease;
|
|
2837
|
+
.brief-active-label {
|
|
2838
|
+
font-family: var(--font-human);
|
|
2839
|
+
font-size: 14px;
|
|
2840
|
+
font-weight: 600;
|
|
2841
|
+
line-height: 1.4;
|
|
2842
|
+
color: var(--text);
|
|
2843
|
+
letter-spacing: 0.005em;
|
|
2148
2844
|
}
|
|
2149
|
-
.brief-
|
|
2845
|
+
.brief-active-card.brief-active-pending .brief-active-label,
|
|
2846
|
+
.brief-active-card.brief-active-done .brief-active-label {
|
|
2150
2847
|
color: var(--text-soft);
|
|
2848
|
+
font-weight: 500;
|
|
2151
2849
|
}
|
|
2152
|
-
.brief-
|
|
2850
|
+
.brief-active-meta {
|
|
2851
|
+
display: inline-flex;
|
|
2852
|
+
align-items: baseline;
|
|
2853
|
+
gap: 10px;
|
|
2153
2854
|
font-family: var(--mono);
|
|
2154
2855
|
font-size: 9.5px;
|
|
2155
2856
|
letter-spacing: 0.06em;
|
|
@@ -2158,72 +2859,200 @@
|
|
|
2158
2859
|
white-space: nowrap;
|
|
2159
2860
|
margin-left: auto;
|
|
2160
2861
|
}
|
|
2161
|
-
.brief-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
.brief-
|
|
2862
|
+
.brief-active-meta .meta-detail { color: var(--text-soft); }
|
|
2863
|
+
.brief-active-meta .meta-timing { color: var(--lime); }
|
|
2864
|
+
.brief-active-card.brief-active-pending .brief-active-meta .meta-timing,
|
|
2865
|
+
.brief-active-card.brief-active-done .brief-active-meta .meta-timing {
|
|
2165
2866
|
color: var(--text-faint);
|
|
2166
|
-
opacity: 0.55;
|
|
2167
|
-
}
|
|
2168
|
-
.brief-stage-row.brief-stage-active {
|
|
2169
|
-
color: var(--text);
|
|
2170
2867
|
}
|
|
2171
|
-
|
|
2868
|
+
/* Italic-serif rotator under the head · changes every 3s while
|
|
2869
|
+
active. Empty placeholder reserves the line so the layout
|
|
2870
|
+
doesn't jump on the first render before substage populates. */
|
|
2871
|
+
.brief-active-substage {
|
|
2872
|
+
font-family: var(--font-headline, "Charter", "Songti SC", Georgia, serif);
|
|
2873
|
+
font-style: italic;
|
|
2874
|
+
font-size: 13px;
|
|
2875
|
+
line-height: 1.55;
|
|
2172
2876
|
color: var(--text-soft);
|
|
2877
|
+
margin-top: 6px;
|
|
2878
|
+
min-height: 20px;
|
|
2173
2879
|
}
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2880
|
+
/* Bottom progress line · overdraws the card's bottom border in
|
|
2881
|
+
lime as elapsed advances. JS sets width via inline style; the
|
|
2882
|
+
CSS transition smooths each tick. */
|
|
2883
|
+
.brief-active-progressline {
|
|
2884
|
+
position: absolute;
|
|
2885
|
+
bottom: -1px;
|
|
2886
|
+
left: 0;
|
|
2887
|
+
height: 1.5px;
|
|
2888
|
+
background: var(--lime);
|
|
2889
|
+
width: 0%;
|
|
2890
|
+
transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
|
|
2891
|
+
pointer-events: none;
|
|
2182
2892
|
}
|
|
2183
|
-
.brief-
|
|
2184
|
-
|
|
2185
|
-
font-weight: 700;
|
|
2893
|
+
.brief-active-card.brief-active-pending .brief-active-progressline {
|
|
2894
|
+
background: var(--text-faint);
|
|
2186
2895
|
}
|
|
2187
|
-
|
|
2188
|
-
|
|
2896
|
+
|
|
2897
|
+
/* Pip rail · horizontal sequence indicator. Each pip = dot + tiny
|
|
2898
|
+
mono caption underneath. Connectors are 1px lines between dots,
|
|
2899
|
+
coloured by the LEFT pip's status so a done→active transition
|
|
2900
|
+
reads as "completed crossing into the present." */
|
|
2901
|
+
.brief-pip-rail {
|
|
2902
|
+
display: flex;
|
|
2903
|
+
align-items: flex-start;
|
|
2904
|
+
padding: 0 2px;
|
|
2189
2905
|
}
|
|
2190
|
-
.brief-
|
|
2191
|
-
|
|
2906
|
+
.brief-pip {
|
|
2907
|
+
display: flex;
|
|
2908
|
+
flex-direction: column;
|
|
2909
|
+
align-items: center;
|
|
2910
|
+
gap: 6px;
|
|
2911
|
+
flex: 0 0 auto;
|
|
2912
|
+
min-width: 0;
|
|
2192
2913
|
}
|
|
2193
|
-
.brief-
|
|
2194
|
-
width:
|
|
2914
|
+
.brief-pip-dot {
|
|
2915
|
+
width: 10px;
|
|
2916
|
+
height: 10px;
|
|
2195
2917
|
border-radius: 50%;
|
|
2918
|
+
border: 1px solid var(--line-bright);
|
|
2919
|
+
background: var(--bg);
|
|
2920
|
+
position: relative;
|
|
2921
|
+
transition: background 0.4s ease, border-color 0.4s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
2922
|
+
}
|
|
2923
|
+
.brief-pip.is-done .brief-pip-dot {
|
|
2196
2924
|
background: var(--lime);
|
|
2197
|
-
|
|
2198
|
-
animation: brief-stage-pulse 1.4s ease-out infinite;
|
|
2925
|
+
border-color: var(--lime);
|
|
2199
2926
|
}
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2927
|
+
.brief-pip.is-done .brief-pip-dot::after {
|
|
2928
|
+
content: "";
|
|
2929
|
+
position: absolute;
|
|
2930
|
+
inset: 2px;
|
|
2931
|
+
border-radius: 50%;
|
|
2932
|
+
background: var(--bg);
|
|
2204
2933
|
}
|
|
2205
|
-
.brief-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
font-family: var(--font-human);
|
|
2210
|
-
font-size: 12.5px;
|
|
2211
|
-
line-height: 1.35;
|
|
2934
|
+
.brief-pip.is-active .brief-pip-dot {
|
|
2935
|
+
background: var(--lime);
|
|
2936
|
+
border-color: var(--lime);
|
|
2937
|
+
animation: brief-pip-pulse 1.4s ease-out infinite;
|
|
2212
2938
|
}
|
|
2213
|
-
|
|
2214
|
-
|
|
2939
|
+
@keyframes brief-pip-pulse {
|
|
2940
|
+
0% { box-shadow: 0 0 0 0 rgba(124, 184, 88, 0.55); }
|
|
2941
|
+
70% { box-shadow: 0 0 0 7px rgba(124, 184, 88, 0); }
|
|
2942
|
+
100% { box-shadow: 0 0 0 0 rgba(124, 184, 88, 0); }
|
|
2215
2943
|
}
|
|
2216
|
-
.brief-
|
|
2944
|
+
.brief-pip-label {
|
|
2217
2945
|
font-family: var(--mono);
|
|
2218
|
-
font-size:
|
|
2219
|
-
letter-spacing: 0.
|
|
2946
|
+
font-size: 9px;
|
|
2947
|
+
letter-spacing: 0.1em;
|
|
2220
2948
|
text-transform: uppercase;
|
|
2221
2949
|
color: var(--text-faint);
|
|
2222
2950
|
white-space: nowrap;
|
|
2951
|
+
line-height: 1;
|
|
2952
|
+
transition: color 0.3s ease;
|
|
2223
2953
|
}
|
|
2224
|
-
.brief-
|
|
2225
|
-
|
|
2954
|
+
.brief-pip.is-active .brief-pip-label { color: var(--lime); font-weight: 700; }
|
|
2955
|
+
.brief-pip.is-done .brief-pip-label { color: var(--text-soft); }
|
|
2956
|
+
|
|
2957
|
+
/* Connector · stretches to fill remaining horizontal space between
|
|
2958
|
+
two pip columns, sits at the dot's vertical center (5px from top
|
|
2959
|
+
of the column). Done connectors are lime; pending stay neutral. */
|
|
2960
|
+
.brief-pip-line {
|
|
2961
|
+
flex: 1 1 0;
|
|
2962
|
+
height: 1px;
|
|
2963
|
+
background: var(--line-bright);
|
|
2964
|
+
margin: 5px 6px 0;
|
|
2965
|
+
align-self: flex-start;
|
|
2966
|
+
transition: background 0.4s ease;
|
|
2967
|
+
}
|
|
2968
|
+
.brief-pip-line.is-done { background: var(--lime); }
|
|
2969
|
+
|
|
2970
|
+
/* One-shot "settle" spring when a pip first transitions to done.
|
|
2971
|
+
The is-fresh-done class is applied by renderBriefStages ONLY on
|
|
2972
|
+
the first render where the pip is done (subsequent re-renders
|
|
2973
|
+
check the per-brief seenDone Set and skip the class). The brief
|
|
2974
|
+
moment of motion reads as a chip falling into place — not a
|
|
2975
|
+
particle, not a flash, just a small spring on the dot. */
|
|
2976
|
+
.brief-pip.is-fresh-done .brief-pip-dot {
|
|
2977
|
+
animation: brief-pip-settle 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
2978
|
+
}
|
|
2979
|
+
@keyframes brief-pip-settle {
|
|
2980
|
+
0% { transform: scale(0.6); }
|
|
2981
|
+
55% { transform: scale(1.18); }
|
|
2982
|
+
100% { transform: scale(1.0); }
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
/* Stats row · accumulates harvested numbers + director chips below
|
|
2986
|
+
the pip rail. Empty by default — the renderer hides the wrapper
|
|
2987
|
+
entirely when no fragments are present so the layout doesn't show
|
|
2988
|
+
a phantom border on first render. */
|
|
2989
|
+
.brief-stats-row {
|
|
2990
|
+
display: flex;
|
|
2991
|
+
flex-wrap: wrap;
|
|
2992
|
+
gap: 6px 10px;
|
|
2993
|
+
align-items: center;
|
|
2994
|
+
padding-top: 10px;
|
|
2995
|
+
border-top: 1px solid var(--line);
|
|
2996
|
+
font-family: var(--mono);
|
|
2997
|
+
font-size: 9.5px;
|
|
2998
|
+
letter-spacing: 0.04em;
|
|
2999
|
+
color: var(--text-faint);
|
|
3000
|
+
}
|
|
3001
|
+
.brief-stat-roster {
|
|
3002
|
+
display: inline-flex;
|
|
3003
|
+
flex-wrap: wrap;
|
|
3004
|
+
gap: 4px;
|
|
3005
|
+
align-items: center;
|
|
3006
|
+
}
|
|
3007
|
+
.brief-stat-chip {
|
|
3008
|
+
display: inline-flex;
|
|
3009
|
+
align-items: center;
|
|
3010
|
+
gap: 5px;
|
|
3011
|
+
padding: 2px 8px;
|
|
3012
|
+
font-family: var(--mono);
|
|
3013
|
+
font-size: 9.5px;
|
|
3014
|
+
letter-spacing: 0.04em;
|
|
3015
|
+
color: var(--text-soft);
|
|
3016
|
+
background: transparent;
|
|
3017
|
+
border: 1px solid var(--line-bright);
|
|
3018
|
+
border-radius: 9px;
|
|
3019
|
+
line-height: 1.45;
|
|
3020
|
+
white-space: nowrap;
|
|
3021
|
+
}
|
|
3022
|
+
/* Top-kind tag · italic afterthought next to the count. The
|
|
3023
|
+
renderer only emits this when the dominant kind has ≥ 2 entries,
|
|
3024
|
+
keeping the chip uncluttered on the long tail. */
|
|
3025
|
+
.brief-stat-chip-tag {
|
|
3026
|
+
font-style: italic;
|
|
3027
|
+
color: var(--text-faint);
|
|
3028
|
+
letter-spacing: 0.02em;
|
|
2226
3029
|
}
|
|
3030
|
+
/* Entrance animation runs ONLY on the render where the chip first
|
|
3031
|
+
appears · the renderer applies `.is-fresh` only when the
|
|
3032
|
+
director's id isn't yet in `_briefSeenHarvestKeys[briefId]`, then
|
|
3033
|
+
drops it on subsequent ticks. Without this gate, every 1-second
|
|
3034
|
+
re-render would re-trigger the keyframe and the chips would fade
|
|
3035
|
+
in over and over (the "flickering" bug). Stagger gives the row a
|
|
3036
|
+
roll-call feel rather than a single dump. */
|
|
3037
|
+
.brief-stat-chip.is-fresh {
|
|
3038
|
+
animation: brief-stat-chip-in 280ms ease-out both;
|
|
3039
|
+
}
|
|
3040
|
+
.brief-stat-chip.is-fresh:nth-child(1) { animation-delay: 0ms; }
|
|
3041
|
+
.brief-stat-chip.is-fresh:nth-child(2) { animation-delay: 60ms; }
|
|
3042
|
+
.brief-stat-chip.is-fresh:nth-child(3) { animation-delay: 120ms; }
|
|
3043
|
+
.brief-stat-chip.is-fresh:nth-child(4) { animation-delay: 180ms; }
|
|
3044
|
+
.brief-stat-chip.is-fresh:nth-child(5) { animation-delay: 240ms; }
|
|
3045
|
+
.brief-stat-chip.is-fresh:nth-child(6) { animation-delay: 300ms; }
|
|
3046
|
+
@keyframes brief-stat-chip-in {
|
|
3047
|
+
0% { opacity: 0; transform: translateY(2px); }
|
|
3048
|
+
100% { opacity: 1; transform: translateY(0); }
|
|
3049
|
+
}
|
|
3050
|
+
.brief-stat-fact {
|
|
3051
|
+
color: var(--text-soft);
|
|
3052
|
+
text-transform: uppercase;
|
|
3053
|
+
letter-spacing: 0.06em;
|
|
3054
|
+
}
|
|
3055
|
+
.brief-stat-fact.brief-stat-live { color: var(--lime); }
|
|
2227
3056
|
|
|
2228
3057
|
/* Brief error / interrupted state · retry button matches the
|
|
2229
3058
|
supplement-row treatment but uses red accent for "something went
|
|
@@ -2261,6 +3090,72 @@
|
|
|
2261
3090
|
line-height: 1;
|
|
2262
3091
|
}
|
|
2263
3092
|
|
|
3093
|
+
/* Salvage-path retry banner · shown when a regeneration fails but a
|
|
3094
|
+
prior successful brief is still available. The banner sits AT the
|
|
3095
|
+
top of the brief area (in flow, not overlay) so the existing
|
|
3096
|
+
report below stays fully visible. Keeps the retry affordance
|
|
3097
|
+
within reach without burying the user's last good output. */
|
|
3098
|
+
.brief-retry-banner {
|
|
3099
|
+
display: flex;
|
|
3100
|
+
align-items: center;
|
|
3101
|
+
gap: 10px;
|
|
3102
|
+
padding: 8px 12px;
|
|
3103
|
+
margin: 0 0 14px;
|
|
3104
|
+
background: color-mix(in srgb, var(--red) 6%, var(--panel-2));
|
|
3105
|
+
border: 0.5px solid color-mix(in srgb, var(--red) 40%, var(--line-bright));
|
|
3106
|
+
font-family: var(--mono);
|
|
3107
|
+
font-size: 11px;
|
|
3108
|
+
color: var(--text);
|
|
3109
|
+
}
|
|
3110
|
+
.brief-retry-banner .brb-mark {
|
|
3111
|
+
color: var(--red);
|
|
3112
|
+
font-size: 12px;
|
|
3113
|
+
line-height: 1;
|
|
3114
|
+
}
|
|
3115
|
+
.brief-retry-banner .brb-text {
|
|
3116
|
+
flex: 1;
|
|
3117
|
+
min-width: 0;
|
|
3118
|
+
color: var(--text-soft);
|
|
3119
|
+
letter-spacing: 0.02em;
|
|
3120
|
+
overflow: hidden;
|
|
3121
|
+
text-overflow: ellipsis;
|
|
3122
|
+
white-space: nowrap;
|
|
3123
|
+
}
|
|
3124
|
+
.brief-retry-banner .brb-retry {
|
|
3125
|
+
display: inline-flex;
|
|
3126
|
+
align-items: center;
|
|
3127
|
+
gap: 5px;
|
|
3128
|
+
padding: 4px 10px;
|
|
3129
|
+
background: transparent;
|
|
3130
|
+
border: 0.5px solid var(--lime);
|
|
3131
|
+
color: var(--lime);
|
|
3132
|
+
cursor: pointer;
|
|
3133
|
+
font-family: var(--mono);
|
|
3134
|
+
font-size: 9.5px;
|
|
3135
|
+
font-weight: 700;
|
|
3136
|
+
letter-spacing: 0.12em;
|
|
3137
|
+
text-transform: uppercase;
|
|
3138
|
+
transition: background 0.12s, color 0.12s;
|
|
3139
|
+
}
|
|
3140
|
+
.brief-retry-banner .brb-retry:hover {
|
|
3141
|
+
background: var(--lime);
|
|
3142
|
+
color: var(--bg);
|
|
3143
|
+
}
|
|
3144
|
+
.brief-retry-banner .brb-retry-mark {
|
|
3145
|
+
font-size: 11px;
|
|
3146
|
+
line-height: 1;
|
|
3147
|
+
}
|
|
3148
|
+
.brief-retry-banner .brb-dismiss {
|
|
3149
|
+
background: transparent;
|
|
3150
|
+
border: none;
|
|
3151
|
+
color: var(--text-faint);
|
|
3152
|
+
cursor: pointer;
|
|
3153
|
+
font-size: 13px;
|
|
3154
|
+
line-height: 1;
|
|
3155
|
+
padding: 2px 4px;
|
|
3156
|
+
}
|
|
3157
|
+
.brief-retry-banner .brb-dismiss:hover { color: var(--red); }
|
|
3158
|
+
|
|
2264
3159
|
/* Brief version tabs · scrollable horizontal strip at the top of
|
|
2265
3160
|
the brief card when ≥ 2 briefs have been filed for this room.
|
|
2266
3161
|
Each tab shows a mono number + a short label (Initial / supplement
|
|
@@ -2348,6 +3243,25 @@
|
|
|
2348
3243
|
.brief-version-tab.active .brief-version-label {
|
|
2349
3244
|
color: var(--text);
|
|
2350
3245
|
}
|
|
3246
|
+
/* Failure marker · small "!" glyph next to the version number when
|
|
3247
|
+
a brief is errored / interrupted / timed-out. Lets the user spot
|
|
3248
|
+
which tab needs retrying without entering it. The full error UI
|
|
3249
|
+
surfaces once the tab is clicked (bypassSalvage path). */
|
|
3250
|
+
.brief-version-state {
|
|
3251
|
+
display: inline-flex;
|
|
3252
|
+
align-items: center;
|
|
3253
|
+
justify-content: center;
|
|
3254
|
+
width: 12px;
|
|
3255
|
+
height: 12px;
|
|
3256
|
+
margin-left: 4px;
|
|
3257
|
+
border-radius: 50%;
|
|
3258
|
+
background: var(--red);
|
|
3259
|
+
color: var(--bg);
|
|
3260
|
+
font-family: var(--mono);
|
|
3261
|
+
font-size: 8.5px;
|
|
3262
|
+
font-weight: 700;
|
|
3263
|
+
line-height: 1;
|
|
3264
|
+
}
|
|
2351
3265
|
|
|
2352
3266
|
/* Add-perspective + delete row · sits at the bottom of the brief
|
|
2353
3267
|
card with a hairline divider above. The supplement button leads
|
|
@@ -2492,63 +3406,544 @@
|
|
|
2492
3406
|
.supplement-body {
|
|
2493
3407
|
padding: 16px 22px 12px;
|
|
2494
3408
|
}
|
|
2495
|
-
.supplement-input {
|
|
2496
|
-
display: block;
|
|
2497
|
-
width: 100%;
|
|
3409
|
+
.supplement-input {
|
|
3410
|
+
display: block;
|
|
3411
|
+
width: 100%;
|
|
3412
|
+
background: var(--bg);
|
|
3413
|
+
border: 0.5px solid var(--line-strong);
|
|
3414
|
+
color: var(--text);
|
|
3415
|
+
font-family: var(--font-human);
|
|
3416
|
+
font-size: 13.5px;
|
|
3417
|
+
line-height: 1.55;
|
|
3418
|
+
padding: 12px 14px;
|
|
3419
|
+
resize: vertical;
|
|
3420
|
+
min-height: 132px;
|
|
3421
|
+
transition: border-color 0.12s;
|
|
3422
|
+
}
|
|
3423
|
+
.supplement-input:focus { outline: none; border-color: var(--lime); }
|
|
3424
|
+
.supplement-input::placeholder {
|
|
3425
|
+
color: var(--text-faint);
|
|
3426
|
+
white-space: pre-wrap;
|
|
3427
|
+
}
|
|
3428
|
+
.supplement-hint {
|
|
3429
|
+
margin: 10px 0 0;
|
|
3430
|
+
font-size: 11.5px;
|
|
3431
|
+
line-height: 1.5;
|
|
3432
|
+
color: var(--text-faint);
|
|
3433
|
+
}
|
|
3434
|
+
.supplement-foot {
|
|
3435
|
+
display: flex;
|
|
3436
|
+
justify-content: flex-end;
|
|
3437
|
+
gap: 10px;
|
|
3438
|
+
padding: 12px 22px 16px;
|
|
3439
|
+
border-top: 0.5px solid var(--line);
|
|
3440
|
+
}
|
|
3441
|
+
.supplement-cancel,
|
|
3442
|
+
.supplement-confirm {
|
|
3443
|
+
font-family: var(--mono);
|
|
3444
|
+
font-size: 10.5px;
|
|
3445
|
+
font-weight: 700;
|
|
3446
|
+
letter-spacing: 0.14em;
|
|
3447
|
+
text-transform: uppercase;
|
|
3448
|
+
padding: 8px 14px;
|
|
3449
|
+
cursor: pointer;
|
|
3450
|
+
background: transparent;
|
|
3451
|
+
border: 0.5px solid var(--line-strong);
|
|
3452
|
+
color: var(--text-soft);
|
|
3453
|
+
transition: border-color 0.1s, color 0.1s, background 0.1s;
|
|
3454
|
+
}
|
|
3455
|
+
.supplement-cancel:hover { border-color: var(--text-soft); color: var(--text); }
|
|
3456
|
+
.supplement-confirm {
|
|
3457
|
+
background: var(--lime);
|
|
3458
|
+
border-color: var(--lime);
|
|
3459
|
+
color: var(--bg);
|
|
3460
|
+
}
|
|
3461
|
+
.supplement-confirm:hover { background: transparent; color: var(--lime); }
|
|
3462
|
+
.supplement-confirm[disabled] {
|
|
3463
|
+
opacity: 0.55;
|
|
3464
|
+
pointer-events: none;
|
|
3465
|
+
}
|
|
3466
|
+
|
|
3467
|
+
/* ─── Follow-up overlay · widens the supplement modal slightly so
|
|
3468
|
+
the multi-field form (subject + cast + tone/intensity) breathes,
|
|
3469
|
+
and adds shape for the parent reference card + form fields.
|
|
3470
|
+
Inherits supplement-overlay's classification / head / footer
|
|
3471
|
+
chrome — only the inside form differs. */
|
|
3472
|
+
.supplement-modal.followup-modal {
|
|
3473
|
+
max-width: 640px;
|
|
3474
|
+
}
|
|
3475
|
+
.followup-parent-card {
|
|
3476
|
+
background: var(--panel-2);
|
|
3477
|
+
border: 0.5px solid var(--line-bright);
|
|
3478
|
+
padding: 10px 14px;
|
|
3479
|
+
margin-bottom: 18px;
|
|
3480
|
+
font-family: var(--mono);
|
|
3481
|
+
}
|
|
3482
|
+
.followup-parent-subject {
|
|
3483
|
+
font-size: 13px;
|
|
3484
|
+
font-weight: 600;
|
|
3485
|
+
color: var(--text);
|
|
3486
|
+
line-height: 1.4;
|
|
3487
|
+
margin-bottom: 4px;
|
|
3488
|
+
}
|
|
3489
|
+
.followup-parent-meta {
|
|
3490
|
+
font-size: 10px;
|
|
3491
|
+
color: var(--text-soft);
|
|
3492
|
+
letter-spacing: 0.06em;
|
|
3493
|
+
text-transform: uppercase;
|
|
3494
|
+
}
|
|
3495
|
+
/* Context note · explains to the user that this room's content
|
|
3496
|
+
will be packaged as the follow-up's prior context. Sits inside
|
|
3497
|
+
the parent reference card with a hairline separator above it
|
|
3498
|
+
so it reads as a footnote on the card, not a separate block. */
|
|
3499
|
+
.followup-parent-note {
|
|
3500
|
+
margin-top: 8px;
|
|
3501
|
+
padding-top: 8px;
|
|
3502
|
+
border-top: 0.5px dashed var(--line-bright);
|
|
3503
|
+
font-family: var(--font-human);
|
|
3504
|
+
font-size: 11.5px;
|
|
3505
|
+
line-height: 1.45;
|
|
3506
|
+
color: var(--text-soft);
|
|
3507
|
+
letter-spacing: -0.003em;
|
|
3508
|
+
text-transform: none;
|
|
3509
|
+
}
|
|
3510
|
+
.followup-field {
|
|
3511
|
+
display: flex;
|
|
3512
|
+
flex-direction: column;
|
|
3513
|
+
margin-bottom: 14px;
|
|
3514
|
+
}
|
|
3515
|
+
.followup-field-label {
|
|
3516
|
+
display: flex;
|
|
3517
|
+
align-items: baseline;
|
|
3518
|
+
gap: 8px;
|
|
3519
|
+
font-family: var(--mono);
|
|
3520
|
+
font-size: 10px;
|
|
3521
|
+
font-weight: 700;
|
|
3522
|
+
letter-spacing: 0.16em;
|
|
3523
|
+
text-transform: uppercase;
|
|
3524
|
+
color: var(--text-soft);
|
|
3525
|
+
margin-bottom: 6px;
|
|
3526
|
+
}
|
|
3527
|
+
.followup-field-hint {
|
|
3528
|
+
font-family: var(--mono);
|
|
3529
|
+
font-size: 9px;
|
|
3530
|
+
font-weight: 400;
|
|
3531
|
+
letter-spacing: 0.08em;
|
|
3532
|
+
color: var(--text-faint);
|
|
3533
|
+
text-transform: uppercase;
|
|
3534
|
+
}
|
|
3535
|
+
/* Cast / tone / intensity row · cast button + tune dropdowns on
|
|
3536
|
+
ONE line, mirroring the new-room composer's toolbar layout
|
|
3537
|
+
(cast left, separator, tune dropdowns) but in a form-row
|
|
3538
|
+
register. The wrapper is `.cmp-tune` so the inline-flex + gap +
|
|
3539
|
+
wrap behaviour is inherited as-is. */
|
|
3540
|
+
.followup-cast-row {
|
|
3541
|
+
align-items: stretch;
|
|
3542
|
+
}
|
|
3543
|
+
.followup-cast-btn {
|
|
3544
|
+
/* Hairline visible at rest in the overlay (vs the toolbar
|
|
3545
|
+
variant which is borderless until hover). Makes the picker
|
|
3546
|
+
obviously interactive in the form context. */
|
|
3547
|
+
border-color: var(--line-bright);
|
|
3548
|
+
}
|
|
3549
|
+
.followup-cast-btn[disabled] {
|
|
3550
|
+
cursor: not-allowed;
|
|
3551
|
+
opacity: 0.7;
|
|
3552
|
+
border-style: dashed;
|
|
3553
|
+
}
|
|
3554
|
+
.followup-cast-btn[data-cast-mode="same-as-last"] {
|
|
3555
|
+
border-color: var(--lime-dim);
|
|
3556
|
+
background: var(--panel-2);
|
|
3557
|
+
}
|
|
3558
|
+
/* Visual separator between cast button and the tune group ·
|
|
3559
|
+
mirrors `.cmp-toolbar-sep` from the inline composer toolbar. */
|
|
3560
|
+
.followup-cast-row-sep {
|
|
3561
|
+
display: inline-block;
|
|
3562
|
+
width: 0.5px;
|
|
3563
|
+
align-self: stretch;
|
|
3564
|
+
background: var(--line-bright);
|
|
3565
|
+
margin: 0 4px;
|
|
3566
|
+
}
|
|
3567
|
+
|
|
3568
|
+
/* "Same cast as last session" checkbox · sits below the cast
|
|
3569
|
+
button. Native checkbox restyled to match the radio chrome
|
|
3570
|
+
used elsewhere in this overlay. */
|
|
3571
|
+
.followup-checkbox {
|
|
3572
|
+
display: flex;
|
|
3573
|
+
align-items: center;
|
|
3574
|
+
gap: 8px;
|
|
3575
|
+
padding: 8px 0 0;
|
|
3576
|
+
font-family: var(--mono);
|
|
3577
|
+
font-size: 12px;
|
|
3578
|
+
color: var(--text-soft);
|
|
3579
|
+
cursor: pointer;
|
|
3580
|
+
user-select: none;
|
|
3581
|
+
}
|
|
3582
|
+
.followup-checkbox input[type="checkbox"] {
|
|
3583
|
+
appearance: none;
|
|
3584
|
+
-webkit-appearance: none;
|
|
3585
|
+
width: 12px; height: 12px;
|
|
3586
|
+
border: 0.5px solid var(--line-strong);
|
|
3587
|
+
background: var(--bg);
|
|
3588
|
+
cursor: pointer;
|
|
3589
|
+
flex-shrink: 0;
|
|
3590
|
+
transition: border-color 0.1s, background 0.1s;
|
|
3591
|
+
position: relative;
|
|
3592
|
+
}
|
|
3593
|
+
.followup-checkbox input[type="checkbox"]:hover { border-color: var(--text-soft); }
|
|
3594
|
+
.followup-checkbox input[type="checkbox"]:checked {
|
|
3595
|
+
background: var(--lime);
|
|
3596
|
+
border-color: var(--lime);
|
|
3597
|
+
}
|
|
3598
|
+
.followup-checkbox input[type="checkbox"]:checked::after {
|
|
3599
|
+
content: "";
|
|
3600
|
+
position: absolute;
|
|
3601
|
+
inset: 2px;
|
|
3602
|
+
background: var(--bg);
|
|
3603
|
+
clip-path: polygon(14% 50%, 0 65%, 38% 100%, 100% 30%, 86% 16%, 38% 70%);
|
|
3604
|
+
}
|
|
3605
|
+
.followup-checkbox input[type="checkbox"]:disabled {
|
|
3606
|
+
opacity: 0.5;
|
|
3607
|
+
cursor: not-allowed;
|
|
3608
|
+
}
|
|
3609
|
+
.followup-checkbox:has(input:checked) { color: var(--text); }
|
|
3610
|
+
|
|
3611
|
+
/* ─── Follow-up tree · parent banner + child list ─────────────────
|
|
3612
|
+
parent banner sits at the top of the chat in a follow-up room
|
|
3613
|
+
(under the room head, before the first message); child list
|
|
3614
|
+
renders below the brief card on a parent room that's spawned
|
|
3615
|
+
follow-ups. Both use the hairline + mono-tag visual register. */
|
|
3616
|
+
.followup-parent-banner {
|
|
3617
|
+
/* Width-match the chat messages cap (960px, centred) so the
|
|
3618
|
+
banner sits flush with the column underneath instead of
|
|
3619
|
+
spanning the full chat scroller on wide monitors. Without
|
|
3620
|
+
this, the banner reads as a viewport-wide alert bar — out
|
|
3621
|
+
of register with everything else. */
|
|
3622
|
+
max-width: 960px;
|
|
3623
|
+
margin: 0 auto 14px;
|
|
3624
|
+
padding: 8px 14px;
|
|
3625
|
+
background: var(--panel-2);
|
|
3626
|
+
border: 0.5px solid var(--line-bright);
|
|
3627
|
+
display: flex;
|
|
3628
|
+
align-items: center;
|
|
3629
|
+
gap: 10px;
|
|
3630
|
+
cursor: pointer;
|
|
3631
|
+
text-decoration: none;
|
|
3632
|
+
font-family: var(--mono);
|
|
3633
|
+
transition: border-color 0.1s, background 0.1s;
|
|
3634
|
+
}
|
|
3635
|
+
.followup-parent-banner:hover {
|
|
3636
|
+
border-color: var(--lime-dim);
|
|
3637
|
+
background: var(--panel-3);
|
|
3638
|
+
}
|
|
3639
|
+
.followup-parent-banner .label {
|
|
3640
|
+
font-size: 9.5px;
|
|
3641
|
+
color: var(--text-soft);
|
|
3642
|
+
letter-spacing: 0.14em;
|
|
3643
|
+
text-transform: uppercase;
|
|
3644
|
+
flex-shrink: 0;
|
|
3645
|
+
}
|
|
3646
|
+
.followup-parent-banner .room-num {
|
|
3647
|
+
font-size: 11px;
|
|
3648
|
+
color: var(--lime);
|
|
3649
|
+
font-weight: 700;
|
|
3650
|
+
flex-shrink: 0;
|
|
3651
|
+
}
|
|
3652
|
+
.followup-parent-banner .subject {
|
|
3653
|
+
font-size: 12px;
|
|
3654
|
+
color: var(--text);
|
|
3655
|
+
flex: 1;
|
|
3656
|
+
min-width: 0;
|
|
3657
|
+
white-space: nowrap;
|
|
3658
|
+
overflow: hidden;
|
|
3659
|
+
text-overflow: ellipsis;
|
|
3660
|
+
}
|
|
3661
|
+
.followup-parent-banner .arrow {
|
|
3662
|
+
font-size: 11px;
|
|
3663
|
+
color: var(--text-dim);
|
|
3664
|
+
flex-shrink: 0;
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3667
|
+
.followup-children {
|
|
3668
|
+
/* Width-match the brief card (.ending-block: max-width 760px,
|
|
3669
|
+
margin auto). The follow-ups list slots in directly below the
|
|
3670
|
+
brief, so they need to share the same gutter — otherwise the
|
|
3671
|
+
follow-ups span full chat width and the alignment breaks. */
|
|
3672
|
+
max-width: 760px;
|
|
3673
|
+
margin: 24px auto 0;
|
|
3674
|
+
padding: 14px 16px;
|
|
3675
|
+
background: var(--panel-2);
|
|
3676
|
+
border: 0.5px solid var(--line);
|
|
3677
|
+
font-family: var(--mono);
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
/* ─── Session analytics card · post-adjourn summary ───
|
|
3681
|
+
Sits below the brief (and any follow-ups) when the room is
|
|
3682
|
+
adjourned. Editorial mood: panel-2 surface, lime banner kicker,
|
|
3683
|
+
hero token-count headline, model-usage stacked bar tinted by
|
|
3684
|
+
provider, "what you valued" highlights at the bottom. Width
|
|
3685
|
+
matches the brief / follow-ups column (760px max, centred). */
|
|
3686
|
+
/* Compact post-adjourn analytics tile · earlier iteration was 22px
|
|
3687
|
+
padding + 22px section gaps + 32px hero numerals, which read as
|
|
3688
|
+
"celebratory dashboard" rather than "summary stripe". Tightened
|
|
3689
|
+
across the board so the tile reads as a dense info row sitting
|
|
3690
|
+
above the brief, not as its own visual event. Hero numerals
|
|
3691
|
+
dropped to 21px, section gaps to 10px, banner padding to 5px,
|
|
3692
|
+
sub-tile padding cut by ~30%. */
|
|
3693
|
+
.session-analytics {
|
|
3694
|
+
max-width: 760px;
|
|
3695
|
+
margin: 18px auto 10px;
|
|
3696
|
+
background: var(--panel-2);
|
|
3697
|
+
border: 0.5px solid var(--line-bright);
|
|
3698
|
+
}
|
|
3699
|
+
.sa-banner {
|
|
3700
|
+
padding: 5px 14px;
|
|
3701
|
+
display: flex;
|
|
3702
|
+
justify-content: space-between;
|
|
3703
|
+
align-items: center;
|
|
3704
|
+
gap: 12px;
|
|
3705
|
+
font-family: var(--mono);
|
|
3706
|
+
border-bottom: 0.5px solid var(--line);
|
|
3707
|
+
background: var(--panel-3);
|
|
3708
|
+
}
|
|
3709
|
+
.sa-banner-tag {
|
|
3710
|
+
font-size: 9.5px;
|
|
3711
|
+
font-weight: 700;
|
|
3712
|
+
letter-spacing: 0.18em;
|
|
3713
|
+
text-transform: uppercase;
|
|
3714
|
+
color: var(--lime);
|
|
3715
|
+
}
|
|
3716
|
+
.sa-banner-stamp {
|
|
3717
|
+
font-size: 9px;
|
|
3718
|
+
letter-spacing: 0.18em;
|
|
3719
|
+
text-transform: uppercase;
|
|
3720
|
+
color: var(--text-faint);
|
|
3721
|
+
}
|
|
3722
|
+
.sa-body {
|
|
3723
|
+
padding: 12px 14px 14px;
|
|
3724
|
+
display: flex;
|
|
3725
|
+
flex-direction: column;
|
|
3726
|
+
gap: 12px;
|
|
3727
|
+
}
|
|
3728
|
+
|
|
3729
|
+
/* Headline metric grid · 4 cells. Hero (tokens) is the only one
|
|
3730
|
+
in accent colour; the others read as siblings at the same size.
|
|
3731
|
+
Compact register · all values 17px, hero 21px, label 9px. */
|
|
3732
|
+
.sa-headline {
|
|
3733
|
+
display: grid;
|
|
3734
|
+
grid-template-columns: 1.4fr 1fr 1fr 1fr;
|
|
3735
|
+
gap: 10px;
|
|
3736
|
+
align-items: end;
|
|
3737
|
+
}
|
|
3738
|
+
@media (max-width: 600px) {
|
|
3739
|
+
.sa-headline { grid-template-columns: 1fr 1fr; }
|
|
3740
|
+
}
|
|
3741
|
+
.sa-metric {
|
|
3742
|
+
display: flex;
|
|
3743
|
+
flex-direction: column;
|
|
3744
|
+
gap: 2px;
|
|
3745
|
+
min-width: 0;
|
|
3746
|
+
}
|
|
3747
|
+
.sa-metric-value {
|
|
3748
|
+
font-family: "SF Mono", "JetBrains Mono", "Menlo", monospace;
|
|
3749
|
+
font-size: 17px;
|
|
3750
|
+
font-weight: 700;
|
|
3751
|
+
color: var(--text);
|
|
3752
|
+
letter-spacing: -0.01em;
|
|
3753
|
+
font-variant-numeric: tabular-nums;
|
|
3754
|
+
line-height: 1;
|
|
3755
|
+
}
|
|
3756
|
+
.sa-metric-hero .sa-metric-value {
|
|
3757
|
+
font-size: 21px;
|
|
3758
|
+
color: var(--lime);
|
|
3759
|
+
}
|
|
3760
|
+
.sa-metric-label {
|
|
3761
|
+
font-family: var(--mono);
|
|
3762
|
+
font-size: 9px;
|
|
3763
|
+
letter-spacing: 0.14em;
|
|
3764
|
+
text-transform: uppercase;
|
|
3765
|
+
color: var(--text-faint);
|
|
3766
|
+
font-weight: 700;
|
|
3767
|
+
}
|
|
3768
|
+
|
|
3769
|
+
/* Model breakdown · stacked bar + legend. Section head sits
|
|
3770
|
+
inline · 9px mono kicker, 6px gap to the bar, 6px height bar
|
|
3771
|
+
(down from 8). Legend rows lose their padding so they read as
|
|
3772
|
+
a dense column not a list. */
|
|
3773
|
+
.sa-section { display: flex; flex-direction: column; gap: 6px; }
|
|
3774
|
+
.sa-section-head {
|
|
3775
|
+
font-family: var(--mono);
|
|
3776
|
+
font-size: 9px;
|
|
3777
|
+
letter-spacing: 0.18em;
|
|
3778
|
+
text-transform: uppercase;
|
|
3779
|
+
font-weight: 700;
|
|
3780
|
+
color: var(--text-soft);
|
|
3781
|
+
}
|
|
3782
|
+
.sa-bar {
|
|
3783
|
+
display: flex;
|
|
3784
|
+
height: 6px;
|
|
3785
|
+
overflow: hidden;
|
|
3786
|
+
background: var(--bg);
|
|
3787
|
+
border: 0.5px solid var(--line);
|
|
3788
|
+
}
|
|
3789
|
+
.sa-bar-seg {
|
|
3790
|
+
height: 100%;
|
|
3791
|
+
transition: opacity 0.15s;
|
|
3792
|
+
}
|
|
3793
|
+
.sa-bar-seg:hover { opacity: 0.85; }
|
|
3794
|
+
.sa-legend {
|
|
3795
|
+
list-style: none;
|
|
3796
|
+
margin: 2px 0 0;
|
|
3797
|
+
padding: 0;
|
|
3798
|
+
display: flex;
|
|
3799
|
+
flex-direction: column;
|
|
3800
|
+
gap: 1px;
|
|
3801
|
+
}
|
|
3802
|
+
.sa-legend-row {
|
|
3803
|
+
display: grid;
|
|
3804
|
+
grid-template-columns: 10px 1fr auto auto;
|
|
3805
|
+
align-items: baseline;
|
|
3806
|
+
gap: 8px;
|
|
3807
|
+
font-family: var(--mono);
|
|
3808
|
+
font-size: 10.5px;
|
|
3809
|
+
color: var(--text-soft);
|
|
3810
|
+
}
|
|
3811
|
+
.sa-legend-swatch {
|
|
3812
|
+
width: 8px;
|
|
3813
|
+
height: 8px;
|
|
3814
|
+
align-self: center;
|
|
3815
|
+
border-radius: 0;
|
|
3816
|
+
}
|
|
3817
|
+
.sa-legend-name {
|
|
3818
|
+
color: var(--text);
|
|
3819
|
+
letter-spacing: -0.003em;
|
|
3820
|
+
}
|
|
3821
|
+
.sa-legend-pct {
|
|
3822
|
+
color: var(--text-soft);
|
|
3823
|
+
font-variant-numeric: tabular-nums;
|
|
3824
|
+
text-align: right;
|
|
3825
|
+
}
|
|
3826
|
+
.sa-legend-tokens {
|
|
3827
|
+
color: var(--text-faint);
|
|
3828
|
+
font-variant-numeric: tabular-nums;
|
|
3829
|
+
text-align: right;
|
|
3830
|
+
min-width: 44px;
|
|
3831
|
+
}
|
|
3832
|
+
|
|
3833
|
+
/* What you valued · chips for counts + list of ▲-voted points.
|
|
3834
|
+
Smaller chip padding + tighter point rows so the section reads
|
|
3835
|
+
as a tight strip rather than a separate panel. */
|
|
3836
|
+
.sa-chips {
|
|
3837
|
+
display: flex;
|
|
3838
|
+
flex-wrap: wrap;
|
|
3839
|
+
gap: 4px;
|
|
3840
|
+
}
|
|
3841
|
+
.sa-chip {
|
|
3842
|
+
display: inline-flex;
|
|
3843
|
+
align-items: center;
|
|
3844
|
+
gap: 4px;
|
|
3845
|
+
padding: 2px 7px;
|
|
3846
|
+
background: var(--bg);
|
|
3847
|
+
border: 0.5px solid var(--line-bright);
|
|
3848
|
+
font-family: var(--mono);
|
|
3849
|
+
font-size: 9.5px;
|
|
3850
|
+
letter-spacing: 0.06em;
|
|
3851
|
+
color: var(--text-soft);
|
|
3852
|
+
}
|
|
3853
|
+
.sa-chip-mark {
|
|
3854
|
+
color: var(--lime);
|
|
3855
|
+
font-weight: 700;
|
|
3856
|
+
}
|
|
3857
|
+
.sa-points {
|
|
3858
|
+
list-style: none;
|
|
3859
|
+
margin: 2px 0 0;
|
|
3860
|
+
padding: 0;
|
|
3861
|
+
display: flex;
|
|
3862
|
+
flex-direction: column;
|
|
3863
|
+
gap: 3px;
|
|
3864
|
+
}
|
|
3865
|
+
.sa-point {
|
|
3866
|
+
display: grid;
|
|
3867
|
+
grid-template-columns: 12px 1fr;
|
|
3868
|
+
gap: 6px;
|
|
3869
|
+
align-items: baseline;
|
|
3870
|
+
padding: 5px 8px;
|
|
2498
3871
|
background: var(--bg);
|
|
2499
|
-
border: 0.5px solid var(--line
|
|
2500
|
-
|
|
3872
|
+
border: 0.5px solid var(--line);
|
|
3873
|
+
}
|
|
3874
|
+
.sa-point-mark {
|
|
3875
|
+
color: var(--lime);
|
|
3876
|
+
font-size: 9.5px;
|
|
3877
|
+
font-weight: 700;
|
|
3878
|
+
line-height: 1.4;
|
|
3879
|
+
}
|
|
3880
|
+
.sa-point-body {
|
|
2501
3881
|
font-family: var(--font-human);
|
|
2502
|
-
font-size:
|
|
2503
|
-
line-height: 1.
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
min-height: 132px;
|
|
2507
|
-
transition: border-color 0.12s;
|
|
3882
|
+
font-size: 12px;
|
|
3883
|
+
line-height: 1.42;
|
|
3884
|
+
color: var(--text);
|
|
3885
|
+
letter-spacing: -0.003em;
|
|
2508
3886
|
}
|
|
2509
|
-
.
|
|
2510
|
-
|
|
3887
|
+
.sa-empty {
|
|
3888
|
+
font-family: var(--mono);
|
|
3889
|
+
font-size: 10px;
|
|
2511
3890
|
color: var(--text-faint);
|
|
2512
|
-
|
|
3891
|
+
letter-spacing: 0.04em;
|
|
2513
3892
|
}
|
|
2514
|
-
.
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
3893
|
+
.followup-children-head {
|
|
3894
|
+
font-size: 10px;
|
|
3895
|
+
color: var(--text-soft);
|
|
3896
|
+
letter-spacing: 0.16em;
|
|
3897
|
+
text-transform: uppercase;
|
|
3898
|
+
font-weight: 700;
|
|
3899
|
+
margin-bottom: 10px;
|
|
2519
3900
|
}
|
|
2520
|
-
.
|
|
3901
|
+
.followup-children-list {
|
|
2521
3902
|
display: flex;
|
|
2522
|
-
|
|
3903
|
+
flex-direction: column;
|
|
3904
|
+
gap: 6px;
|
|
3905
|
+
}
|
|
3906
|
+
.followup-child-tile {
|
|
3907
|
+
display: grid;
|
|
3908
|
+
grid-template-columns: 32px 1fr auto;
|
|
2523
3909
|
gap: 10px;
|
|
2524
|
-
|
|
2525
|
-
|
|
3910
|
+
align-items: center;
|
|
3911
|
+
padding: 8px 10px;
|
|
3912
|
+
background: var(--bg);
|
|
3913
|
+
border: 0.5px solid var(--line);
|
|
3914
|
+
cursor: pointer;
|
|
3915
|
+
text-decoration: none;
|
|
3916
|
+
transition: border-color 0.1s, background 0.1s;
|
|
2526
3917
|
}
|
|
2527
|
-
.
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
3918
|
+
.followup-child-tile:hover {
|
|
3919
|
+
border-color: var(--lime-dim);
|
|
3920
|
+
background: var(--panel);
|
|
3921
|
+
}
|
|
3922
|
+
.followup-child-tile .num {
|
|
3923
|
+
font-size: 9.5px;
|
|
3924
|
+
color: var(--text-faint);
|
|
3925
|
+
letter-spacing: 0.1em;
|
|
3926
|
+
text-align: center;
|
|
2531
3927
|
font-weight: 700;
|
|
2532
|
-
letter-spacing: 0.14em;
|
|
2533
|
-
text-transform: uppercase;
|
|
2534
|
-
padding: 8px 14px;
|
|
2535
|
-
cursor: pointer;
|
|
2536
|
-
background: transparent;
|
|
2537
|
-
border: 0.5px solid var(--line-strong);
|
|
2538
|
-
color: var(--text-soft);
|
|
2539
|
-
transition: border-color 0.1s, color 0.1s, background 0.1s;
|
|
2540
3928
|
}
|
|
2541
|
-
.
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
3929
|
+
.followup-child-tile .subject {
|
|
3930
|
+
font-size: 12px;
|
|
3931
|
+
color: var(--text);
|
|
3932
|
+
line-height: 1.3;
|
|
3933
|
+
white-space: nowrap;
|
|
3934
|
+
overflow: hidden;
|
|
3935
|
+
text-overflow: ellipsis;
|
|
2546
3936
|
}
|
|
2547
|
-
.
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
3937
|
+
.followup-child-tile .meta {
|
|
3938
|
+
font-size: 9.5px;
|
|
3939
|
+
color: var(--text-soft);
|
|
3940
|
+
letter-spacing: 0.06em;
|
|
3941
|
+
text-transform: uppercase;
|
|
3942
|
+
font-weight: 600;
|
|
2551
3943
|
}
|
|
3944
|
+
.followup-child-tile .meta.live { color: var(--lime); }
|
|
3945
|
+
.followup-child-tile .meta.paused { color: var(--amber, #B59560); }
|
|
3946
|
+
.followup-child-tile .meta.adjourned { color: var(--text-dim); }
|
|
2552
3947
|
|
|
2553
3948
|
/* Open CTA · compact pill anchored to the right */
|
|
2554
3949
|
.brief-open {
|
|
@@ -2648,6 +4043,31 @@
|
|
|
2648
4043
|
overflow-y: auto;
|
|
2649
4044
|
background: var(--panel);
|
|
2650
4045
|
padding: 14px 20px 18px;
|
|
4046
|
+
transition: opacity 0.18s ease-out;
|
|
4047
|
+
}
|
|
4048
|
+
/* Note-jump loading state · the user clicked a note in the All
|
|
4049
|
+
Notes view; openRoom is fetching the room body + the notes list
|
|
4050
|
+
before renderChat can scroll to the saved span. Keep the chat
|
|
4051
|
+
invisible while that work happens so the user doesn't see the
|
|
4052
|
+
stale-content → repaint → scroll-to-position transition as a
|
|
4053
|
+
flicker. The class is added at openRoom entry and removed once
|
|
4054
|
+
scrollToNote has landed (with a 1.2s timeout fallback in case
|
|
4055
|
+
the scroll never resolves). */
|
|
4056
|
+
body.note-jump-loading .chat { opacity: 0; }
|
|
4057
|
+
/* Cap reading measure on the inner messages container · pure
|
|
4058
|
+
percentage layout reads as a wall of text on wide monitors
|
|
4059
|
+
(~110+ chars / line) and tanks reading comprehension. ~820px
|
|
4060
|
+
keeps prose around 70-78 chars / line — Bringhurst's comfort
|
|
4061
|
+
band — while still leaving room for tables, tool-use rows
|
|
4062
|
+
(max-width 760px), and message chrome to sit inside without
|
|
4063
|
+
truncation. Centred so the column doesn't drift left of the
|
|
4064
|
+
viewport on ultra-wide displays. The .chat scroller stays
|
|
4065
|
+
full-width so the scrollbar lives at the viewport edge, not
|
|
4066
|
+
beside the prose. */
|
|
4067
|
+
.chat > [data-chat-messages] {
|
|
4068
|
+
max-width: 960px;
|
|
4069
|
+
margin-left: auto;
|
|
4070
|
+
margin-right: auto;
|
|
2651
4071
|
}
|
|
2652
4072
|
|
|
2653
4073
|
/* ─── Tool-use row ───────────────────────────────────────────
|
|
@@ -3463,6 +4883,53 @@
|
|
|
3463
4883
|
.chair-intervention .ci-body strong { color: var(--text); font-weight: 600; }
|
|
3464
4884
|
.chair-intervention .ci-body em { color: var(--lime); font-style: normal; font-weight: 500; }
|
|
3465
4885
|
|
|
4886
|
+
/* Chair-pending placeholder · transient "preparing…" card injected
|
|
4887
|
+
directly into [data-chat-messages] while the chair does silent
|
|
4888
|
+
server-side work (haiku discipline gate, pre-fetch tools, LLM
|
|
4889
|
+
startup). Mirrors the .chair-intervention skeleton — same lime
|
|
4890
|
+
accent, mono kicker, centered layout — but adds the bouncing
|
|
4891
|
+
thinking-dots so the user sees motion. Removed when the real chair
|
|
4892
|
+
bubble lands or the pipeline aborts. */
|
|
4893
|
+
.chair-pending {
|
|
4894
|
+
margin: 14px auto 18px;
|
|
4895
|
+
max-width: 640px;
|
|
4896
|
+
padding: 14px 22px 14px;
|
|
4897
|
+
background: transparent;
|
|
4898
|
+
}
|
|
4899
|
+
.chair-pending .cp-rule {
|
|
4900
|
+
width: 28px;
|
|
4901
|
+
height: 1px;
|
|
4902
|
+
background: var(--lime);
|
|
4903
|
+
margin: 0 auto 10px;
|
|
4904
|
+
opacity: 0.85;
|
|
4905
|
+
}
|
|
4906
|
+
.chair-pending .cp-kicker {
|
|
4907
|
+
text-align: center;
|
|
4908
|
+
font-family: var(--mono);
|
|
4909
|
+
font-size: 9.5px;
|
|
4910
|
+
font-weight: 600;
|
|
4911
|
+
letter-spacing: 0.22em;
|
|
4912
|
+
text-transform: uppercase;
|
|
4913
|
+
color: var(--lime);
|
|
4914
|
+
margin-bottom: 10px;
|
|
4915
|
+
opacity: 0.95;
|
|
4916
|
+
}
|
|
4917
|
+
.chair-pending .cp-body {
|
|
4918
|
+
display: flex;
|
|
4919
|
+
align-items: center;
|
|
4920
|
+
justify-content: center;
|
|
4921
|
+
gap: 10px;
|
|
4922
|
+
font-family: var(--font-agent);
|
|
4923
|
+
font-size: 13.5px;
|
|
4924
|
+
line-height: 1.65;
|
|
4925
|
+
color: var(--text-soft);
|
|
4926
|
+
letter-spacing: -0.005em;
|
|
4927
|
+
}
|
|
4928
|
+
.chair-pending .cp-text {
|
|
4929
|
+
font-style: italic;
|
|
4930
|
+
color: var(--text-faint);
|
|
4931
|
+
}
|
|
4932
|
+
|
|
3466
4933
|
/* Chair billing notice · same skeleton as chair-intervention but with
|
|
3467
4934
|
amber accent so it reads as a warning rather than a moderator
|
|
3468
4935
|
re-frame. Posted by the orchestrator when an upstream API rejects
|
|
@@ -3580,6 +5047,9 @@
|
|
|
3580
5047
|
justify-content: center;
|
|
3581
5048
|
}
|
|
3582
5049
|
.no-brief-card .nb-cta {
|
|
5050
|
+
display: inline-flex;
|
|
5051
|
+
align-items: center;
|
|
5052
|
+
gap: 8px;
|
|
3583
5053
|
font-family: var(--mono);
|
|
3584
5054
|
font-size: 10px;
|
|
3585
5055
|
font-weight: 700;
|
|
@@ -3592,15 +5062,19 @@
|
|
|
3592
5062
|
cursor: pointer;
|
|
3593
5063
|
transition: color 0.12s, border-color 0.12s, background 0.12s;
|
|
3594
5064
|
}
|
|
5065
|
+
.no-brief-card .nb-cta-mark { color: var(--lime); font-size: 11px; line-height: 1; }
|
|
5066
|
+
.no-brief-card .nb-cta-text { line-height: 1; }
|
|
3595
5067
|
.no-brief-card .nb-cta:hover {
|
|
3596
5068
|
color: var(--lime);
|
|
3597
5069
|
border-color: var(--lime);
|
|
3598
5070
|
background: var(--panel-2);
|
|
3599
5071
|
}
|
|
5072
|
+
.no-brief-card .nb-cta:hover .nb-cta-mark { color: var(--lime); }
|
|
3600
5073
|
.no-brief-card .nb-cta[disabled] {
|
|
3601
5074
|
opacity: 0.6;
|
|
3602
5075
|
cursor: not-allowed;
|
|
3603
5076
|
}
|
|
5077
|
+
.no-brief-card .nb-cta[disabled] .nb-cta-mark { color: var(--text-faint); }
|
|
3604
5078
|
|
|
3605
5079
|
.msg {
|
|
3606
5080
|
display: grid;
|
|
@@ -4310,6 +5784,80 @@
|
|
|
4310
5784
|
text-align: center;
|
|
4311
5785
|
}
|
|
4312
5786
|
|
|
5787
|
+
/* Chair's tone-shift proposal callout · sits between the key-points
|
|
5788
|
+
list and the CTAs when the chair appended a MODE-SHIFT block to the
|
|
5789
|
+
round-end output. Mono kicker matches the existing kp-eyebrow
|
|
5790
|
+
register; serif body mirrors a pull-quote so the reasoning reads
|
|
5791
|
+
differently from the procedural ping. */
|
|
5792
|
+
.kp-mode-shift {
|
|
5793
|
+
margin-top: 14px;
|
|
5794
|
+
padding: 10px 12px;
|
|
5795
|
+
border-top: 0.5px solid var(--line-bright);
|
|
5796
|
+
border-bottom: 0.5px solid var(--line-bright);
|
|
5797
|
+
background: color-mix(in srgb, var(--amber) 6%, var(--panel));
|
|
5798
|
+
}
|
|
5799
|
+
.kp-shift-eyebrow {
|
|
5800
|
+
font-family: var(--mono);
|
|
5801
|
+
font-size: 9.5px;
|
|
5802
|
+
color: var(--amber);
|
|
5803
|
+
letter-spacing: 0.16em;
|
|
5804
|
+
text-transform: uppercase;
|
|
5805
|
+
margin-bottom: 6px;
|
|
5806
|
+
}
|
|
5807
|
+
.kp-shift-eyebrow strong {
|
|
5808
|
+
color: var(--amber);
|
|
5809
|
+
font-weight: 700;
|
|
5810
|
+
}
|
|
5811
|
+
.kp-shift-because {
|
|
5812
|
+
font-size: 12.5px;
|
|
5813
|
+
color: var(--text);
|
|
5814
|
+
line-height: 1.45;
|
|
5815
|
+
}
|
|
5816
|
+
/* Suppress the kp-ctas top rule when the mode-shift callout sits
|
|
5817
|
+
directly above it · two adjacent 0.5px borders read as a doubled
|
|
5818
|
+
frame. The mode-shift's own border-bottom is the divider here. */
|
|
5819
|
+
.kp-mode-shift + .kp-ctas {
|
|
5820
|
+
border-top: none;
|
|
5821
|
+
margin-top: 0;
|
|
5822
|
+
padding-top: 12px;
|
|
5823
|
+
}
|
|
5824
|
+
|
|
5825
|
+
/* 3-button layout · only used when the chair proposed a tone shift
|
|
5826
|
+
(kp-ctas-shift). The primary "switch to <tone>" action takes ~50%
|
|
5827
|
+
of the row and each ghost button takes ~25%. Without this, three
|
|
5828
|
+
`flex: 1` buttons compress each to ~33% width and longer tone
|
|
5829
|
+
names ("constructive", "brainstorm") wrap inside the button.
|
|
5830
|
+
The wrap fallback (`flex-wrap: wrap` + flex-basis on each item)
|
|
5831
|
+
handles narrow chat viewports: when the row can't fit all three
|
|
5832
|
+
side-by-side, the primary spans the row and the two ghosts share
|
|
5833
|
+
the line below. Letter-spacing and uppercase are also relaxed for
|
|
5834
|
+
this row so the labels stay narrow. */
|
|
5835
|
+
.kp-ctas-shift { flex-wrap: wrap; }
|
|
5836
|
+
.kp-ctas-shift .kp-cta.primary { flex: 2 1 240px; }
|
|
5837
|
+
.kp-ctas-shift .kp-cta.ghost { flex: 1 1 110px; }
|
|
5838
|
+
.kp-ctas-shift .kp-cta {
|
|
5839
|
+
text-transform: none;
|
|
5840
|
+
letter-spacing: 0.04em;
|
|
5841
|
+
padding: 8px 10px;
|
|
5842
|
+
}
|
|
5843
|
+
|
|
5844
|
+
/* Degraded round-end card · shown when the chair finished streaming
|
|
5845
|
+
but the parser couldn't extract any key points from the body.
|
|
5846
|
+
Quieter eyebrow than the regular kp-eyebrow so the user reads it
|
|
5847
|
+
as "this round didn't produce a vote ballot" rather than an error.
|
|
5848
|
+
The continue / adjourn buttons below stay primary so the room can
|
|
5849
|
+
still move forward. Earlier failure mode here was an indefinite
|
|
5850
|
+
"drafting key points…" lock-up because the skeleton kept rendering
|
|
5851
|
+
after streaming ended. */
|
|
5852
|
+
.kp-eyebrow-degraded {
|
|
5853
|
+
font-family: var(--mono);
|
|
5854
|
+
font-size: 9.5px;
|
|
5855
|
+
color: var(--text-faint);
|
|
5856
|
+
letter-spacing: 0.16em;
|
|
5857
|
+
text-transform: uppercase;
|
|
5858
|
+
margin-bottom: 10px;
|
|
5859
|
+
}
|
|
5860
|
+
|
|
4313
5861
|
/* Inline @mention / /handle pill. Two flavours so the addressee is
|
|
4314
5862
|
glanceable: agent mentions get amber, user mentions get lime.
|
|
4315
5863
|
Unscoped so the styling lands in any context (chat bubble, convene
|
|
@@ -5597,6 +7145,21 @@
|
|
|
5597
7145
|
transform: rotate(180deg);
|
|
5598
7146
|
}
|
|
5599
7147
|
|
|
7148
|
+
/* Composer-toolbar fitting for the reused .ap-skill-row-toggle
|
|
7149
|
+
vocabulary · same control as agent-profile's web-search row but
|
|
7150
|
+
in a slightly different surrounding context (cmp-toolbar is
|
|
7151
|
+
denser than the skill row). Just whitespace tuning — the toggle
|
|
7152
|
+
visuals come from agent-profile.css. */
|
|
7153
|
+
.cmp-toolbar .cmp-ws-toggle {
|
|
7154
|
+
/* Full label + state takes more horizontal room than the
|
|
7155
|
+
cmp-dd dropdowns; tighten letter-spacing slightly so the row
|
|
7156
|
+
still fits the model dropdown + manual button + Convene CTA
|
|
7157
|
+
without wrapping at common widths. */
|
|
7158
|
+
letter-spacing: 0.12em;
|
|
7159
|
+
padding-left: 4px;
|
|
7160
|
+
padding-right: 4px;
|
|
7161
|
+
}
|
|
7162
|
+
|
|
5600
7163
|
/* Tune dropdown · row layout matches the director picker exactly:
|
|
5601
7164
|
same padding (5px 10px), same name (12.5px sans) + tag (8.5px
|
|
5602
7165
|
mono uppercase) inline-baseline pairing, same active treatment
|
|
@@ -5850,41 +7413,153 @@
|
|
|
5850
7413
|
text-transform: uppercase;
|
|
5851
7414
|
color: var(--text-soft);
|
|
5852
7415
|
}
|
|
5853
|
-
.ag-cmp-dots {
|
|
5854
|
-
display: inline-flex;
|
|
5855
|
-
gap: 3px;
|
|
5856
|
-
margin-left: 6px;
|
|
5857
|
-
vertical-align: middle;
|
|
7416
|
+
.ag-cmp-dots {
|
|
7417
|
+
display: inline-flex;
|
|
7418
|
+
gap: 3px;
|
|
7419
|
+
margin-left: 6px;
|
|
7420
|
+
vertical-align: middle;
|
|
7421
|
+
}
|
|
7422
|
+
.ag-cmp-dots i {
|
|
7423
|
+
width: 4px; height: 4px;
|
|
7424
|
+
border-radius: 50%;
|
|
7425
|
+
background: var(--lime);
|
|
7426
|
+
display: inline-block;
|
|
7427
|
+
animation: ag-cmp-bounce 1.1s ease-in-out infinite;
|
|
7428
|
+
}
|
|
7429
|
+
.ag-cmp-dots i:nth-child(2) { animation-delay: 0.18s; }
|
|
7430
|
+
.ag-cmp-dots i:nth-child(3) { animation-delay: 0.36s; }
|
|
7431
|
+
@keyframes ag-cmp-bounce {
|
|
7432
|
+
0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
|
|
7433
|
+
40% { opacity: 1; transform: translateY(-2px); }
|
|
7434
|
+
}
|
|
7435
|
+
.cmp-input-frame.is-generating {
|
|
7436
|
+
opacity: 0.7;
|
|
7437
|
+
}
|
|
7438
|
+
|
|
7439
|
+
/* ─── Agent generation · animated stage card ───────────────────
|
|
7440
|
+
Replaces the single "Generating…" deck. Shows a numbered checklist
|
|
7441
|
+
of what the LLM is producing right now (imagining → naming → bio
|
|
7442
|
+
→ cover quote → instruction → voice → polish). Each stage ticks
|
|
7443
|
+
done on a timer; the active row pulses lime. */
|
|
7444
|
+
.ag-gen-card {
|
|
7445
|
+
margin-top: 22px;
|
|
7446
|
+
background: var(--panel-2);
|
|
7447
|
+
border: 0.5px solid var(--line-bright);
|
|
7448
|
+
padding: 18px 22px 16px;
|
|
7449
|
+
position: relative;
|
|
7450
|
+
overflow: hidden;
|
|
7451
|
+
}
|
|
7452
|
+
/* Recovery card · shown when /generate-spec hits the 5-min hard
|
|
7453
|
+
timeout or returns an error. Same outer shell as ag-gen-card so
|
|
7454
|
+
the layout doesn't jump between generating → error. */
|
|
7455
|
+
.ag-gen-error-card {
|
|
7456
|
+
margin-top: 22px;
|
|
7457
|
+
background: var(--panel-2);
|
|
7458
|
+
border: 0.5px solid var(--amber, #B59560);
|
|
7459
|
+
padding: 22px 24px 20px;
|
|
7460
|
+
}
|
|
7461
|
+
.ag-gen-error-kicker {
|
|
7462
|
+
font-family: var(--mono);
|
|
7463
|
+
font-size: 9.5px;
|
|
7464
|
+
letter-spacing: 0.16em;
|
|
7465
|
+
text-transform: uppercase;
|
|
7466
|
+
color: var(--amber, #B59560);
|
|
7467
|
+
margin-bottom: 10px;
|
|
7468
|
+
}
|
|
7469
|
+
.ag-gen-error-title {
|
|
7470
|
+
font-family: var(--font-human);
|
|
7471
|
+
font-size: 18px;
|
|
7472
|
+
font-weight: 600;
|
|
7473
|
+
color: var(--text);
|
|
7474
|
+
line-height: 1.35;
|
|
7475
|
+
margin: 0 0 10px;
|
|
7476
|
+
}
|
|
7477
|
+
.ag-gen-error-hint {
|
|
7478
|
+
font-family: var(--font-human);
|
|
7479
|
+
font-size: 13.5px;
|
|
7480
|
+
line-height: 1.55;
|
|
7481
|
+
color: var(--text-soft);
|
|
7482
|
+
margin: 0 0 12px;
|
|
7483
|
+
}
|
|
7484
|
+
.ag-gen-error-detail {
|
|
7485
|
+
font-family: var(--mono);
|
|
7486
|
+
font-size: 10.5px;
|
|
7487
|
+
line-height: 1.55;
|
|
7488
|
+
color: var(--text-faint);
|
|
7489
|
+
background: var(--bg);
|
|
7490
|
+
border: 0.5px solid var(--line);
|
|
7491
|
+
padding: 8px 12px;
|
|
7492
|
+
margin: 0 0 14px;
|
|
7493
|
+
word-break: break-word;
|
|
7494
|
+
max-height: 120px;
|
|
7495
|
+
overflow-y: auto;
|
|
7496
|
+
}
|
|
7497
|
+
.ag-gen-error-desc {
|
|
7498
|
+
margin: 0 0 16px;
|
|
7499
|
+
padding-top: 12px;
|
|
7500
|
+
border-top: 0.5px solid var(--line);
|
|
7501
|
+
}
|
|
7502
|
+
.ag-gen-error-desc-label {
|
|
7503
|
+
font-family: var(--mono);
|
|
7504
|
+
font-size: 9.5px;
|
|
7505
|
+
letter-spacing: 0.12em;
|
|
7506
|
+
text-transform: uppercase;
|
|
7507
|
+
color: var(--text-faint);
|
|
7508
|
+
margin-bottom: 6px;
|
|
7509
|
+
}
|
|
7510
|
+
.ag-gen-error-desc-body {
|
|
7511
|
+
font-family: var(--font-human);
|
|
7512
|
+
font-size: 13px;
|
|
7513
|
+
line-height: 1.55;
|
|
7514
|
+
color: var(--text-soft);
|
|
7515
|
+
}
|
|
7516
|
+
.ag-gen-error-actions {
|
|
7517
|
+
display: flex;
|
|
7518
|
+
align-items: center;
|
|
7519
|
+
gap: 12px;
|
|
5858
7520
|
}
|
|
5859
|
-
.ag-
|
|
5860
|
-
|
|
5861
|
-
border-radius: 50%;
|
|
7521
|
+
.ag-gen-error-retry {
|
|
7522
|
+
appearance: none;
|
|
5862
7523
|
background: var(--lime);
|
|
5863
|
-
|
|
5864
|
-
|
|
7524
|
+
color: var(--bg);
|
|
7525
|
+
border: 0.5px solid var(--lime);
|
|
7526
|
+
padding: 9px 18px;
|
|
7527
|
+
font-family: var(--mono);
|
|
7528
|
+
font-size: 11px;
|
|
7529
|
+
font-weight: 700;
|
|
7530
|
+
letter-spacing: 0.14em;
|
|
7531
|
+
text-transform: uppercase;
|
|
7532
|
+
cursor: pointer;
|
|
7533
|
+
display: inline-flex;
|
|
7534
|
+
align-items: center;
|
|
7535
|
+
gap: 8px;
|
|
7536
|
+
transition: background 0.12s, color 0.12s;
|
|
5865
7537
|
}
|
|
5866
|
-
.ag-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
|
|
5870
|
-
40% { opacity: 1; transform: translateY(-2px); }
|
|
7538
|
+
.ag-gen-error-retry:hover {
|
|
7539
|
+
background: transparent;
|
|
7540
|
+
color: var(--lime);
|
|
5871
7541
|
}
|
|
5872
|
-
.
|
|
5873
|
-
|
|
7542
|
+
.ag-gen-error-retry-mark {
|
|
7543
|
+
font-size: 13px;
|
|
7544
|
+
line-height: 1;
|
|
5874
7545
|
}
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
→ cover quote → instruction → voice → polish). Each stage ticks
|
|
5880
|
-
done on a timer; the active row pulses lime. */
|
|
5881
|
-
.ag-gen-card {
|
|
5882
|
-
margin-top: 22px;
|
|
5883
|
-
background: var(--panel-2);
|
|
7546
|
+
.ag-gen-error-discard {
|
|
7547
|
+
appearance: none;
|
|
7548
|
+
background: transparent;
|
|
7549
|
+
color: var(--text-soft);
|
|
5884
7550
|
border: 0.5px solid var(--line-bright);
|
|
5885
|
-
padding:
|
|
5886
|
-
|
|
5887
|
-
|
|
7551
|
+
padding: 9px 16px;
|
|
7552
|
+
font-family: var(--mono);
|
|
7553
|
+
font-size: 10.5px;
|
|
7554
|
+
font-weight: 600;
|
|
7555
|
+
letter-spacing: 0.12em;
|
|
7556
|
+
text-transform: uppercase;
|
|
7557
|
+
cursor: pointer;
|
|
7558
|
+
transition: color 0.12s, border-color 0.12s;
|
|
7559
|
+
}
|
|
7560
|
+
.ag-gen-error-discard:hover {
|
|
7561
|
+
color: var(--text);
|
|
7562
|
+
border-color: var(--text-soft);
|
|
5888
7563
|
}
|
|
5889
7564
|
/* Subtle scanline texture across the card · adds an "active system"
|
|
5890
7565
|
atmosphere without being distracting. Slow upward drift. */
|
|
@@ -6663,6 +8338,119 @@
|
|
|
6663
8338
|
color: var(--lime);
|
|
6664
8339
|
}
|
|
6665
8340
|
|
|
8341
|
+
/* ─── Brief picker popover · the [View Report] click target on
|
|
8342
|
+
multi-brief rooms. Anchored under the room-head's button via
|
|
8343
|
+
position: fixed and right-aligned so it visually drops out of
|
|
8344
|
+
the trigger. Each row is a plain anchor to /report.html so
|
|
8345
|
+
middle-click / cmd-click work for opening multiple reports
|
|
8346
|
+
in tabs. ─── */
|
|
8347
|
+
.brief-picker-pop {
|
|
8348
|
+
position: fixed;
|
|
8349
|
+
z-index: 9001;
|
|
8350
|
+
width: 380px;
|
|
8351
|
+
max-width: calc(100vw - 32px);
|
|
8352
|
+
overflow-y: auto;
|
|
8353
|
+
background: var(--panel);
|
|
8354
|
+
border: 0.5px solid var(--line-strong);
|
|
8355
|
+
}
|
|
8356
|
+
.brief-picker-head {
|
|
8357
|
+
display: flex;
|
|
8358
|
+
justify-content: space-between;
|
|
8359
|
+
align-items: baseline;
|
|
8360
|
+
padding: 8px 12px;
|
|
8361
|
+
border-bottom: 0.5px solid var(--line);
|
|
8362
|
+
}
|
|
8363
|
+
.brief-picker-title-head {
|
|
8364
|
+
font-family: var(--mono);
|
|
8365
|
+
font-size: 14px;
|
|
8366
|
+
font-weight: 700;
|
|
8367
|
+
letter-spacing: 0.04em;
|
|
8368
|
+
color: var(--text);
|
|
8369
|
+
}
|
|
8370
|
+
.brief-picker-count {
|
|
8371
|
+
font-family: var(--mono);
|
|
8372
|
+
font-size: 10px;
|
|
8373
|
+
letter-spacing: 0.08em;
|
|
8374
|
+
color: var(--text-faint);
|
|
8375
|
+
background: var(--panel-2);
|
|
8376
|
+
border: 0.5px solid var(--line);
|
|
8377
|
+
padding: 2px 8px;
|
|
8378
|
+
}
|
|
8379
|
+
.brief-picker-list {
|
|
8380
|
+
padding: 2px 0;
|
|
8381
|
+
}
|
|
8382
|
+
.brief-picker-row {
|
|
8383
|
+
display: grid;
|
|
8384
|
+
grid-template-columns: 32px 1fr auto auto;
|
|
8385
|
+
gap: 10px;
|
|
8386
|
+
align-items: center;
|
|
8387
|
+
padding: 10px 12px;
|
|
8388
|
+
text-decoration: none;
|
|
8389
|
+
color: inherit;
|
|
8390
|
+
border-bottom: 0.5px solid var(--line);
|
|
8391
|
+
transition: background 0.1s;
|
|
8392
|
+
}
|
|
8393
|
+
.brief-picker-row:last-child { border-bottom: none; }
|
|
8394
|
+
.brief-picker-row:hover { background: var(--panel-2); }
|
|
8395
|
+
.brief-picker-num {
|
|
8396
|
+
font-family: var(--mono);
|
|
8397
|
+
font-size: 11px;
|
|
8398
|
+
font-weight: 700;
|
|
8399
|
+
color: var(--text-faint);
|
|
8400
|
+
letter-spacing: 0.06em;
|
|
8401
|
+
}
|
|
8402
|
+
.brief-picker-row:hover .brief-picker-num { color: var(--lime); }
|
|
8403
|
+
.brief-picker-main {
|
|
8404
|
+
display: flex;
|
|
8405
|
+
flex-direction: column;
|
|
8406
|
+
gap: 2px;
|
|
8407
|
+
min-width: 0;
|
|
8408
|
+
}
|
|
8409
|
+
.brief-picker-title {
|
|
8410
|
+
font-family: var(--font-human, system-ui, sans-serif);
|
|
8411
|
+
font-size: 13px;
|
|
8412
|
+
font-weight: 600;
|
|
8413
|
+
color: var(--text);
|
|
8414
|
+
line-height: 1.3;
|
|
8415
|
+
overflow: hidden;
|
|
8416
|
+
display: -webkit-box;
|
|
8417
|
+
-webkit-line-clamp: 2;
|
|
8418
|
+
-webkit-box-orient: vertical;
|
|
8419
|
+
}
|
|
8420
|
+
.brief-picker-sub {
|
|
8421
|
+
font-family: var(--mono);
|
|
8422
|
+
font-size: 10px;
|
|
8423
|
+
letter-spacing: 0.04em;
|
|
8424
|
+
color: var(--text-faint);
|
|
8425
|
+
overflow: hidden;
|
|
8426
|
+
text-overflow: ellipsis;
|
|
8427
|
+
white-space: nowrap;
|
|
8428
|
+
}
|
|
8429
|
+
.brief-picker-time {
|
|
8430
|
+
font-family: var(--mono);
|
|
8431
|
+
font-size: 9.5px;
|
|
8432
|
+
letter-spacing: 0.04em;
|
|
8433
|
+
color: var(--text-faint);
|
|
8434
|
+
white-space: nowrap;
|
|
8435
|
+
}
|
|
8436
|
+
.brief-picker-arrow {
|
|
8437
|
+
font-family: var(--mono);
|
|
8438
|
+
font-size: 12px;
|
|
8439
|
+
color: var(--text-faint);
|
|
8440
|
+
transition: color 0.12s, transform 0.12s;
|
|
8441
|
+
}
|
|
8442
|
+
.brief-picker-row:hover .brief-picker-arrow {
|
|
8443
|
+
color: var(--lime);
|
|
8444
|
+
transform: translate(2px, -2px);
|
|
8445
|
+
}
|
|
8446
|
+
/* The "· N" count chip rendered inline with the View Report button
|
|
8447
|
+
when multiple briefs exist · subtle, blends with the bracket
|
|
8448
|
+
monospace label, mirrors how `.session-num` reads. */
|
|
8449
|
+
.view-report-btn .vr-count {
|
|
8450
|
+
color: var(--text-faint);
|
|
8451
|
+
font-weight: 500;
|
|
8452
|
+
}
|
|
8453
|
+
|
|
6666
8454
|
/* Convene opener · the room's seed question, distinct from chat bubbles. */
|
|
6667
8455
|
.convene-opener {
|
|
6668
8456
|
margin: 0 auto 24px;
|
|
@@ -6700,6 +8488,44 @@
|
|
|
6700
8488
|
margin: 0 0 10px;
|
|
6701
8489
|
}
|
|
6702
8490
|
.convene-body p { margin: 0; }
|
|
8491
|
+
|
|
8492
|
+
/* Long-opener clamp · when the user wrote more than a sentence of
|
|
8493
|
+
context, the card would otherwise dominate the viewport. We
|
|
8494
|
+
clamp the body to ~2.5 lines with a fade-out overlay; a
|
|
8495
|
+
`<button data-convene-toggle>` below toggles `.expanded` on the
|
|
8496
|
+
opener parent to reveal the rest. 2.5 × line-height (1.32 ×
|
|
8497
|
+
19px ≈ 25px) = 63px. */
|
|
8498
|
+
.convene-opener-clamped:not(.expanded) .convene-body {
|
|
8499
|
+
max-height: 63px;
|
|
8500
|
+
overflow: hidden;
|
|
8501
|
+
position: relative;
|
|
8502
|
+
}
|
|
8503
|
+
.convene-opener-clamped:not(.expanded) .convene-body::after {
|
|
8504
|
+
content: "";
|
|
8505
|
+
position: absolute;
|
|
8506
|
+
left: 0;
|
|
8507
|
+
right: 0;
|
|
8508
|
+
bottom: 0;
|
|
8509
|
+
height: 32px;
|
|
8510
|
+
background: linear-gradient(to bottom, transparent, var(--panel-2));
|
|
8511
|
+
pointer-events: none;
|
|
8512
|
+
}
|
|
8513
|
+
.convene-toggle {
|
|
8514
|
+
appearance: none;
|
|
8515
|
+
background: transparent;
|
|
8516
|
+
border: 0;
|
|
8517
|
+
color: var(--text-soft);
|
|
8518
|
+
cursor: pointer;
|
|
8519
|
+
font-family: var(--mono);
|
|
8520
|
+
font-size: 10px;
|
|
8521
|
+
font-weight: 700;
|
|
8522
|
+
letter-spacing: 0.14em;
|
|
8523
|
+
text-transform: uppercase;
|
|
8524
|
+
padding: 4px 0 6px;
|
|
8525
|
+
margin: 4px 0 6px;
|
|
8526
|
+
transition: color 0.12s;
|
|
8527
|
+
}
|
|
8528
|
+
.convene-toggle:hover { color: var(--lime); }
|
|
6703
8529
|
.convene-meta {
|
|
6704
8530
|
font-family: var(--mono);
|
|
6705
8531
|
font-size: 10px;
|
|
@@ -6714,6 +8540,74 @@
|
|
|
6714
8540
|
.convene-meta .convene-time { color: var(--text-faint); }
|
|
6715
8541
|
.convene-meta .convene-cast { color: var(--text-dim); }
|
|
6716
8542
|
|
|
8543
|
+
/* Follow-up origin row · only present when this room was started as
|
|
8544
|
+
a continuation of a prior adjourned room. Sits between the
|
|
8545
|
+
eyebrow and the question body, click-navigates back to the parent
|
|
8546
|
+
room via hash route. Visually distinct from the eyebrow (mono +
|
|
8547
|
+
↩ glyph + brighter than meta-row) but quieter than the headline. */
|
|
8548
|
+
.convene-origin {
|
|
8549
|
+
display: inline-flex;
|
|
8550
|
+
align-items: baseline;
|
|
8551
|
+
gap: 6px;
|
|
8552
|
+
margin: -2px 0 10px;
|
|
8553
|
+
padding: 4px 8px 4px 6px;
|
|
8554
|
+
background: var(--bg);
|
|
8555
|
+
border: 0.5px solid var(--line-bright);
|
|
8556
|
+
font-family: var(--mono);
|
|
8557
|
+
font-size: 10.5px;
|
|
8558
|
+
letter-spacing: 0.04em;
|
|
8559
|
+
color: var(--text-soft);
|
|
8560
|
+
text-decoration: none;
|
|
8561
|
+
transition: border-color 0.12s, color 0.12s, background 0.12s;
|
|
8562
|
+
max-width: 100%;
|
|
8563
|
+
/* Lock chrome to one line. CJK ("继续自") has no inter-character
|
|
8564
|
+
wrap stopper by default and would otherwise break mid-word
|
|
8565
|
+
when the row got tight. */
|
|
8566
|
+
white-space: nowrap;
|
|
8567
|
+
}
|
|
8568
|
+
.convene-origin:hover {
|
|
8569
|
+
border-color: var(--lime-dim);
|
|
8570
|
+
color: var(--text);
|
|
8571
|
+
background: var(--panel-3);
|
|
8572
|
+
}
|
|
8573
|
+
/* Lock the labels so flex shrinking only consumes the subject
|
|
8574
|
+
(which has its own ellipsis). Otherwise every child shares the
|
|
8575
|
+
shrink and the labels squeeze before the subject does. */
|
|
8576
|
+
.convene-origin-arrow,
|
|
8577
|
+
.convene-origin-label,
|
|
8578
|
+
.convene-origin-room,
|
|
8579
|
+
.convene-origin-sep {
|
|
8580
|
+
flex-shrink: 0;
|
|
8581
|
+
}
|
|
8582
|
+
.convene-origin-arrow {
|
|
8583
|
+
color: var(--lime);
|
|
8584
|
+
font-weight: 700;
|
|
8585
|
+
line-height: 1;
|
|
8586
|
+
}
|
|
8587
|
+
.convene-origin-label {
|
|
8588
|
+
color: var(--text-soft);
|
|
8589
|
+
text-transform: uppercase;
|
|
8590
|
+
letter-spacing: 0.1em;
|
|
8591
|
+
font-weight: 600;
|
|
8592
|
+
font-size: 9.5px;
|
|
8593
|
+
}
|
|
8594
|
+
.convene-origin-room {
|
|
8595
|
+
color: var(--lime);
|
|
8596
|
+
font-weight: 700;
|
|
8597
|
+
font-variant-numeric: tabular-nums;
|
|
8598
|
+
}
|
|
8599
|
+
.convene-origin-sep { color: var(--text-faint); }
|
|
8600
|
+
.convene-origin-subject {
|
|
8601
|
+
color: var(--text-soft);
|
|
8602
|
+
text-transform: none;
|
|
8603
|
+
letter-spacing: -0.003em;
|
|
8604
|
+
overflow: hidden;
|
|
8605
|
+
text-overflow: ellipsis;
|
|
8606
|
+
white-space: nowrap;
|
|
8607
|
+
min-width: 0;
|
|
8608
|
+
flex-shrink: 1;
|
|
8609
|
+
}
|
|
8610
|
+
|
|
6717
8611
|
/* ─── Convening card · multi-stage placeholder while the room opens ───
|
|
6718
8612
|
Lives at the tail of the chat from the moment createRoom resolves
|
|
6719
8613
|
until the chair's first message lands (~10s). Three stages tied to
|
|
@@ -7066,6 +8960,7 @@
|
|
|
7066
8960
|
<div class="sidebar-head">
|
|
7067
8961
|
<div class="sidebar-head-title">// CONTROL</div>
|
|
7068
8962
|
<div class="sidebar-head-meta"><span class="lime">●</span> <span data-sidebar-summary>0 LIVE / 0 AGENTS</span></div>
|
|
8963
|
+
<button type="button" class="sidebar-collapse-btn" data-sidebar-collapse aria-label="Collapse sidebar" title="Collapse sidebar"></button>
|
|
7069
8964
|
</div>
|
|
7070
8965
|
|
|
7071
8966
|
<div class="sidebar-tabs" role="tablist">
|
|
@@ -7090,7 +8985,20 @@
|
|
|
7090
8985
|
"New room" so it reads as a peer destination, not a list
|
|
7091
8986
|
item, with a square glyph echoing the dashboard glyphs
|
|
7092
8987
|
elsewhere in the sidebar. -->
|
|
7093
|
-
<a href="#" class="new-btn nav-reports" data-reports-trigger>
|
|
8988
|
+
<a href="#" class="new-btn nav-reports" data-reports-trigger>
|
|
8989
|
+
<span class="nav-label">All Reports</span>
|
|
8990
|
+
<span class="nav-count" data-reports-count hidden></span>
|
|
8991
|
+
</a>
|
|
8992
|
+
<!-- "All Notes" · chairman's-notes index. Sits directly below
|
|
8993
|
+
All Reports because both are cross-cutting aggregation views
|
|
8994
|
+
(read-only collections that span every room), distinct from
|
|
8995
|
+
the room list below. Bookmark glyph differentiates from
|
|
8996
|
+
Reports' FileText glyph. The data-notes-count badge updates
|
|
8997
|
+
live as new notes are saved or deleted. -->
|
|
8998
|
+
<a href="#" class="new-btn nav-notes" data-notes-trigger>
|
|
8999
|
+
<span class="nav-label">All Notes</span>
|
|
9000
|
+
<span class="nav-count" data-notes-count hidden></span>
|
|
9001
|
+
</a>
|
|
7094
9002
|
|
|
7095
9003
|
<div class="sessions-scroll">
|
|
7096
9004
|
<div data-rooms-list></div>
|
|
@@ -7186,6 +9094,7 @@
|
|
|
7186
9094
|
</div>
|
|
7187
9095
|
<div class="adjourned-bar-actions">
|
|
7188
9096
|
<a href="#" class="ghost-btn" data-room-export>[↓] Export</a>
|
|
9097
|
+
<a href="#" class="ghost-btn" data-room-followup>[→] Convene Follow-up</a>
|
|
7189
9098
|
</div>
|
|
7190
9099
|
</footer>
|
|
7191
9100
|
</div>
|
|
@@ -7203,8 +9112,30 @@
|
|
|
7203
9112
|
<div class="reports-page" data-reports-page></div>
|
|
7204
9113
|
</div>
|
|
7205
9114
|
|
|
9115
|
+
<!-- All Notes view · cross-room chairman's-notes index. Vertical
|
|
9116
|
+
timeline grouped by date (Today / This Week / Earlier).
|
|
9117
|
+
Filled by app.renderNotesPage() on demand. -->
|
|
9118
|
+
<div class="main-view" data-main-view="notes" hidden>
|
|
9119
|
+
<div class="notes-page" data-notes-page></div>
|
|
9120
|
+
</div>
|
|
9121
|
+
|
|
7206
9122
|
</main>
|
|
7207
9123
|
|
|
9124
|
+
<!-- Floating expand affordance · only visible when the sidebar is
|
|
9125
|
+
collapsed (body.sidebar-collapsed). Lives INSIDE .body-grid
|
|
9126
|
+
(which is position: relative) so the button's absolute
|
|
9127
|
+
positioning anchors to the body-grid's top-left edge — i.e.
|
|
9128
|
+
below the topbar / brand logo, where the sidebar's own header
|
|
9129
|
+
sat before collapse. Frosted black glass with a 3-line
|
|
9130
|
+
hamburger glyph. -->
|
|
9131
|
+
<button type="button" class="sidebar-expand-btn" data-sidebar-expand aria-label="Expand sidebar" title="Expand sidebar">
|
|
9132
|
+
<svg viewBox="0 0 16 16" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" aria-hidden="true">
|
|
9133
|
+
<line x1="2.5" y1="4.25" x2="13.5" y2="4.25"/>
|
|
9134
|
+
<line x1="2.5" y1="8" x2="13.5" y2="8"/>
|
|
9135
|
+
<line x1="2.5" y1="11.75" x2="13.5" y2="11.75"/>
|
|
9136
|
+
</svg>
|
|
9137
|
+
</button>
|
|
9138
|
+
|
|
7208
9139
|
</div>
|
|
7209
9140
|
|
|
7210
9141
|
</div>
|
|
@@ -7274,6 +9205,45 @@
|
|
|
7274
9205
|
}
|
|
7275
9206
|
|
|
7276
9207
|
document.querySelectorAll("[data-resize]").forEach(attach);
|
|
9208
|
+
|
|
9209
|
+
// ─── Sidebar collapse / expand ───
|
|
9210
|
+
// Three affordances, all event-delegated on document:
|
|
9211
|
+
// · `data-sidebar-collapse` inside the sidebar head ·
|
|
9212
|
+
// visible only while the sidebar is open · collapses
|
|
9213
|
+
// · `data-sidebar-expand` inside `.room-head` (rendered by
|
|
9214
|
+
// renderHeader) · visible when collapsed AND a room is
|
|
9215
|
+
// loaded · sits at the leading edge of the room title bar
|
|
9216
|
+
// · `data-sidebar-expand` floating button at top-left of
|
|
9217
|
+
// `.body-grid` · visible only when collapsed AND no room
|
|
9218
|
+
// is loaded (empty / no-room state, where there's no
|
|
9219
|
+
// room-head to host the in-header button)
|
|
9220
|
+
// All flip `body.sidebar-collapsed` and persist to localStorage.
|
|
9221
|
+
const COLLAPSE_KEY = "boardroom.sidebar.collapsed";
|
|
9222
|
+
function applySidebarCollapsed(collapsed) {
|
|
9223
|
+
document.body.classList.toggle("sidebar-collapsed", collapsed);
|
|
9224
|
+
}
|
|
9225
|
+
function readSidebarCollapsed() {
|
|
9226
|
+
try { return localStorage.getItem(COLLAPSE_KEY) === "1"; }
|
|
9227
|
+
catch { return false; }
|
|
9228
|
+
}
|
|
9229
|
+
function writeSidebarCollapsed(v) {
|
|
9230
|
+
try { localStorage.setItem(COLLAPSE_KEY, v ? "1" : "0"); } catch {}
|
|
9231
|
+
}
|
|
9232
|
+
applySidebarCollapsed(readSidebarCollapsed());
|
|
9233
|
+
document.addEventListener("click", (e) => {
|
|
9234
|
+
if (e.target.closest("[data-sidebar-collapse]")) {
|
|
9235
|
+
e.preventDefault();
|
|
9236
|
+
applySidebarCollapsed(true);
|
|
9237
|
+
writeSidebarCollapsed(true);
|
|
9238
|
+
return;
|
|
9239
|
+
}
|
|
9240
|
+
if (e.target.closest("[data-sidebar-expand]")) {
|
|
9241
|
+
e.preventDefault();
|
|
9242
|
+
applySidebarCollapsed(false);
|
|
9243
|
+
writeSidebarCollapsed(false);
|
|
9244
|
+
return;
|
|
9245
|
+
}
|
|
9246
|
+
});
|
|
7277
9247
|
})();
|
|
7278
9248
|
|
|
7279
9249
|
/* ─── Speaking queue: collapse / expand persistence ───
|
|
@@ -7381,11 +9351,28 @@
|
|
|
7381
9351
|
const TAB_KEY = "boardroom.sidebar.tab";
|
|
7382
9352
|
const ROOMS_KEY = "boardroom.sidebar.rooms";
|
|
7383
9353
|
const AGENTS_KEY = "boardroom.sidebar.agents";
|
|
9354
|
+
/* Mirror of the last actually-opened roomId. Diverges from ROOMS_KEY
|
|
9355
|
+
when the user lands on +New Room / All Reports / All Notes — those
|
|
9356
|
+
overwrite ROOMS_KEY with "new" / "reports" / "notes" but should not
|
|
9357
|
+
erase the memory of which ROOM the user had open. Used as a tab-
|
|
9358
|
+
switch fallback so re-entering the Rooms tab restores a meaningful
|
|
9359
|
+
selection rather than blanking it. */
|
|
9360
|
+
const ROOMS_LAST_KEY = "boardroom.sidebar.rooms.last";
|
|
7384
9361
|
const VALID_TABS = new Set(["rooms", "agents"]);
|
|
7385
9362
|
|
|
7386
9363
|
const lsGet = (k) => { try { return localStorage.getItem(k); } catch (_) { return null; } };
|
|
7387
9364
|
const lsSet = (k, v) => { try { localStorage.setItem(k, v); } catch (_) {} };
|
|
7388
9365
|
|
|
9366
|
+
/* Fall back to the first session row in the sidebar when we have
|
|
9367
|
+
no explicit user choice. Ordering matches DOM order (live first,
|
|
9368
|
+
then paused, then adjourned), which is the same ordering the user
|
|
9369
|
+
sees — picking [0] always means "the one at the top." Returns null
|
|
9370
|
+
when the sidebar has no rooms at all. */
|
|
9371
|
+
function firstRoomId() {
|
|
9372
|
+
const row = document.querySelector(".session-row-shell[data-room-id]");
|
|
9373
|
+
return row ? row.dataset.roomId : null;
|
|
9374
|
+
}
|
|
9375
|
+
|
|
7389
9376
|
function applyRoomsSubState(sub) {
|
|
7390
9377
|
// Make sure the room main view is visible (in case the agent
|
|
7391
9378
|
// profile main view was up). setComposerMode also does this when
|
|
@@ -7401,6 +9388,13 @@
|
|
|
7401
9388
|
}
|
|
7402
9389
|
return;
|
|
7403
9390
|
}
|
|
9391
|
+
// "notes" → cross-room chairman's-notes index.
|
|
9392
|
+
if (sub === "notes") {
|
|
9393
|
+
if (window.app && typeof window.app.openAllNotes === "function") {
|
|
9394
|
+
window.app.openAllNotes();
|
|
9395
|
+
}
|
|
9396
|
+
return;
|
|
9397
|
+
}
|
|
7404
9398
|
if (!sub || sub === "new") {
|
|
7405
9399
|
if (window.app && typeof window.app.setComposerMode === "function") {
|
|
7406
9400
|
window.app.setComposerMode("room");
|
|
@@ -7408,20 +9402,40 @@
|
|
|
7408
9402
|
return;
|
|
7409
9403
|
}
|
|
7410
9404
|
// Navigate to the saved room — but only if it still exists in
|
|
7411
|
-
// the sidebar list.
|
|
7412
|
-
|
|
9405
|
+
// the sidebar list. A stale id (deleted room, never-existed)
|
|
9406
|
+
// falls back to the most-recently-viewed room, then the first
|
|
9407
|
+
// row, before resorting to the composer. Without the fallback,
|
|
9408
|
+
// a deleted-room id would land the user on a blank composer
|
|
9409
|
+
// every tab-switch even when other rooms are available.
|
|
9410
|
+
let exists = !!document.querySelector(`.session-row-shell[data-room-id="${sub}"]`);
|
|
7413
9411
|
if (!exists) {
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
9412
|
+
const last = lsGet(ROOMS_LAST_KEY);
|
|
9413
|
+
const candidate = (last && document.querySelector(`.session-row-shell[data-room-id="${last}"]`))
|
|
9414
|
+
? last
|
|
9415
|
+
: firstRoomId();
|
|
9416
|
+
if (candidate) {
|
|
9417
|
+
sub = candidate;
|
|
9418
|
+
lsSet(ROOMS_KEY, candidate);
|
|
9419
|
+
exists = true;
|
|
9420
|
+
} else {
|
|
9421
|
+
lsSet(ROOMS_KEY, "new");
|
|
9422
|
+
if (window.app && typeof window.app.setComposerMode === "function") {
|
|
9423
|
+
window.app.setComposerMode("room");
|
|
9424
|
+
}
|
|
9425
|
+
return;
|
|
7417
9426
|
}
|
|
7418
|
-
return;
|
|
7419
9427
|
}
|
|
7420
9428
|
const want = "#/r/" + sub;
|
|
7421
9429
|
if (location.hash !== want) {
|
|
7422
9430
|
location.hash = want;
|
|
7423
9431
|
} else if (window.app && window.app.currentRoomId !== sub && typeof window.app.openRoom === "function") {
|
|
7424
9432
|
window.app.openRoom(sub);
|
|
9433
|
+
} else if (window.app && typeof window.app.markActiveRoom === "function") {
|
|
9434
|
+
// Both hash and currentRoomId already match — but the sidebar
|
|
9435
|
+
// session-row .active highlight may have been cleared by an
|
|
9436
|
+
// intervening agent-profile open (markActiveAgent wipes it).
|
|
9437
|
+
// Re-apply so the row reads as selected on tab return.
|
|
9438
|
+
window.app.markActiveRoom(sub);
|
|
7425
9439
|
}
|
|
7426
9440
|
}
|
|
7427
9441
|
|
|
@@ -7446,6 +9460,7 @@
|
|
|
7446
9460
|
function activate(which, opts) {
|
|
7447
9461
|
if (!VALID_TABS.has(which)) return;
|
|
7448
9462
|
const persist = !opts || opts.persist !== false;
|
|
9463
|
+
const fromTabClick = !!(opts && opts.fromTabClick);
|
|
7449
9464
|
document.querySelectorAll(".sidebar-tab[data-sidebar-tab]").forEach((t) => {
|
|
7450
9465
|
const on = t.dataset.sidebarTab === which;
|
|
7451
9466
|
t.classList.toggle("active", on);
|
|
@@ -7457,7 +9472,41 @@
|
|
|
7457
9472
|
else p.setAttribute("hidden", "");
|
|
7458
9473
|
});
|
|
7459
9474
|
|
|
7460
|
-
if (which === "rooms")
|
|
9475
|
+
if (which === "rooms") {
|
|
9476
|
+
// Resolve which sub-state to apply. The room id ROOMS_KEY
|
|
9477
|
+
// points to is the user's explicit choice when set; on
|
|
9478
|
+
// user-driven tab switches we additionally prefer the last
|
|
9479
|
+
// actually-opened room over a blank "new"-composer landing,
|
|
9480
|
+
// so re-entering the Rooms tab feels continuous (selection
|
|
9481
|
+
// restored) instead of resetting. Initial-load (refresh /
|
|
9482
|
+
// boot) keeps the legacy "lands on composer" intent so a
|
|
9483
|
+
// fresh user without prior history sees the new-room invite.
|
|
9484
|
+
const saved = lsGet(ROOMS_KEY);
|
|
9485
|
+
let target;
|
|
9486
|
+
if (saved && saved !== "new" && saved !== "reports" && saved !== "notes") {
|
|
9487
|
+
target = saved; // explicit room id
|
|
9488
|
+
} else if (saved === "reports" || saved === "notes") {
|
|
9489
|
+
target = saved; // cross-room destinations preserve on any nav
|
|
9490
|
+
} else if (fromTabClick) {
|
|
9491
|
+
// User-driven tab switch · prefer the last actually-opened
|
|
9492
|
+
// room (or first row) over the +New Room composer, so
|
|
9493
|
+
// re-entering the Rooms tab feels continuous instead of
|
|
9494
|
+
// resetting to the composer. The "new" intent only persists
|
|
9495
|
+
// within the rooms tab — once the user leaves and returns,
|
|
9496
|
+
// we surface their last room.
|
|
9497
|
+
const last = lsGet(ROOMS_LAST_KEY);
|
|
9498
|
+
if (last && document.querySelector(`.session-row-shell[data-room-id="${last}"]`)) {
|
|
9499
|
+
target = last;
|
|
9500
|
+
} else {
|
|
9501
|
+
target = firstRoomId() || "new";
|
|
9502
|
+
}
|
|
9503
|
+
} else if (saved === "new") {
|
|
9504
|
+
target = "new"; // initial load · preserve composer intent
|
|
9505
|
+
} else {
|
|
9506
|
+
target = "new"; // initial load with no history → composer
|
|
9507
|
+
}
|
|
9508
|
+
applyRoomsSubState(target);
|
|
9509
|
+
}
|
|
7461
9510
|
else if (which === "agents") applyAgentsSubState(lsGet(AGENTS_KEY) || "new");
|
|
7462
9511
|
|
|
7463
9512
|
if (persist) lsSet(TAB_KEY, which);
|
|
@@ -7489,7 +9538,7 @@
|
|
|
7489
9538
|
const tab = e.target.closest(".sidebar-tab[data-sidebar-tab]");
|
|
7490
9539
|
if (tab) {
|
|
7491
9540
|
e.preventDefault();
|
|
7492
|
-
activate(tab.dataset.sidebarTab);
|
|
9541
|
+
activate(tab.dataset.sidebarTab, { fromTabClick: true });
|
|
7493
9542
|
return;
|
|
7494
9543
|
}
|
|
7495
9544
|
// Track sub-state · "+ New room" → rooms = "new"
|
|
@@ -7508,10 +9557,47 @@
|
|
|
7508
9557
|
}
|
|
7509
9558
|
return;
|
|
7510
9559
|
}
|
|
7511
|
-
//
|
|
9560
|
+
// "All Notes" trigger · cross-room chairman's-notes index. Same
|
|
9561
|
+
// sub-state pattern as reports — special token "notes" so the
|
|
9562
|
+
// sidebar persists which destination was last visited.
|
|
9563
|
+
const notesBtn = e.target.closest("[data-notes-trigger]");
|
|
9564
|
+
if (notesBtn) {
|
|
9565
|
+
e.preventDefault();
|
|
9566
|
+
lsSet(ROOMS_KEY, "notes");
|
|
9567
|
+
if (window.app && typeof window.app.openAllNotes === "function") {
|
|
9568
|
+
window.app.openAllNotes();
|
|
9569
|
+
}
|
|
9570
|
+
return;
|
|
9571
|
+
}
|
|
9572
|
+
// Track sub-state · clicked a session row → rooms = roomId.
|
|
9573
|
+
// Also stamp ROOMS_LAST_KEY so a later +New Room / All Reports
|
|
9574
|
+
// / All Notes click that overwrites ROOMS_KEY doesn't erase the
|
|
9575
|
+
// memory of which actual room was last open.
|
|
7512
9576
|
const sessRow = e.target.closest(".session-row-shell[data-room-id]");
|
|
7513
9577
|
if (sessRow && sessRow.dataset.roomId) {
|
|
7514
|
-
|
|
9578
|
+
const id = sessRow.dataset.roomId;
|
|
9579
|
+
lsSet(ROOMS_KEY, id);
|
|
9580
|
+
lsSet(ROOMS_LAST_KEY, id);
|
|
9581
|
+
// Anchor `href="#/r/<id>"` clicks rely on `hashchange` →
|
|
9582
|
+
// handleRoute → openRoom. When the hash already equals the
|
|
9583
|
+
// target (e.g. user just left an agent profile that didn't
|
|
9584
|
+
// change the hash, then clicks the same room), the browser
|
|
9585
|
+
// suppresses hashchange and openRoom never runs — the row
|
|
9586
|
+
// stays unselected. Re-trigger the room load + highlight
|
|
9587
|
+
// manually for the same-hash case.
|
|
9588
|
+
const want = "#/r/" + id;
|
|
9589
|
+
if (location.hash === want && window.app) {
|
|
9590
|
+
if (window.app.currentRoomId !== id && typeof window.app.openRoom === "function") {
|
|
9591
|
+
window.app.openRoom(id);
|
|
9592
|
+
} else {
|
|
9593
|
+
if (typeof window.closeAgentProfile === "function") {
|
|
9594
|
+
try { window.closeAgentProfile(); } catch (_) {}
|
|
9595
|
+
}
|
|
9596
|
+
if (typeof window.app.markActiveRoom === "function") {
|
|
9597
|
+
window.app.markActiveRoom(id);
|
|
9598
|
+
}
|
|
9599
|
+
}
|
|
9600
|
+
}
|
|
7515
9601
|
return;
|
|
7516
9602
|
}
|
|
7517
9603
|
// Track sub-state · "+ New agent" → agents = "new"
|
|
@@ -7522,10 +9608,15 @@
|
|
|
7522
9608
|
});
|
|
7523
9609
|
|
|
7524
9610
|
/* ─── hashchange · keep rooms sub-state synced when navigation
|
|
7525
|
-
happens via URL bar / browser history.
|
|
9611
|
+
happens via URL bar / browser history. ROOMS_LAST_KEY mirrors
|
|
9612
|
+
the same id so it survives later +New Room / All Reports
|
|
9613
|
+
overwrites of ROOMS_KEY. */
|
|
7526
9614
|
window.addEventListener("hashchange", () => {
|
|
7527
9615
|
const m = (location.hash || "").match(/^#\/r\/([a-z0-9]+)/i);
|
|
7528
|
-
if (m && m[1])
|
|
9616
|
+
if (m && m[1]) {
|
|
9617
|
+
lsSet(ROOMS_KEY, m[1]);
|
|
9618
|
+
lsSet(ROOMS_LAST_KEY, m[1]);
|
|
9619
|
+
}
|
|
7529
9620
|
});
|
|
7530
9621
|
|
|
7531
9622
|
/* Wrap window.openAgentProfile so EVERY open call (sidebar click,
|
|
@@ -7561,6 +9652,7 @@
|
|
|
7561
9652
|
const m = (location.hash || "").match(/^#\/r\/([a-z0-9]+)/i);
|
|
7562
9653
|
if (m && m[1]) {
|
|
7563
9654
|
lsSet(ROOMS_KEY, m[1]);
|
|
9655
|
+
lsSet(ROOMS_LAST_KEY, m[1]);
|
|
7564
9656
|
activate("rooms", { persist: false });
|
|
7565
9657
|
return;
|
|
7566
9658
|
}
|