@clowder-ai/companion 0.1.0-alpha.1 → 0.1.0-alpha.11

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.
Files changed (50) hide show
  1. package/NOTICE +10 -2
  2. package/README.md +48 -0
  3. package/manifest.json +5 -5
  4. package/package.json +17 -6
  5. package/plugin.yaml +5 -5
  6. package/renderer/client.mjs +6 -0
  7. package/renderer/companion-identity.mjs +41 -0
  8. package/renderer/conversation.mjs +34 -17
  9. package/renderer/decision-view.mjs +30 -0
  10. package/renderer/index.html +84 -26
  11. package/renderer/living-body.mjs +147 -0
  12. package/renderer/living-edge.mjs +16 -0
  13. package/renderer/living-geometry.mjs +96 -0
  14. package/renderer/motion-facts.mjs +79 -0
  15. package/renderer/native-work-motion.mjs +24 -0
  16. package/renderer/pet-controls.mjs +84 -0
  17. package/renderer/pet-motion.mjs +352 -0
  18. package/renderer/recent-bubble.mjs +39 -0
  19. package/renderer/skins/ragdoll-v1.png +0 -0
  20. package/renderer/skins/xianxian-codex.webp +0 -0
  21. package/renderer/skins/xianxian-living/clips/carry.webm +0 -0
  22. package/renderer/skins/xianxian-living/clips/peek.webm +0 -0
  23. package/renderer/skins/xianxian-living/clips/peek_fade.webm +0 -0
  24. package/renderer/skins/xianxian-living/clips/pounce.webm +0 -0
  25. package/renderer/skins/xianxian-living/clips/sleep.webm +0 -0
  26. package/renderer/skins/xianxian-living/clips/think.webm +0 -0
  27. package/renderer/skins/xianxian-living/clips/trot.webm +0 -0
  28. package/renderer/skins/xianxian-living/clips/wait.webm +0 -0
  29. package/renderer/skins/xianxian-living/clips/wake.webm +0 -0
  30. package/renderer/skins/xianxian-living/layers/body.webp +0 -0
  31. package/renderer/skins/xianxian-living/layers/closed.webp +0 -0
  32. package/renderer/skins/xianxian-living/layers/earL.webp +0 -0
  33. package/renderer/skins/xianxian-living/layers/earR.webp +0 -0
  34. package/renderer/skins/xianxian-living/layers/head.webp +0 -0
  35. package/renderer/skins/xianxian-living/layers/irisL.webp +0 -0
  36. package/renderer/skins/xianxian-living/layers/irisR.webp +0 -0
  37. package/renderer/skins/xianxian-living/layers/meta.json +88 -0
  38. package/renderer/skins/xianxian-living/layers/mouth.webp +0 -0
  39. package/renderer/skins/xianxian-living/layers/scared.webp +0 -0
  40. package/renderer/skins/xianxian-living/layers/tail.webp +0 -0
  41. package/renderer/skins/xianxian-living/layers/whiteL.webp +0 -0
  42. package/renderer/skins/xianxian-living/layers/whiteR.webp +0 -0
  43. package/renderer/skins/xianxian-sleeping-row.png +0 -0
  44. package/renderer/skins/xianxian-staged-thought-row.png +0 -0
  45. package/renderer/skins/xianxian-working-row.png +0 -0
  46. package/renderer/skins/yarn-ball.png +0 -0
  47. package/renderer/style.css +114 -308
  48. package/renderer/surface.mjs +198 -63
  49. package/renderer/transcript-view.mjs +42 -7
  50. package/source-lock.json +138 -4
@@ -1,309 +1,115 @@
1
- * {
2
- box-sizing: border-box;
3
- }
4
- html,
5
- body {
6
- margin: 0;
7
- width: 100%;
8
- height: 100%;
9
- overflow: hidden;
10
- background: transparent;
11
- }
12
- body {
13
- font:
14
- 13px -apple-system,
15
- BlinkMacSystemFont,
16
- "PingFang SC",
17
- sans-serif;
18
- color: var(--cafe-text);
19
- display: flex;
20
- flex-direction: column;
21
- align-items: center;
22
- justify-content: flex-end;
23
- padding: 10px;
24
- }
25
- [hidden] {
26
- display: none !important;
27
- }
28
- button,
29
- input {
30
- font: inherit;
31
- }
32
- button {
33
- cursor: pointer;
34
- border: 0;
35
- color: inherit;
36
- }
37
- button:focus-visible,
38
- input:focus-visible {
39
- outline: 2px solid var(--cafe-accent);
40
- outline-offset: 3px;
41
- }
42
- button:disabled {
43
- opacity: 0.5;
44
- cursor: default;
45
- }
46
- #pet {
47
- width: 96px;
48
- height: 104px;
49
- flex-shrink: 0;
50
- background: url("./skins/yanyan-codex.webp") 0 0 / 768px 936px;
51
- animation: idle 4.8s steps(6) infinite;
52
- -webkit-app-region: drag;
53
- filter: drop-shadow(0 4px 5px #0003);
54
- }
55
- @keyframes idle {
56
- to {
57
- background-position-x: -576px;
58
- }
59
- }
60
- #dock {
61
- width: 100%;
62
- flex-shrink: 0;
63
- padding: 11px 12px 10px;
64
- background: var(--cafe-surface-elevated);
65
- border: 1px solid var(--cafe-border-subtle);
66
- border-radius: 20px;
67
- box-shadow: 0 4px 16px #0002;
68
- }
69
- .voice-state {
70
- display: flex;
71
- align-items: center;
72
- justify-content: center;
73
- gap: 7px;
74
- min-height: 25px;
75
- }
76
- #orb {
77
- width: 8px;
78
- height: 8px;
79
- flex-shrink: 0;
80
- border-radius: 50%;
81
- background: var(--cafe-text-muted);
82
- }
83
- body.connecting #orb {
84
- background: var(--semantic-warning);
85
- animation: pulse 1.5s ease-in-out infinite;
86
- }
87
- body.connected #orb {
88
- background: var(--semantic-success);
89
- animation: pulse 3.5s ease-in-out infinite;
90
- }
91
- @keyframes pulse {
92
- 50% {
93
- opacity: 0.5;
94
- }
95
- }
96
- #status {
97
- margin: 0;
98
- line-height: 1.45;
99
- text-align: center;
100
- font-size: 12px;
101
- overflow-wrap: anywhere;
102
- }
103
- #idle {
104
- padding: 7px 0 4px;
105
- }
106
- #begin {
107
- width: 100%;
108
- border-radius: 12px;
109
- padding: 10px 20px;
110
- font-weight: 600;
111
- background: var(--accent-100);
112
- }
113
- #begin:hover {
114
- background: var(--accent-200);
115
- }
116
- #controls {
117
- display: grid;
118
- grid-template-columns: repeat(4, 1fr);
119
- gap: 4px;
120
- padding: 6px 0 9px;
121
- }
122
- #controls button {
123
- display: flex;
124
- flex-direction: column;
125
- align-items: center;
126
- justify-content: center;
127
- gap: 5px;
128
- min-height: 51px;
129
- border-radius: 11px;
130
- background: transparent;
131
- font-size: 11px;
132
- white-space: nowrap;
133
- }
134
- #controls button:hover {
135
- background: var(--cafe-surface);
136
- }
137
- #controls button[aria-pressed="true"],
138
- #controls button[aria-expanded="true"] {
139
- background: var(--accent-100);
140
- color: var(--accent-700);
141
- }
142
- #controls #end {
143
- color: var(--semantic-critical);
144
- }
145
- #controls #end:hover {
146
- background: var(--semantic-critical-surface);
147
- }
148
- #controls svg {
149
- width: 19px;
150
- height: 19px;
151
- stroke: currentColor;
152
- fill: none;
153
- stroke-width: 1.8;
154
- stroke-linecap: round;
155
- stroke-linejoin: round;
156
- }
157
- #access {
158
- display: flex;
159
- align-items: center;
160
- justify-content: center;
161
- gap: 8px;
162
- padding-top: 7px;
163
- border-top: 1px solid var(--cafe-border-subtle);
164
- }
165
- #share {
166
- flex: 1;
167
- min-height: 32px;
168
- padding: 6px 10px;
169
- border-radius: 9px;
170
- font-weight: 600;
171
- background: var(--accent-100);
172
- color: var(--accent-700);
173
- }
174
- #share:hover {
175
- background: var(--accent-200);
176
- }
177
- #share[aria-pressed="true"] {
178
- background: var(--semantic-success-surface);
179
- color: var(--semantic-success);
180
- }
181
- #documents {
182
- background: transparent;
183
- color: var(--cafe-text-secondary);
184
- font-size: 11px;
185
- padding: 7px 3px;
186
- border-radius: 6px;
187
- }
188
- #documents:hover {
189
- background: var(--cafe-surface);
190
- }
191
- #screen-status {
192
- margin: 8px 0 0;
193
- padding: 7px 9px;
194
- font-size: 11px;
195
- line-height: 1.5;
196
- overflow-wrap: anywhere;
197
- border-radius: 8px;
198
- background: var(--semantic-warning-surface);
199
- color: var(--cafe-text-secondary);
200
- }
201
- #screen-status[data-state="sharing"] {
202
- background: var(--semantic-success-surface);
203
- }
204
- #connection-scope {
205
- margin: 7px 0 0;
206
- text-align: center;
207
- font-size: 10px;
208
- line-height: 1.4;
209
- color: var(--cafe-text-muted);
210
- }
211
- #details {
212
- align-self: stretch;
213
- min-height: 0;
214
- flex: 1;
215
- margin-bottom: 5px;
216
- background: var(--cafe-surface-elevated);
217
- border: 1px solid var(--cafe-border-subtle);
218
- border-radius: 18px;
219
- overflow: hidden;
220
- display: flex;
221
- flex-direction: column;
222
- box-shadow: 0 3px 16px #0002;
223
- }
224
- #details header {
225
- display: flex;
226
- align-items: center;
227
- gap: 9px;
228
- padding: 10px 14px;
229
- border-bottom: 1px solid var(--cafe-border-subtle);
230
- }
231
- #details header span {
232
- color: var(--cafe-text-muted);
233
- font-size: 11px;
234
- flex: 1;
235
- }
236
- #collapse {
237
- background: transparent;
238
- font-size: 12px;
239
- padding: 4px;
240
- color: var(--cafe-text-secondary);
241
- }
242
- #transcript {
243
- min-height: 0;
244
- flex: 1;
245
- overflow-y: auto;
246
- padding: 10px 14px;
247
- line-height: 1.65;
248
- }
249
- #transcript p {
250
- margin: 0 0 12px;
251
- white-space: pre-wrap;
252
- overflow-wrap: anywhere;
253
- }
254
- #transcript .user {
255
- color: var(--cafe-text-secondary);
256
- }
257
- #transcript .user::before,
258
- #transcript .assistant::before {
259
- display: block;
260
- margin-bottom: 3px;
261
- font-size: 10px;
262
- color: var(--cafe-text-muted);
263
- }
264
- #transcript .user::before {
265
- content: "你";
266
- }
267
- #transcript .assistant::before {
268
- content: var(--speaker-label, "猫猫");
269
- }
270
- #transcript .tool {
271
- font-size: 11px;
272
- color: var(--cafe-text-secondary);
273
- }
274
- .empty {
275
- color: var(--cafe-text-muted);
276
- }
277
- #compose {
278
- display: flex;
279
- align-items: center;
280
- gap: 6px;
281
- border-top: 1px solid var(--cafe-border-subtle);
282
- padding: 9px;
283
- }
284
- #message {
285
- width: 100%;
286
- min-width: 0;
287
- border: 0;
288
- padding: 5px 3px;
289
- background: transparent;
290
- color: inherit;
291
- }
292
- #compose button {
293
- border-radius: 50%;
294
- background: var(--accent-100);
295
- min-width: 30px;
296
- height: 30px;
297
- }
1
+ @import url("./theme.css");
2
+ * { box-sizing: border-box; }
3
+ [hidden] { display: none !important; }
4
+ body { margin: 0; overflow: hidden; color: var(--cafe-text); background: transparent; font: 14px -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
5
+ button, textarea, input { font: inherit; }
6
+ button { cursor: pointer; color: inherit; }
7
+ button:focus-visible, textarea:focus-visible { outline: 2px solid var(--cafe-accent); outline-offset: 3px; }
8
+ button:disabled { opacity: .45; cursor: default; }
9
+ .icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
10
+ .icon { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
11
+ #desktop { position: relative; width: 100vw; height: 100vh; }
12
+ #anchor { position: absolute; left: 8px; top: 8px; width: 120px; height: 130px; }
13
+ #pet { width: 120px; height: 130px; display: block; border: 0; padding: 0; background: url("./skins/xianxian-codex.webp") 0 0 / 960px 1170px; filter: drop-shadow(0 6px 4px #0002); touch-action: none; cursor: grab; }
14
+ #pet.dragging { cursor: grabbing; }
15
+ #pet[data-skin="xianxian-codex"] { position: relative; background-image: none; overflow: visible; }
16
+ #living-sit { position: absolute; left: 0; bottom: 10px; width: 120px; height: 120px; overflow: visible; pointer-events: none; }
17
+ #living-video, #living-video-transition { position: absolute; object-fit: fill; pointer-events: none; }
18
+ #pet[data-direction="left"] #living-video, #pet[data-direction="left"] #living-video-transition { transform: scaleX(-1); }
19
+ #pet[data-action="held"] #living-sit { transform: translateY(-4px) scale(.98); transform-origin: 50% 80%; }
20
+ #living-sit [data-layer="tail"] { transform-box: view-box; transform-origin: 168px 456px; animation: living-tail 3.4s ease-in-out infinite; }
21
+ #living-sit [data-layer="head"] { transform-box: view-box; transform-origin: 300px 280px; animation: living-head 5.5s ease-in-out infinite; }
22
+ #living-sit [data-layer="ear-left"], #living-sit [data-layer="ear-right"] { transform-box: view-box; }
23
+ #living-sit [data-layer="ear-left"] { transform-origin: 219px 101px; }
24
+ #living-sit [data-layer="ear-right"] { transform-origin: 391px 100px; }
25
+ #pet[data-pose="listening"] #living-sit [data-layer="ear-left"] { transform: rotate(-8deg); }
26
+ #pet[data-pose="listening"] #living-sit [data-layer="ear-right"] { transform: rotate(8deg); }
27
+ #living-sit [data-layer="closed"] { opacity: 0; animation: living-blink 5.8s linear infinite; }
28
+ #pet[data-action="idle"] #living-sit [data-layer="tail"] { animation: living-idle-tail 4.8s ease-in-out infinite; }
29
+ #pet[data-action="idle"] #living-sit [data-layer="head"] { animation: living-idle-head 6.8s ease-in-out infinite; }
30
+ #pet[data-action="idle"] #living-sit [data-layer="ear-left"] { animation: living-idle-ear-left 8.1s ease-in-out infinite; }
31
+ #pet[data-action="idle"] #living-sit [data-layer="ear-right"] { animation: living-idle-ear-right 7.3s ease-in-out infinite; }
32
+ #pet[data-action="idle"] #living-sit [data-layer="closed"] { animation: living-idle-blink 5.8s steps(1, end) infinite; }
33
+ #living-sit [data-layer="mouth"], #living-sit [data-layer="scared"] { opacity: 0; }
34
+ #pet[data-pose="scared"] #living-sit [data-layer="scared"] { opacity: 1; }
35
+ #pet[data-pose="sleeping"] #living-sit [data-layer="closed"] { opacity: 1; animation: none; }
36
+ @keyframes living-tail { 50% { transform: rotate(5deg); } }
37
+ @keyframes living-head { 50% { transform: rotate(2deg); } }
38
+ @keyframes living-blink { 0%, 96%, 100% { opacity: 0; } 97%, 98% { opacity: 1; } }
39
+ @keyframes living-idle-tail { 0%, 12%, 100% { transform: rotate(0); } 34% { transform: rotate(10deg); } 62% { transform: rotate(-8deg); } 80% { transform: rotate(3deg); } }
40
+ @keyframes living-idle-head { 0%, 12%, 100% { transform: rotate(0); } 35% { transform: rotate(5deg); } 69% { transform: rotate(-3deg); } }
41
+ @keyframes living-idle-ear-left { 0%, 68%, 76%, 100% { transform: rotate(0); } 71% { transform: rotate(-9deg); } 73% { transform: rotate(3deg); } }
42
+ @keyframes living-idle-ear-right { 0%, 30%, 39%, 100% { transform: rotate(0); } 33% { transform: rotate(8deg); } 36% { transform: rotate(-3deg); } }
43
+ @keyframes living-idle-blink { 0%, 24%, 30%, 74%, 80%, 100% { opacity: 0; } 25%, 29%, 75%, 79% { opacity: 1; } }
44
+ @keyframes living-wake-anchor {
45
+ from { left: var(--living-left-start); top: var(--living-top-start); }
46
+ to { left: var(--living-left-end); top: var(--living-top-end); }
47
+ }
48
+ #indicators { position: absolute; bottom: 0; right: 0; display: flex; gap: 4px; }
49
+ #indicators button { width: 32px; height: 32px; border: 1px solid #fff9; border-radius: 50%; display: grid; place-items: center; background: #236b59; color: white; box-shadow: 0 2px 5px #0003; }
50
+ #indicators button:hover { background: #ab4842; }
51
+ #indicators button[data-state="connecting"] { background: #a77b36; animation: pulse 1.8s infinite; }
52
+ #indicators button[data-state="muted"] { background: #5f6670; }
53
+ #indicators svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
54
+ #share-badge { background: #476dac !important; }
55
+ #pending-badge { background: #9b6841 !important; font-size: 11px; font-weight: 700; }
56
+ @keyframes pulse { 50% { opacity: .65; } }
57
+ .floating { position: absolute; z-index: 3; border-radius: 13px; border: 1px solid color-mix(in srgb, var(--cafe-border-subtle), transparent 30%); background: color-mix(in srgb, var(--cafe-surface-elevated) 96%, transparent); box-shadow: 0 10px 26px -10px #24272c2e, 0 2px 5px #24272c0a; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
58
+ .floating { max-height: 500px; overflow: auto; }
59
+ #bubble { width: 240px; max-height: 80px; overflow: hidden; padding: 8px 11px; pointer-events: none; }
60
+ #bubble p { margin: 0; font-size: 11px; line-height: 1.45; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
61
+ #bubble p + p { margin-top: 4px; }
62
+ #bubble [data-role="user"] { color: var(--cafe-text-secondary); }
63
+ .floating button { border: 0; background: transparent; border-radius: 7px; padding: 8px 11px; font-weight: 400; }
64
+ .floating button:hover:not(:disabled) { background: var(--cafe-surface); }
65
+ .floating .primary { background: var(--accent-100); color: var(--accent-900); }
66
+ #actions { padding: 5px; width: max-content; }
67
+ .action-row { display: flex; align-items: center; gap: 4px; }
68
+ .action-row button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 35px; font-size: 12px; white-space: nowrap; }
69
+ .action-row button .icon { width: 16px; height: 16px; }
70
+ #active-actions { border-top: 1px solid var(--cafe-border-subtle); margin-top: 5px; padding-top: 5px; }
71
+ #status { max-width: 220px; font-size: 12px; line-height: 1.5; margin: 7px 10px; color: var(--cafe-text-secondary); }
72
+ #menu { width: 204px; padding: 5px; }
73
+ #menu .menu-title { display: block; padding: 7px 11px 6px; color: var(--cafe-text-muted); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
74
+ #menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 33px; text-align: left; font-size: 12px; line-height: 1.4; }
75
+ #menu button .icon { color: var(--cafe-text-secondary); width: 16px; height: 16px; }
76
+ #menu button:disabled { opacity: .36; }
77
+ #menu .menu-status { margin-left: auto; color: var(--cafe-text-muted); font-size: 10px; }
78
+ #menu [aria-pressed="true"] .menu-status { color: var(--accent-700); }
79
+ #menu .menu-divider { height: 1px; margin: 4px 8px; background: color-mix(in srgb, var(--cafe-border-subtle), transparent 28%); }
80
+ #menu .quiet-action { color: var(--cafe-text-secondary); }
81
+ #chat { width: 320px; display: flex; flex-direction: column; }
82
+ #chat header { padding: 7px 9px 7px 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cafe-border-subtle); }
83
+ #chat header button { font-size: 12px; color: var(--cafe-text-secondary); }
84
+ #transcript { height: 145px; overflow: auto; padding: 14px; line-height: 1.7; }
85
+ #transcript p { margin: 0 0 10px; overflow-wrap: anywhere; white-space: pre-wrap; }
86
+ #transcript p:not(.empty) { width: fit-content; max-width: 92%; padding: 7px 10px; border-radius: 9px; }
87
+ #transcript p.user { margin-left: auto; background: var(--accent-50); }
88
+ #transcript p.assistant { margin-right: auto; background: var(--cafe-surface); border: 1px solid var(--cafe-border-subtle); }
89
+ .empty { color: var(--cafe-text-muted); font-size: 13px; }
90
+ #compose { display: flex; align-items: flex-end; padding: 10px; gap: 8px; border-top: 1px solid var(--cafe-border-subtle); }
91
+ #message { resize: none; border: 0; min-width: 0; flex: 1; background: transparent; padding: 5px; color: inherit; line-height: 1.5; }
92
+ #chat small { color: var(--cafe-text-muted); font-size: 10px; padding: 0 14px 10px; }
93
+ .sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
298
94
  @media (prefers-reduced-motion: reduce) {
299
- #pet,
300
- body.connecting #orb,
301
- body.connected #orb {
302
- animation: none;
303
- }
304
- }
305
- #history { background: transparent; color: var(--cafe-text-secondary); padding: 7px 3px; font-size: 11px; }
306
- #identity { margin: 0 0 3px; text-align: center; font-weight: 600; }
307
- #pet[data-skin="xianxian-codex"] { background-image: url("./skins/xianxian-codex.webp"); }
308
- #pet[data-skin="ragdoll-v1"], #pet[data-skin="yarn-ball"] { background: url("./skins/ragdoll-v1.png") center / contain no-repeat; animation: none; }
309
- #pet[data-skin="yarn-ball"] { background-image: url("./skins/yarn-ball.png"); }
95
+ #pet, #indicators button, #living-sit [data-layer], #pet[data-action="idle"] #living-sit [data-layer] { animation: none; }
96
+ #living-sit [data-layer="closed"] { opacity: 0; }
97
+ }
98
+ #pet[data-skin="yanyan-codex"] { background-image: url("./skins/yanyan-codex.webp"); }
99
+ #pet[data-skin="ragdoll-v1"] { background-image: url("./skins/ragdoll-v1.png"); animation: none; background-size: contain; background-repeat: no-repeat; background-position: center; }
100
+ #pet[data-skin="yarn-ball"] { background-image: url("./skins/yarn-ball.png"); animation: none; background-size: contain; background-repeat: no-repeat; background-position: center; }
101
+ #transcript { height: 230px; font-size: 13px; }
102
+ #transcript p[data-author]::before { content: attr(data-author); display: block; color: var(--cafe-text-muted); font-size: 10px; margin-bottom: 2px; }
103
+ #transcript p[data-live="true"] { border-left: 2px solid var(--cafe-accent); }
104
+ #history { padding: 0; font-size: 10px; color: var(--cafe-text-secondary); }
105
+ #decisions { width: 320px; min-height: 180px; padding: 8px 12px 12px; display: flex; flex-direction: column; overflow: hidden; }
106
+ #decisions header { display: flex; align-items: center; justify-content: space-between; flex: none; }
107
+ #decisions header strong { font-size: 13px; }
108
+ #decisions header button, #decision-more { font-size: 11px; color: var(--cafe-text-secondary); }
109
+ #decision-status, #decisions small { color: var(--cafe-text-secondary); font-size: 11px; line-height: 1.5; flex: none; }
110
+ #decision-status { margin: 7px 0 4px; }
111
+ #decision-list { list-style: none; margin: 4px 0 8px; padding: 0; max-height: 290px; min-height: 55px; flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; }
112
+ #decision-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 4px; border-top: 1px solid var(--cafe-border-subtle); padding: 9px 2px; line-height: 1.45; overflow-wrap: anywhere; }
113
+ #decision-list li strong { grid-column: 1; display: block; font-size: 12px; font-weight: 600; }
114
+ #decision-list li span { grid-column: 1; display: block; color: var(--cafe-text-secondary); font-size: 10px; margin-top: 2px; }
115
+ #decision-list li button { grid-column: 2; grid-row: 1 / span 2; padding: 5px 6px; font-size: 10px; white-space: nowrap; }