| 2571 |
2571
|
|
border-radius: 6px;
|
| 2572 |
2572
|
|
}
|
| 2573 |
2573
|
|
}
|
|
2574
|
+ |
|
|
2575
|
+ |
/* ── Chat ─────────────────────────────────────────────────────────────────── */
|
|
2576
|
+ |
|
|
2577
|
+ |
/* The conversation surface had no stylesheet at all. It was ported from a
|
|
2578
|
+ |
* codebase where it was the whole application, and its layout, message,
|
|
2579
|
+ |
* composer, activity and memory rules did not come with it -- seventy-five
|
|
2580
|
+ |
* classes resolved to nothing, which is why an unstyled column of text sat
|
|
2581
|
+ |
* under a floating rail. What follows is that stylesheet, written against the
|
|
2582
|
+ |
* tokens rather than reconstructed from the original.
|
|
2583
|
+ |
*
|
|
2584
|
+ |
* The surface owns the full height of the main area: the transcript is the
|
|
2585
|
+ |
* only thing that scrolls, and the composer is pinned under it rather than
|
|
2586
|
+ |
* riding at the end of a scrolling page. */
|
|
2587
|
+ |
|
|
2588
|
+ |
@layer components {
|
|
2589
|
+ |
.chat-shell {
|
|
2590
|
+ |
display: flex;
|
|
2591
|
+ |
min-height: 0;
|
|
2592
|
+ |
flex: 1;
|
|
2593
|
+ |
flex-direction: column;
|
|
2594
|
+ |
}
|
|
2595
|
+ |
|
|
2596
|
+ |
.app-main {
|
|
2597
|
+ |
display: flex;
|
|
2598
|
+ |
min-height: 0;
|
|
2599
|
+ |
flex: 1;
|
|
2600
|
+ |
flex-direction: column;
|
|
2601
|
+ |
}
|
|
2602
|
+ |
|
|
2603
|
+ |
/* A status line, not a header: it carries the socket's truth and nothing
|
|
2604
|
+ |
else, because the page's name is already in the command bar above it. */
|
|
2605
|
+ |
.chat-status {
|
|
2606
|
+ |
display: flex;
|
|
2607
|
+ |
flex: none;
|
|
2608
|
+ |
align-items: center;
|
|
2609
|
+ |
justify-content: flex-end;
|
|
2610
|
+ |
gap: 8px;
|
|
2611
|
+ |
padding: 8px 24px;
|
|
2612
|
+ |
}
|
|
2613
|
+ |
|
|
2614
|
+ |
.connection-state {
|
|
2615
|
+ |
display: inline-flex;
|
|
2616
|
+ |
align-items: center;
|
|
2617
|
+ |
gap: 6px;
|
|
2618
|
+ |
}
|
|
2619
|
+ |
|
|
2620
|
+ |
.connection-label {
|
|
2621
|
+ |
color: var(--text-muted);
|
|
2622
|
+ |
font-size: 0.6875rem;
|
|
2623
|
+ |
font-weight: 500;
|
|
2624
|
+ |
letter-spacing: 0.06em;
|
|
2625
|
+ |
line-height: 1rem;
|
|
2626
|
+ |
text-transform: uppercase;
|
|
2627
|
+ |
}
|
|
2628
|
+ |
|
|
2629
|
+ |
/* ── Transcript ─────────────────────────────────────────────────────────── */
|
|
2630
|
+ |
|
|
2631
|
+ |
.transcript {
|
|
2632
|
+ |
display: flex;
|
|
2633
|
+ |
min-height: 0;
|
|
2634
|
+ |
flex: 1;
|
|
2635
|
+ |
flex-direction: column;
|
|
2636
|
+ |
gap: 24px;
|
|
2637
|
+ |
overflow-y: auto;
|
|
2638
|
+ |
overscroll-behavior: contain;
|
|
2639
|
+ |
padding: 8px 24px 24px;
|
|
2640
|
+ |
}
|
|
2641
|
+ |
|
|
2642
|
+ |
.message-list {
|
|
2643
|
+ |
display: flex;
|
|
2644
|
+ |
width: 100%;
|
|
2645
|
+ |
max-width: 46rem;
|
|
2646
|
+ |
flex-direction: column;
|
|
2647
|
+ |
/* A reading column, centred, so a wide window does not stretch prose to
|
|
2648
|
+ |
the full width of a desktop display. The composer below uses the same
|
|
2649
|
+ |
measure, so the two share one axis. */
|
|
2650
|
+ |
margin-inline: auto;
|
|
2651
|
+ |
gap: 20px;
|
|
2652
|
+ |
}
|
|
2653
|
+ |
|
|
2654
|
+ |
.history-control {
|
|
2655
|
+ |
display: flex;
|
|
2656
|
+ |
justify-content: center;
|
|
2657
|
+ |
padding-block: 4px;
|
|
2658
|
+ |
}
|
|
2659
|
+ |
|
|
2660
|
+ |
.message-markdown {
|
|
2661
|
+ |
color: var(--text-body);
|
|
2662
|
+ |
font-size: 0.9375rem;
|
|
2663
|
+ |
line-height: 1.65;
|
|
2664
|
+ |
word-break: break-word;
|
|
2665
|
+ |
}
|
|
2666
|
+ |
|
|
2667
|
+ |
.message-markdown > * + * {
|
|
2668
|
+ |
margin-block-start: 0.75em;
|
|
2669
|
+ |
}
|
|
2670
|
+ |
|
|
2671
|
+ |
.message-markdown :is(h1, h2, h3, h4) {
|
|
2672
|
+ |
color: var(--text-primary);
|
|
2673
|
+ |
font-weight: 600;
|
|
2674
|
+ |
line-height: 1.3;
|
|
2675
|
+ |
}
|
|
2676
|
+ |
|
|
2677
|
+ |
.message-markdown :is(ul, ol) {
|
|
2678
|
+ |
padding-inline-start: 1.25em;
|
|
2679
|
+ |
}
|
|
2680
|
+ |
|
|
2681
|
+ |
.message-markdown li + li {
|
|
2682
|
+ |
margin-block-start: 0.25em;
|
|
2683
|
+ |
}
|
|
2684
|
+ |
|
|
2685
|
+ |
.message-markdown a {
|
|
2686
|
+ |
color: var(--text-primary);
|
|
2687
|
+ |
text-decoration: underline;
|
|
2688
|
+ |
text-underline-offset: 2px;
|
|
2689
|
+ |
}
|
|
2690
|
+ |
|
|
2691
|
+ |
.message-markdown code {
|
|
2692
|
+ |
border-radius: 4px;
|
|
2693
|
+ |
background: var(--wash-hover);
|
|
2694
|
+ |
padding: 0.125em 0.375em;
|
|
2695
|
+ |
font-size: 0.875em;
|
|
2696
|
+ |
}
|
|
2697
|
+ |
|
|
2698
|
+ |
.message-markdown pre {
|
|
2699
|
+ |
position: relative;
|
|
2700
|
+ |
overflow-x: auto;
|
|
2701
|
+ |
border: 1px solid var(--line);
|
|
2702
|
+ |
border-radius: var(--radius-lg);
|
|
2703
|
+ |
background: var(--ink-surface);
|
|
2704
|
+ |
padding: 12px 14px;
|
|
2705
|
+ |
}
|
|
2706
|
+ |
|
|
2707
|
+ |
.message-markdown pre code {
|
|
2708
|
+ |
background: transparent;
|
|
2709
|
+ |
padding: 0;
|
|
2710
|
+ |
}
|
|
2711
|
+ |
|
|
2712
|
+ |
/* Revealed on hover of the block it belongs to, and always present for
|
|
2713
|
+ |
keyboard reach -- an action that only exists on hover cannot be tabbed to. */
|
|
2714
|
+ |
.code-copy {
|
|
2715
|
+ |
position: absolute;
|
|
2716
|
+ |
top: 6px;
|
|
2717
|
+ |
right: 6px;
|
|
2718
|
+ |
opacity: 0;
|
|
2719
|
+ |
transition: opacity 150ms var(--ease);
|
|
2720
|
+ |
}
|
|
2721
|
+ |
|
|
2722
|
+ |
.message-markdown pre:hover .code-copy,
|
|
2723
|
+ |
.code-copy:focus-visible {
|
|
2724
|
+ |
opacity: 1;
|
|
2725
|
+ |
}
|
|
2726
|
+ |
|
|
2727
|
+ |
/* ── Message chrome ─────────────────────────────────────────────────────── */
|
|
2728
|
+ |
|
|
2729
|
+ |
.message-toolbar {
|
|
2730
|
+ |
display: flex;
|
|
2731
|
+ |
align-items: center;
|
|
2732
|
+ |
gap: 4px;
|
|
2733
|
+ |
color: var(--text-dim);
|
|
2734
|
+ |
}
|
|
2735
|
+ |
|
|
2736
|
+ |
.message-toolbar__time {
|
|
2737
|
+ |
font-size: 0.75rem;
|
|
2738
|
+ |
line-height: 1rem;
|
|
2739
|
+ |
}
|
|
2740
|
+ |
|
|
2741
|
+ |
/* The row's actions appear on hover of the message, not permanently: they
|
|
2742
|
+ |
are available on every message, and drawing them all would turn the
|
|
2743
|
+ |
transcript into a column of buttons. */
|
|
2744
|
+ |
.message-toolbar__button {
|
|
2745
|
+ |
opacity: 0;
|
|
2746
|
+ |
transition: opacity 150ms var(--ease);
|
|
2747
|
+ |
}
|
|
2748
|
+ |
|
|
2749
|
+ |
[class*="message"]:hover .message-toolbar__button,
|
|
2750
|
+ |
.message-toolbar__button:focus-visible {
|
|
2751
|
+ |
opacity: 1;
|
|
2752
|
+ |
}
|
|
2753
|
+ |
|
|
2754
|
+ |
.message-status,
|
|
2755
|
+ |
.message-provenance {
|
|
2756
|
+ |
color: var(--text-dim);
|
|
2757
|
+ |
font-size: 0.75rem;
|
|
2758
|
+ |
line-height: 1rem;
|
|
2759
|
+ |
}
|
|
2760
|
+ |
|
|
2761
|
+ |
.message-queue {
|
|
2762
|
+ |
display: flex;
|
|
2763
|
+ |
flex-direction: column;
|
|
2764
|
+ |
gap: 6px;
|
|
2765
|
+ |
}
|
|
2766
|
+ |
|
|
2767
|
+ |
.message-queue__item {
|
|
2768
|
+ |
display: flex;
|
|
2769
|
+ |
align-items: center;
|
|
2770
|
+ |
gap: 8px;
|
|
2771
|
+ |
border: 1px dashed var(--line);
|
|
2772
|
+ |
border-radius: var(--radius-lg);
|
|
2773
|
+ |
padding: 8px 10px;
|
|
2774
|
+ |
}
|
|
2775
|
+ |
|
|
2776
|
+ |
.message-queue__label {
|
|
2777
|
+ |
color: var(--text-dim);
|
|
2778
|
+ |
font-size: 0.6875rem;
|
|
2779
|
+ |
letter-spacing: 0.06em;
|
|
2780
|
+ |
text-transform: uppercase;
|
|
2781
|
+ |
}
|
|
2782
|
+ |
|
|
2783
|
+ |
.message-queue__text {
|
|
2784
|
+ |
min-width: 0;
|
|
2785
|
+ |
flex: 1;
|
|
2786
|
+ |
color: var(--text-muted);
|
|
2787
|
+ |
font-size: 0.875rem;
|
|
2788
|
+ |
overflow-wrap: anywhere;
|
|
2789
|
+ |
}
|
|
2790
|
+ |
|
|
2791
|
+ |
/* ── Composer ───────────────────────────────────────────────────────────── */
|
|
2792
|
+ |
|
|
2793
|
+ |
.composer-region {
|
|
2794
|
+ |
flex: none;
|
|
2795
|
+ |
border-top: 1px solid var(--line);
|
|
2796
|
+ |
background: var(--ink-void);
|
|
2797
|
+ |
padding: 16px 24px 20px;
|
|
2798
|
+ |
}
|
|
2799
|
+ |
|
|
2800
|
+ |
.composer-eyebrow {
|
|
2801
|
+ |
display: flex;
|
|
2802
|
+ |
max-width: 46rem;
|
|
2803
|
+ |
align-items: center;
|
|
2804
|
+ |
justify-content: space-between;
|
|
2805
|
+ |
gap: 8px;
|
|
2806
|
+ |
margin-inline: auto;
|
|
2807
|
+ |
padding-block-end: 8px;
|
|
2808
|
+ |
color: var(--text-dim);
|
|
2809
|
+ |
font-size: 0.75rem;
|
|
2810
|
+ |
}
|
|
2811
|
+ |
|
|
2812
|
+ |
.control-row {
|
|
2813
|
+ |
display: flex;
|
|
2814
|
+ |
max-width: 46rem;
|
|
2815
|
+ |
align-items: flex-end;
|
|
2816
|
+ |
gap: 8px;
|
|
2817
|
+ |
margin-inline: auto;
|
|
2818
|
+ |
border: 1px solid var(--line-strong);
|
|
2819
|
+ |
border-radius: var(--radius-lg);
|
|
2820
|
+ |
background: var(--ink-surface);
|
|
2821
|
+ |
padding: 6px 6px 6px 12px;
|
|
2822
|
+ |
transition: border-color 150ms var(--ease);
|
|
2823
|
+ |
}
|
|
2824
|
+ |
|
|
2825
|
+ |
.control-row:focus-within {
|
|
2826
|
+ |
border-color: var(--text-dim);
|
|
2827
|
+ |
}
|
|
2828
|
+ |
|
|
2829
|
+ |
.control-row__input {
|
|
2830
|
+ |
min-height: 32px;
|
|
2831
|
+ |
max-height: 40vh;
|
|
2832
|
+ |
flex: 1;
|
|
2833
|
+ |
resize: none;
|
|
2834
|
+ |
border: 0;
|
|
2835
|
+ |
background: transparent;
|
|
2836
|
+ |
padding-block: 6px;
|
|
2837
|
+ |
color: var(--text-primary);
|
|
2838
|
+ |
font-family: inherit;
|
|
2839
|
+ |
font-size: 0.9375rem;
|
|
2840
|
+ |
line-height: 1.5;
|
|
2841
|
+ |
outline: none;
|
|
2842
|
+ |
}
|
|
2843
|
+ |
|
|
2844
|
+ |
.control-row__input::placeholder {
|
|
2845
|
+ |
color: var(--text-dim);
|
|
2846
|
+ |
}
|
|
2847
|
+ |
|
|
2848
|
+ |
.voice-controller {
|
|
2849
|
+ |
display: flex;
|
|
2850
|
+ |
flex-direction: column;
|
|
2851
|
+ |
gap: 8px;
|
|
2852
|
+ |
}
|
|
2853
|
+ |
|
|
2854
|
+ |
.voice-output {
|
|
2855
|
+ |
display: none;
|
|
2856
|
+ |
}
|
|
2857
|
+ |
|
|
2858
|
+ |
/* ── Activity ───────────────────────────────────────────────────────────── */
|
|
2859
|
+ |
|
|
2860
|
+ |
.tool-activity {
|
|
2861
|
+ |
display: flex;
|
|
2862
|
+ |
width: 100%;
|
|
2863
|
+ |
max-width: 46rem;
|
|
2864
|
+ |
flex-direction: column;
|
|
2865
|
+ |
margin-inline: auto;
|
|
2866
|
+ |
gap: 4px;
|
|
2867
|
+ |
}
|
|
2868
|
+ |
|
|
2869
|
+ |
.job-rollup {
|
|
2870
|
+ |
display: flex;
|
|
2871
|
+ |
align-items: center;
|
|
2872
|
+ |
gap: 8px;
|
|
2873
|
+ |
color: var(--text-dim);
|
|
2874
|
+ |
font-size: 0.75rem;
|
|
2875
|
+ |
}
|
|
2876
|
+ |
|
|
2877
|
+ |
/* ── Two-line sidebar rows (the work projection) ─────────────────────────── */
|
|
2878
|
+ |
|
|
2879
|
+ |
.sidebar-row__lines {
|
|
2880
|
+ |
display: flex;
|
|
2881
|
+ |
min-width: 0;
|
|
2882
|
+ |
flex-direction: column;
|
|
2883
|
+ |
}
|
|
2884
|
+ |
|
|
2885
|
+ |
.sidebar-row__title {
|
|
2886
|
+ |
overflow: hidden;
|
|
2887
|
+ |
color: var(--text-muted);
|
|
2888
|
+ |
font-size: 0.8125rem;
|
|
2889
|
+ |
line-height: 1.25rem;
|
|
2890
|
+ |
text-overflow: ellipsis;
|
|
2891
|
+ |
white-space: nowrap;
|
|
2892
|
+ |
}
|
|
2893
|
+ |
|
|
2894
|
+ |
.sidebar-row__meta {
|
|
2895
|
+ |
color: var(--text-dim);
|
|
2896
|
+ |
font-size: 0.75rem;
|
|
2897
|
+ |
line-height: 1rem;
|
|
2898
|
+ |
}
|
|
2899
|
+ |
|
|
2900
|
+ |
.sidebar-row__dot {
|
|
2901
|
+ |
flex: none;
|
|
2902
|
+ |
}
|
|
2903
|
+ |
|
|
2904
|
+ |
/* A two-line row cannot use the single-line row's height. */
|
|
2905
|
+ |
.sidebar-row:has(.sidebar-row__lines) {
|
|
2906
|
+ |
min-height: 44px;
|
|
2907
|
+ |
}
|
|
2908
|
+ |
}
|
|
2909
|
+ |
|
|
2910
|
+ |
/* Screen-reader-only text. Not `display: none`, which removes it from the
|
|
2911
|
+ |
* accessibility tree along with the visual layout. */
|
|
2912
|
+ |
@layer components {
|
|
2913
|
+ |
.visually-hidden {
|
|
2914
|
+ |
position: absolute;
|
|
2915
|
+ |
width: 1px;
|
|
2916
|
+ |
height: 1px;
|
|
2917
|
+ |
overflow: hidden;
|
|
2918
|
+ |
clip-path: inset(50%);
|
|
2919
|
+ |
white-space: nowrap;
|
|
2920
|
+ |
}
|
|
2921
|
+ |
}
|
|
2922
|
+ |
|
|
2923
|
+ |
/* ── Memory manager ───────────────────────────────────────────────────────── */
|
|
2924
|
+ |
|
|
2925
|
+ |
/* Opened from the sidebar, this replaces the transcript rather than covering
|
|
2926
|
+ |
* it: it is a place you go, not a dialog over where you were, and the row that
|
|
2927
|
+ |
* opens it becomes the row that returns you. */
|
|
2928
|
+ |
|
|
2929
|
+ |
@layer components {
|
|
2930
|
+ |
.memory-manager {
|
|
2931
|
+ |
display: flex;
|
|
2932
|
+ |
min-height: 0;
|
|
2933
|
+ |
flex: 1;
|
|
2934
|
+ |
flex-direction: column;
|
|
2935
|
+ |
gap: 16px;
|
|
2936
|
+ |
overflow-y: auto;
|
|
2937
|
+ |
padding: 8px 24px 24px;
|
|
2938
|
+ |
}
|
|
2939
|
+ |
|
|
2940
|
+ |
.memory-header,
|
|
2941
|
+ |
.memory-records,
|
|
2942
|
+ |
.memory-correction,
|
|
2943
|
+ |
.memory-confirmation,
|
|
2944
|
+ |
.privacy-delete-form {
|
|
2945
|
+ |
width: 100%;
|
|
2946
|
+ |
max-width: 46rem;
|
|
2947
|
+ |
margin-inline: auto;
|
|
2948
|
+ |
}
|
|
2949
|
+ |
|
|
2950
|
+ |
.memory-header {
|
|
2951
|
+ |
display: flex;
|
|
2952
|
+ |
align-items: center;
|
|
2953
|
+ |
justify-content: space-between;
|
|
2954
|
+ |
gap: 12px;
|
|
2955
|
+ |
}
|
|
2956
|
+ |
|
|
2957
|
+ |
.memory-header__actions {
|
|
2958
|
+ |
display: flex;
|
|
2959
|
+ |
align-items: center;
|
|
2960
|
+ |
gap: 8px;
|
|
2961
|
+ |
}
|
|
2962
|
+ |
|
|
2963
|
+ |
.memory-records {
|
|
2964
|
+ |
display: flex;
|
|
2965
|
+ |
flex-direction: column;
|
|
2966
|
+ |
gap: 8px;
|
|
2967
|
+ |
}
|
|
2968
|
+ |
|
|
2969
|
+ |
.memory-record__claim {
|
|
2970
|
+ |
color: var(--text-body);
|
|
2971
|
+ |
font-size: 0.9375rem;
|
|
2972
|
+ |
line-height: 1.5;
|
|
2973
|
+ |
}
|
|
2974
|
+ |
|
|
2975
|
+ |
.memory-record__meta,
|
|
2976
|
+ |
.memory-record__sources {
|
|
2977
|
+ |
color: var(--text-dim);
|
|
2978
|
+ |
font-size: 0.75rem;
|
|
2979
|
+ |
line-height: 1rem;
|
|
2980
|
+ |
}
|
|
2981
|
+ |
|
|
2982
|
+ |
.memory-record__controls {
|
|
2983
|
+ |
display: flex;
|
|
2984
|
+ |
flex-wrap: wrap;
|
|
2985
|
+ |
align-items: center;
|
|
2986
|
+ |
gap: 6px;
|
|
2987
|
+ |
}
|
|
2988
|
+ |
|
|
2989
|
+ |
/* Deletion is stated in the control's colour, not only in its label. */
|
|
2990
|
+ |
.memory-record__destructive {
|
|
2991
|
+ |
color: var(--danger);
|
|
2992
|
+ |
}
|
|
2993
|
+ |
|
|
2994
|
+ |
.memory-correction,
|
|
2995
|
+ |
.memory-confirmation {
|
|
2996
|
+ |
display: flex;
|
|
2997
|
+ |
flex-direction: column;
|
|
2998
|
+ |
gap: 8px;
|
|
2999
|
+ |
border: 1px solid var(--line);
|
|
3000
|
+ |
border-radius: var(--radius-lg);
|
|
3001
|
+ |
background: var(--ink-surface);
|
|
3002
|
+ |
padding: 12px;
|
|
3003
|
+ |
}
|
|
3004
|
+ |
|
|
3005
|
+ |
.memory-confirmation__actions {
|
|
3006
|
+ |
display: flex;
|
|
3007
|
+ |
align-items: center;
|
|
3008
|
+ |
gap: 8px;
|
|
3009
|
+ |
}
|
|
3010
|
+ |
}
|
|
3011
|
+ |
|
|
3012
|
+ |
/* ── Delegation projection ────────────────────────────────────────────────── */
|
|
3013
|
+ |
|
|
3014
|
+ |
/* One projection with two placements: a rail beside the transcript on wide
|
|
3015
|
+ |
* screens, the same content inline at the transcript tail below that. Both are
|
|
3016
|
+ |
* ephemeral -- present only while a delegation is live or recently finished. */
|
|
3017
|
+ |
|
|
3018
|
+ |
@layer components {
|
|
3019
|
+ |
.delegation-rail {
|
|
3020
|
+ |
display: none;
|
|
3021
|
+ |
}
|
|
3022
|
+ |
|
|
3023
|
+ |
@media (min-width: 1280px) {
|
|
3024
|
+ |
.delegation-rail {
|
|
3025
|
+ |
display: flex;
|
|
3026
|
+ |
width: 300px;
|
|
3027
|
+ |
flex: none;
|
|
3028
|
+ |
flex-direction: column;
|
|
3029
|
+ |
border-left: 1px solid var(--line);
|
|
3030
|
+ |
background: var(--ink-void);
|
|
3031
|
+ |
}
|
|
3032
|
+ |
|
|
3033
|
+ |
/* Below this width the same content renders inline instead, so showing
|
|
3034
|
+ |
both would state the delegation twice. */
|
|
3035
|
+ |
.delegation-inline {
|
|
3036
|
+ |
display: none;
|
|
3037
|
+ |
}
|
|
3038
|
+ |
}
|
|
3039
|
+ |
|
|
3040
|
+ |
.delegation-rail__header {
|
|
3041
|
+ |
display: flex;
|
|
3042
|
+ |
flex: none;
|
|
3043
|
+ |
align-items: center;
|
|
3044
|
+ |
justify-content: space-between;
|
|
3045
|
+ |
gap: 8px;
|
|
3046
|
+ |
border-bottom: 1px solid var(--line);
|
|
3047
|
+ |
padding: 8px 12px 8px 16px;
|
|
3048
|
+ |
}
|
|
3049
|
+ |
|
|
3050
|
+ |
.delegation-rail__label {
|
|
3051
|
+ |
color: var(--text-muted);
|
|
3052
|
+ |
font-size: 0.6875rem;
|
|
3053
|
+ |
font-weight: 600;
|
|
3054
|
+ |
letter-spacing: 0.06em;
|
|
3055
|
+ |
text-transform: uppercase;
|
|
3056
|
+ |
}
|
|
3057
|
+ |
|
|
3058
|
+ |
.delegation-rail__body {
|
|
3059
|
+ |
display: flex;
|
|
3060
|
+ |
min-height: 0;
|
|
3061
|
+ |
flex: 1;
|
|
3062
|
+ |
flex-direction: column;
|
|
3063
|
+ |
gap: 12px;
|
|
3064
|
+ |
overflow-y: auto;
|
|
3065
|
+ |
padding: 12px 16px;
|
|
3066
|
+ |
}
|
|
3067
|
+ |
|
|
3068
|
+ |
.delegation-rail[data-collapsed="true"] .delegation-rail__body {
|
|
3069
|
+ |
display: none;
|
|
3070
|
+ |
}
|
|
3071
|
+ |
|
|
3072
|
+ |
.delegation-rail__glyph-collapse,
|
|
3073
|
+ |
.delegation-rail[data-collapsed="true"] .delegation-rail__glyph-expand {
|
|
3074
|
+ |
display: inline-flex;
|
|
3075
|
+ |
}
|
|
3076
|
+ |
|
|
3077
|
+ |
.delegation-rail__glyph-expand,
|
|
3078
|
+ |
.delegation-rail[data-collapsed="true"] .delegation-rail__glyph-collapse {
|
|
3079
|
+ |
display: none;
|
|
3080
|
+ |
}
|
|
3081
|
+ |
|
|
3082
|
+ |
.delegation-inline {
|
|
3083
|
+ |
width: 100%;
|
|
3084
|
+ |
max-width: 46rem;
|
|
3085
|
+ |
margin-inline: auto;
|
|
3086
|
+ |
border: 1px solid var(--line);
|
|
3087
|
+ |
border-radius: var(--radius-lg);
|
|
3088
|
+ |
background: var(--ink-surface);
|
|
3089
|
+ |
padding: 12px;
|
|
3090
|
+ |
}
|
|
3091
|
+ |
|
|
3092
|
+ |
.delegation-inline__details {
|
|
3093
|
+ |
display: flex;
|
|
3094
|
+ |
flex-direction: column;
|
|
3095
|
+ |
gap: 8px;
|
|
3096
|
+ |
}
|
|
3097
|
+ |
|
|
3098
|
+ |
.delegation-inline__outcome {
|
|
3099
|
+ |
color: var(--text-muted);
|
|
3100
|
+ |
font-size: 0.8125rem;
|
|
3101
|
+ |
}
|
|
3102
|
+ |
|
|
3103
|
+ |
.delegation-live {
|
|
3104
|
+ |
display: flex;
|
|
3105
|
+ |
flex-direction: column;
|
|
3106
|
+ |
gap: 6px;
|
|
3107
|
+ |
}
|
|
3108
|
+ |
|
|
3109
|
+ |
.delegation-live__header {
|
|
3110
|
+ |
display: flex;
|
|
3111
|
+ |
align-items: center;
|
|
3112
|
+ |
gap: 8px;
|
|
3113
|
+ |
}
|
|
3114
|
+ |
|
|
3115
|
+ |
.delegation-live__subject {
|
|
3116
|
+ |
min-width: 0;
|
|
3117
|
+ |
flex: 1;
|
|
3118
|
+ |
overflow: hidden;
|
|
3119
|
+ |
color: var(--text-primary);
|
|
3120
|
+ |
font-size: 0.8125rem;
|
|
3121
|
+ |
font-weight: 500;
|
|
3122
|
+ |
text-overflow: ellipsis;
|
|
3123
|
+ |
white-space: nowrap;
|
|
3124
|
+ |
}
|
|
3125
|
+ |
|
|
3126
|
+ |
.delegation-live__machine,
|
|
3127
|
+ |
.delegation-live__elapsed {
|
|
3128
|
+ |
color: var(--text-dim);
|
|
3129
|
+ |
font-family: var(--font-mono, ui-monospace, monospace);
|
|
3130
|
+ |
font-size: 0.75rem;
|
|
3131
|
+ |
font-variant-numeric: tabular-nums;
|
|
3132
|
+ |
}
|
|
3133
|
+ |
|
|
3134
|
+ |
.delegation-log {
|
|
3135
|
+ |
display: flex;
|
|
3136
|
+ |
max-height: 40vh;
|
|
3137
|
+ |
flex-direction: column;
|
|
3138
|
+ |
gap: 2px;
|
|
3139
|
+ |
overflow-y: auto;
|
|
3140
|
+ |
color: var(--text-muted);
|
|
3141
|
+ |
font-family: var(--font-mono, ui-monospace, monospace);
|
|
3142
|
+ |
font-size: 0.75rem;
|
|
3143
|
+ |
line-height: 1.4;
|
|
3144
|
+ |
}
|
|
3145
|
+ |
|
|
3146
|
+ |
.delegation-truncated {
|
|
3147
|
+ |
color: var(--text-dim);
|
|
3148
|
+ |
font-size: 0.6875rem;
|
|
3149
|
+ |
}
|
|
3150
|
+ |
|
|
3151
|
+ |
.delegation-summary__lines {
|
|
3152
|
+ |
display: flex;
|
|
3153
|
+ |
min-width: 0;
|
|
3154
|
+ |
flex-direction: column;
|
|
3155
|
+ |
}
|
|
3156
|
+ |
|
|
3157
|
+ |
.delegation-summary__title {
|
|
3158
|
+ |
overflow: hidden;
|
|
3159
|
+ |
color: var(--text-muted);
|
|
3160
|
+ |
font-size: 0.8125rem;
|
|
3161
|
+ |
text-overflow: ellipsis;
|
|
3162
|
+ |
white-space: nowrap;
|
|
3163
|
+ |
}
|
|
3164
|
+ |
|
|
3165
|
+ |
.delegation-summary__meta {
|
|
3166
|
+ |
color: var(--text-dim);
|
|
3167
|
+ |
font-size: 0.75rem;
|
|
3168
|
+ |
}
|
|
3169
|
+ |
|
|
3170
|
+ |
.delegation-summary__dot {
|
|
3171
|
+ |
flex: none;
|
|
3172
|
+ |
}
|
|
3173
|
+ |
|
|
3174
|
+ |
/* A superseded summary is kept rather than removed -- it happened -- but it
|
|
3175
|
+ |
is stated more quietly than the one that replaced it. */
|
|
3176
|
+ |
.delegation-summary--superseded {
|
|
3177
|
+ |
opacity: 0.6;
|
|
3178
|
+ |
}
|
|
3179
|
+ |
|
|
3180
|
+ |
.delegation-summary__dismiss,
|
|
3181
|
+ |
.message-queue__dismiss {
|
|
3182
|
+ |
flex: none;
|
|
3183
|
+ |
margin-inline-start: auto;
|
|
3184
|
+ |
}
|
|
3185
|
+ |
}
|
|
3186
|
+ |
|
|
3187
|
+ |
/* ── Composer action states ───────────────────────────────────────────────── */
|
|
3188
|
+ |
|
|
3189
|
+ |
/* One control, three jobs: send, stop a running turn, and end a voice session.
|
|
3190
|
+ |
* Each states its job in shape and colour rather than only in its glyph. */
|
|
3191
|
+ |
|
|
3192
|
+ |
@layer components {
|
|
3193
|
+ |
.send-action--stop {
|
|
3194
|
+ |
background: var(--danger);
|
|
3195
|
+ |
color: var(--control-inverse-fg);
|
|
3196
|
+ |
}
|
|
3197
|
+ |
|
|
3198
|
+ |
.send-action--voice,
|
|
3199
|
+ |
.send-action--voice-end {
|
|
3200
|
+ |
background: transparent;
|
|
3201
|
+ |
border: 1px solid var(--line-strong);
|
|
3202
|
+ |
color: var(--icon-primary);
|
|
3203
|
+ |
}
|
|
3204
|
+ |
|
|
3205
|
+ |
.send-action--voice-end {
|
|
3206
|
+ |
border-color: var(--danger);
|
|
3207
|
+ |
color: var(--danger);
|
|
3208
|
+ |
}
|
|
3209
|
+ |
|
|
3210
|
+ |
.voice-controller--in-composer {
|
|
3211
|
+ |
width: 100%;
|
|
3212
|
+ |
}
|
|
3213
|
+ |
|
|
3214
|
+ |
.tool-activity--live {
|
|
3215
|
+ |
padding-block-start: 4px;
|
|
3216
|
+ |
}
|
|
3217
|
+ |
}
|