@bakapiano/ccsm 0.5.0 → 0.8.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.
Files changed (70) hide show
  1. package/README.md +172 -38
  2. package/bin/ccsm.js +194 -0
  3. package/lib/config.js +1 -0
  4. package/lib/favorites.js +23 -45
  5. package/lib/focus.js +90 -14
  6. package/lib/jsonStore.js +60 -0
  7. package/lib/labels.js +29 -0
  8. package/lib/webTerminal.js +173 -0
  9. package/lib/workspace.js +8 -4
  10. package/package.json +11 -3
  11. package/public/css/base.css +82 -0
  12. package/public/css/cards.css +149 -0
  13. package/public/css/feedback.css +219 -0
  14. package/public/css/forms.css +282 -0
  15. package/public/css/layout.css +107 -0
  16. package/public/css/modal.css +169 -0
  17. package/public/css/responsive.css +10 -0
  18. package/public/css/sidebar.css +165 -0
  19. package/public/css/tables.css +266 -0
  20. package/public/css/terminals.css +112 -0
  21. package/public/css/tokens.css +63 -0
  22. package/public/css/wco.css +70 -0
  23. package/public/css/widgets.css +204 -0
  24. package/public/favicon.svg +18 -0
  25. package/public/index.html +53 -379
  26. package/public/js/actions.js +87 -0
  27. package/public/js/api.js +103 -0
  28. package/public/js/backend.js +28 -0
  29. package/public/js/components/App.js +45 -0
  30. package/public/js/components/Card.js +24 -0
  31. package/public/js/components/DialogHost.js +45 -0
  32. package/public/js/components/Fab.js +11 -0
  33. package/public/js/components/FavoritesTable.js +81 -0
  34. package/public/js/components/Footer.js +12 -0
  35. package/public/js/components/NewSessionModal.js +142 -0
  36. package/public/js/components/OfflineBanner.js +52 -0
  37. package/public/js/components/PageHead.js +33 -0
  38. package/public/js/components/Pagination.js +27 -0
  39. package/public/js/components/ProgressList.js +32 -0
  40. package/public/js/components/RecentTable.js +68 -0
  41. package/public/js/components/RepoPicker.js +40 -0
  42. package/public/js/components/ReposEditor.js +74 -0
  43. package/public/js/components/ServerStatus.js +18 -0
  44. package/public/js/components/SessionsTable.js +71 -0
  45. package/public/js/components/Sidebar.js +52 -0
  46. package/public/js/components/SnapshotPanel.js +77 -0
  47. package/public/js/components/TerminalView.js +108 -0
  48. package/public/js/components/TitleCell.js +40 -0
  49. package/public/js/components/Toast.js +8 -0
  50. package/public/js/components/WorkspacePicker.js +19 -0
  51. package/public/js/components/WorkspacesGrid.js +41 -0
  52. package/public/js/dialog.js +59 -0
  53. package/public/js/html.js +6 -0
  54. package/public/js/icons.js +114 -0
  55. package/public/js/main.js +81 -0
  56. package/public/js/pages/AboutPage.js +85 -0
  57. package/public/js/pages/ConfigurePage.js +194 -0
  58. package/public/js/pages/LaunchPage.js +117 -0
  59. package/public/js/pages/SessionsPage.js +47 -0
  60. package/public/js/pages/TerminalsPage.js +74 -0
  61. package/public/js/state.js +87 -0
  62. package/public/js/streaming.js +96 -0
  63. package/public/js/toast.js +14 -0
  64. package/public/js/util.js +24 -0
  65. package/public/manifest.webmanifest +14 -0
  66. package/scripts/install.js +111 -0
  67. package/scripts/uninstall.js +56 -0
  68. package/server.js +314 -31
  69. package/public/app.js +0 -894
  70. package/public/styles.css +0 -1204
@@ -0,0 +1,149 @@
1
+ /* Card surfaces · head with fold toggle · body · title with icon */
2
+
3
+ .card {
4
+ background: var(--bg-elev);
5
+ border: 1px solid var(--border);
6
+ border-radius: var(--r-md);
7
+ overflow: hidden;
8
+ box-shadow: var(--shadow);
9
+ }
10
+
11
+ .card-head {
12
+ padding: var(--s-4) var(--s-6) var(--s-3);
13
+ border-bottom: 1px solid var(--border-soft);
14
+ display: flex;
15
+ justify-content: flex-start;
16
+ align-items: center;
17
+ gap: var(--s-3);
18
+ }
19
+ /* Whole header clickable to fold, only when card is foldable */
20
+ .card[data-fold-key] .card-head {
21
+ cursor: pointer;
22
+ user-select: none;
23
+ transition: background .12s ease;
24
+ }
25
+ .card[data-fold-key] .card-head:hover {
26
+ background: var(--bg);
27
+ }
28
+ .card[data-collapsed] .card-head { border-bottom-color: transparent; }
29
+ .card-titles { flex: 1; min-width: 0; }
30
+
31
+ .card-fold {
32
+ appearance: none;
33
+ background: transparent;
34
+ border: 0;
35
+ padding: 4px;
36
+ margin: 0;
37
+ cursor: pointer;
38
+ color: var(--ink-muted);
39
+ display: inline-flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ border-radius: 4px;
43
+ transition: color .12s ease, background .12s ease, transform .25s cubic-bezier(.4, 0, .2, 1);
44
+ line-height: 0;
45
+ flex: 0 0 auto;
46
+ }
47
+ .card-fold:hover {
48
+ color: var(--ink);
49
+ background: var(--bg);
50
+ }
51
+ .card[data-collapsed] .card-fold { transform: rotate(-90deg); }
52
+ .card[data-collapsed] .card-body { display: none; }
53
+
54
+ .card-title {
55
+ font-size: 15.5px;
56
+ font-weight: 600;
57
+ letter-spacing: -0.012em;
58
+ color: var(--ink);
59
+ }
60
+ .card-title .title-icon {
61
+ color: var(--ink-mid);
62
+ margin-right: 6px;
63
+ vertical-align: -2px;
64
+ }
65
+ .card-title .title-icon-after {
66
+ margin-right: 0;
67
+ margin-left: 6px;
68
+ vertical-align: -1px;
69
+ }
70
+ .card-meta {
71
+ margin-top: 2px;
72
+ font-size: 12.5px;
73
+ color: var(--ink-muted);
74
+ font-family: var(--body);
75
+ }
76
+ .card-meta code {
77
+ font-family: var(--mono);
78
+ font-size: 11.5px;
79
+ color: var(--ink-mid);
80
+ background: var(--bg);
81
+ padding: 1px 5px;
82
+ border-radius: 4px;
83
+ border: 1px solid var(--border-soft);
84
+ }
85
+
86
+ .card-body { padding: var(--s-5) var(--s-6); }
87
+ .card-body-flush { padding: 0; }
88
+
89
+ /* ── About page ── */
90
+ .about-block { display: flex; flex-direction: column; gap: var(--s-5); max-width: 640px; }
91
+ .about-hero { display: flex; gap: var(--s-4); align-items: center; }
92
+ .about-mark { display: inline-flex; }
93
+ .about-mark svg { width: 48px; height: 48px; }
94
+ .about-name {
95
+ font-size: 20px;
96
+ font-weight: 600;
97
+ letter-spacing: -0.02em;
98
+ color: var(--ink);
99
+ }
100
+ .about-version {
101
+ font-family: var(--mono);
102
+ font-size: 12px;
103
+ color: var(--ink-muted);
104
+ margin-left: 6px;
105
+ font-weight: 400;
106
+ }
107
+ .about-tagline {
108
+ margin-top: 2px;
109
+ font-size: 13px;
110
+ color: var(--ink-mid);
111
+ }
112
+ .about-tagline code {
113
+ font-size: 11px;
114
+ padding: 1px 4px;
115
+ }
116
+ .about-copy {
117
+ font-size: 13.5px;
118
+ color: var(--ink-mid);
119
+ line-height: 1.6;
120
+ max-width: 560px;
121
+ }
122
+ .about-links {
123
+ display: flex;
124
+ gap: var(--s-3);
125
+ flex-wrap: wrap;
126
+ }
127
+ .about-links .action {
128
+ display: inline-flex;
129
+ align-items: center;
130
+ gap: 6px;
131
+ text-decoration: none;
132
+ }
133
+ .about-meta {
134
+ display: grid;
135
+ grid-template-columns: 140px 1fr;
136
+ gap: 8px var(--s-4);
137
+ font-size: 12.5px;
138
+ padding-top: var(--s-3);
139
+ border-top: 1px solid var(--border-soft);
140
+ }
141
+ .about-meta dt {
142
+ color: var(--ink-muted);
143
+ font-weight: 500;
144
+ text-transform: uppercase;
145
+ letter-spacing: 0.06em;
146
+ font-size: 10.5px;
147
+ padding-top: 2px;
148
+ }
149
+ .about-meta dd { color: var(--ink); }
@@ -0,0 +1,219 @@
1
+ /* Page-actions CTA banner · server-status pill · toast ·
2
+ dirty-banner + save-pulse for unsaved settings */
3
+
4
+ /* CTA-style banner — neutral surface, ink left bar, distinct from .card
5
+ so it reads as "tip / shortcut" rather than another data section */
6
+ .page-actions {
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: space-between;
10
+ gap: var(--s-4);
11
+ padding: var(--s-3) var(--s-5);
12
+ background: var(--bg);
13
+ border: 1px solid var(--border);
14
+ border-radius: var(--r-sm);
15
+ box-shadow: none;
16
+ position: relative;
17
+ }
18
+ .page-actions::before {
19
+ content: "";
20
+ position: absolute;
21
+ left: 0; top: 8px; bottom: 8px;
22
+ width: 2px;
23
+ background: var(--ink);
24
+ border-radius: 0 2px 2px 0;
25
+ }
26
+ .page-actions-hint {
27
+ font-size: 13px;
28
+ color: var(--ink-mid);
29
+ font-weight: 500;
30
+ padding-left: var(--s-2);
31
+ }
32
+ .page-actions .action svg { stroke-width: 2; }
33
+
34
+ /* "Refresh · 12s ago" timestamp inside the top-right Refresh button */
35
+ .refresh-ago {
36
+ margin-left: 6px;
37
+ padding-left: 7px;
38
+ border-left: 1px solid var(--border);
39
+ font-family: var(--mono);
40
+ font-size: 10.5px;
41
+ color: var(--ink-muted);
42
+ font-variant-numeric: tabular-nums;
43
+ }
44
+
45
+ /* Top-right page-head-meta · server-status pill + Refresh button share
46
+ the same height, padding, font-size and pill shape so they read as a
47
+ coherent control group. Explicit min-height keeps them aligned even
48
+ though they use different fonts and one carries an icon. */
49
+ .page-head-meta { align-items: center; }
50
+ .page-head-meta .action.small,
51
+ .page-head-meta .server-status {
52
+ min-height: 28px;
53
+ border-radius: 999px;
54
+ box-sizing: border-box;
55
+ line-height: 1;
56
+ }
57
+
58
+ /* "● online v0.5.0" pill in top-right page-head-meta */
59
+ .server-status {
60
+ display: inline-flex;
61
+ align-items: center;
62
+ gap: 6px;
63
+ padding: 4px 10px;
64
+ border-radius: 999px;
65
+ background: var(--bg);
66
+ border: 1px solid var(--border);
67
+ font-family: var(--mono);
68
+ font-size: 12px;
69
+ letter-spacing: 0.02em;
70
+ color: var(--ink-mid);
71
+ transition: background .15s ease, border-color .15s ease, color .15s ease;
72
+ cursor: default;
73
+ }
74
+ .server-status .status-pulse {
75
+ width: 7px;
76
+ height: 7px;
77
+ border-radius: 50%;
78
+ background: var(--ink-faint);
79
+ flex: 0 0 7px;
80
+ position: relative;
81
+ }
82
+ .server-status[data-state="online"] {
83
+ border-color: rgba(74, 138, 74, 0.35);
84
+ background: rgba(74, 138, 74, 0.06);
85
+ color: var(--green);
86
+ }
87
+ .server-status[data-state="online"] .status-pulse {
88
+ background: var(--green);
89
+ animation: server-pulse 2.2s ease-in-out infinite;
90
+ }
91
+ .server-status[data-state="offline"] {
92
+ border-color: rgba(183, 63, 63, 0.4);
93
+ background: rgba(183, 63, 63, 0.06);
94
+ color: var(--red);
95
+ }
96
+ .server-status[data-state="offline"] .status-pulse { background: var(--red); }
97
+ .server-status[data-state="connecting"] {
98
+ border-color: rgba(196, 137, 43, 0.4);
99
+ background: rgba(196, 137, 43, 0.06);
100
+ color: var(--yellow);
101
+ }
102
+ .server-status[data-state="connecting"] .status-pulse {
103
+ background: var(--yellow);
104
+ animation: server-pulse 1s ease-in-out infinite;
105
+ }
106
+ @keyframes server-pulse {
107
+ 0%, 100% { box-shadow: 0 0 0 0 currentColor; }
108
+ 50% { box-shadow: 0 0 0 4px transparent; }
109
+ }
110
+
111
+ /* Offline banner · shown when /api/health is unreachable. Sticks to the
112
+ top of the main column above all cards. Contains a ccsm:// link that
113
+ asks Windows to spawn the backend. */
114
+ .offline-banner {
115
+ background: #fff7e8;
116
+ border: 1px solid #d4b27a;
117
+ border-radius: var(--r-sm);
118
+ padding: var(--s-3) var(--s-5);
119
+ position: sticky;
120
+ top: var(--s-3);
121
+ z-index: 50;
122
+ box-shadow: 0 3px 10px -8px rgba(26, 24, 21, 0.15);
123
+ }
124
+ .offline-banner-inner {
125
+ display: flex;
126
+ align-items: center;
127
+ gap: var(--s-3);
128
+ }
129
+ .offline-banner-text {
130
+ flex: 1;
131
+ display: flex;
132
+ flex-direction: column;
133
+ gap: 2px;
134
+ font-size: 13px;
135
+ color: var(--ink);
136
+ }
137
+ .offline-banner-text .muted-text {
138
+ font-size: 11.5px;
139
+ color: var(--ink-mid);
140
+ }
141
+ .offline-banner-actions { display: flex; gap: var(--s-2); }
142
+ .offline-dot {
143
+ width: 10px;
144
+ height: 10px;
145
+ border-radius: 50%;
146
+ background: var(--red);
147
+ flex: 0 0 10px;
148
+ animation: dirty-pulse 2s ease-in-out infinite;
149
+ }
150
+
151
+ /* Toast bottom-right — auto-hides via JS */
152
+ .toast {
153
+ position: fixed;
154
+ bottom: var(--s-6);
155
+ right: var(--s-6);
156
+ z-index: 100;
157
+ max-width: 420px;
158
+ padding: var(--s-3) var(--s-4);
159
+ background: var(--bg-elev);
160
+ border: 1px solid var(--border-strong);
161
+ border-left: 3px solid var(--ink);
162
+ border-radius: var(--r-sm);
163
+ font-size: 13px;
164
+ color: var(--ink);
165
+ letter-spacing: -0.005em;
166
+ opacity: 0;
167
+ transform: translateY(8px);
168
+ transition: opacity .2s ease, transform .2s ease;
169
+ pointer-events: none;
170
+ box-shadow: var(--shadow-md);
171
+ }
172
+ .toast.show {
173
+ opacity: 1;
174
+ transform: translateY(0);
175
+ }
176
+ .toast.error { border-left-color: var(--red); }
177
+ .toast.ok { border-left-color: var(--green); }
178
+
179
+ /* Sticky "you have unsaved changes" banner above the Configure card */
180
+ .dirty-banner {
181
+ display: flex;
182
+ align-items: center;
183
+ gap: var(--s-3);
184
+ padding: var(--s-3) var(--s-5);
185
+ background: var(--bg);
186
+ border: 1px solid var(--ink);
187
+ border-radius: var(--r-sm);
188
+ color: var(--ink);
189
+ font-size: 13px;
190
+ font-weight: 500;
191
+ position: sticky;
192
+ top: var(--s-3);
193
+ z-index: 10;
194
+ box-shadow: 0 3px 10px -8px rgba(26, 24, 21, 0.15);
195
+ animation: banner-in .25s cubic-bezier(.4, 0, .2, 1);
196
+ }
197
+ @keyframes banner-in {
198
+ from { opacity: 0; transform: translateY(-6px); }
199
+ to { opacity: 1; transform: translateY(0); }
200
+ }
201
+ .dirty-banner .dirty-dot {
202
+ width: 8px;
203
+ height: 8px;
204
+ border-radius: 50%;
205
+ background: var(--ink);
206
+ flex: 0 0 8px;
207
+ box-shadow: 0 0 0 0 rgba(26, 24, 21, 0.35);
208
+ animation: dirty-pulse 2s ease-in-out infinite;
209
+ }
210
+ .dirty-banner .dirty-text { flex: 1; }
211
+
212
+ /* Save button pulse — mirrors dirty banner */
213
+ .action.primary.is-dirty {
214
+ animation: save-pulse 1.6s ease-in-out infinite;
215
+ }
216
+ @keyframes save-pulse {
217
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(26, 24, 21, 0.25); }
218
+ 50% { box-shadow: 0 0 0 4px rgba(26, 24, 21, 0); }
219
+ }
@@ -0,0 +1,282 @@
1
+ /* Buttons (.action variants) · inputs · checkbox · chip pills ·
2
+ form-row layout · config grid · repos sub-table */
3
+
4
+ .action {
5
+ appearance: none;
6
+ background: var(--bg-elev);
7
+ border: 1px solid var(--border-strong);
8
+ color: var(--ink);
9
+ padding: 7px 14px;
10
+ font-family: var(--body);
11
+ font-size: 13px;
12
+ font-weight: 500;
13
+ letter-spacing: -0.005em;
14
+ border-radius: var(--r-sm);
15
+ cursor: pointer;
16
+ transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
17
+ white-space: nowrap;
18
+ box-shadow: var(--shadow-sm);
19
+ /* Buttons always lay out as icon-left + text-right, gap between them,
20
+ and the cluster is centered inside the button's box. Anchor links
21
+ using .action (e.g. About page) inherit the same layout. */
22
+ display: inline-flex;
23
+ align-items: center;
24
+ justify-content: center;
25
+ gap: 6px;
26
+ text-decoration: none;
27
+ }
28
+ .action:hover {
29
+ background: var(--bg);
30
+ border-color: var(--ink-faint);
31
+ }
32
+ .action:active { transform: translateY(0.5px); }
33
+ .action:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
34
+ .action.primary {
35
+ background: var(--ink);
36
+ border-color: var(--ink);
37
+ color: var(--bg-elev);
38
+ }
39
+ .action.primary:hover {
40
+ background: #000;
41
+ border-color: #000;
42
+ }
43
+ .action.small { font-size: 12px; padding: 4px 10px; }
44
+ .action.tiny { font-size: 11px; padding: 3px 8px; }
45
+ .action.subtle {
46
+ background: transparent;
47
+ border-color: var(--border);
48
+ box-shadow: none;
49
+ color: var(--ink-mid);
50
+ }
51
+ .action.subtle:hover { background: var(--bg); color: var(--ink); }
52
+ .action.danger {
53
+ background: var(--red);
54
+ border-color: var(--red);
55
+ color: var(--bg-elev);
56
+ }
57
+ .action.danger:hover {
58
+ background: #9a3636;
59
+ border-color: #9a3636;
60
+ }
61
+
62
+ .input, input[type="text"], input[type="number"], select, textarea {
63
+ appearance: none;
64
+ background: var(--bg-elev);
65
+ border: 1px solid var(--border-strong);
66
+ color: var(--ink);
67
+ padding: 7px 12px;
68
+ font-family: var(--body);
69
+ font-size: 13px;
70
+ border-radius: var(--r-sm);
71
+ transition: border-color .12s ease, box-shadow .12s ease;
72
+ width: 100%;
73
+ max-width: 480px;
74
+ }
75
+ .input.narrow { min-width: 240px; max-width: 320px; }
76
+ .input:focus, input:focus, select:focus, textarea:focus {
77
+ outline: none;
78
+ border-color: var(--ink);
79
+ box-shadow: 0 0 0 3px rgba(26, 24, 21, 0.08);
80
+ }
81
+ select {
82
+ background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238a8475' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='1,1 6,7 11,1'/></svg>");
83
+ background-repeat: no-repeat;
84
+ background-position: right 10px center;
85
+ background-size: 10px;
86
+ padding-right: 28px;
87
+ }
88
+ textarea {
89
+ font-family: var(--mono);
90
+ font-size: 12px;
91
+ resize: vertical;
92
+ line-height: 1.55;
93
+ }
94
+
95
+ input[type="checkbox"] {
96
+ appearance: none;
97
+ width: 16px;
98
+ height: 16px;
99
+ flex: 0 0 16px;
100
+ border: 1px solid var(--border-strong);
101
+ background: var(--bg-elev);
102
+ border-radius: 4px;
103
+ cursor: pointer;
104
+ position: relative;
105
+ transition: background .12s, border-color .12s;
106
+ }
107
+ input[type="checkbox"]:checked {
108
+ background: var(--ink);
109
+ border-color: var(--ink);
110
+ }
111
+ input[type="checkbox"]:checked::after {
112
+ content: "";
113
+ position: absolute;
114
+ left: 4px; top: 1px;
115
+ width: 5px; height: 9px;
116
+ border: solid var(--bg-elev);
117
+ border-width: 0 1.5px 1.5px 0;
118
+ transform: rotate(45deg);
119
+ }
120
+
121
+ .form-row {
122
+ display: flex;
123
+ align-items: center;
124
+ gap: var(--s-4);
125
+ margin-bottom: var(--s-3);
126
+ flex-wrap: wrap;
127
+ }
128
+ .form-row:last-child { margin-bottom: 0; }
129
+ .form-label {
130
+ font-family: var(--body);
131
+ font-size: 12px;
132
+ font-weight: 500;
133
+ color: var(--ink-mid);
134
+ min-width: 96px;
135
+ }
136
+ .form-actions {
137
+ display: flex;
138
+ align-items: center;
139
+ gap: var(--s-3);
140
+ margin-top: var(--s-4);
141
+ }
142
+
143
+ /* Radio pills — same visual family as chip but exclusive (radio not checkbox) */
144
+ .radio-row {
145
+ display: flex;
146
+ gap: var(--s-2);
147
+ flex-wrap: wrap;
148
+ }
149
+ .radio {
150
+ display: inline-flex;
151
+ align-items: center;
152
+ gap: 6px;
153
+ padding: 5px 12px;
154
+ border: 1px solid var(--border-strong);
155
+ background: var(--bg-elev);
156
+ color: var(--ink-mid);
157
+ font-family: var(--body);
158
+ font-size: 12.5px;
159
+ font-weight: 500;
160
+ cursor: pointer;
161
+ user-select: none;
162
+ transition: all .12s ease;
163
+ border-radius: 999px;
164
+ }
165
+ .radio input { display: none; }
166
+ .radio:hover { color: var(--ink); border-color: var(--ink-faint); }
167
+ .radio::before {
168
+ content: "";
169
+ width: 7px;
170
+ height: 7px;
171
+ border: 1px solid var(--ink-faint);
172
+ border-radius: 50%;
173
+ background: transparent;
174
+ }
175
+ .radio.is-checked {
176
+ background: var(--bg);
177
+ border-color: var(--ink);
178
+ color: var(--ink);
179
+ }
180
+ .radio.is-checked::before {
181
+ background: var(--ink);
182
+ border-color: var(--ink);
183
+ box-shadow: inset 0 0 0 2px var(--bg-elev);
184
+ }
185
+
186
+ /* Chip-style multi-select used for repo picker etc. */
187
+ .chip-row {
188
+ display: flex;
189
+ flex-wrap: wrap;
190
+ gap: var(--s-2);
191
+ flex: 1;
192
+ }
193
+ .chip {
194
+ display: inline-flex;
195
+ align-items: center;
196
+ gap: 6px;
197
+ padding: 5px 12px;
198
+ border: 1px solid var(--border-strong);
199
+ background: var(--bg-elev);
200
+ color: var(--ink-mid);
201
+ font-family: var(--body);
202
+ font-size: 12.5px;
203
+ font-weight: 500;
204
+ cursor: pointer;
205
+ user-select: none;
206
+ transition: all .12s ease;
207
+ border-radius: 999px;
208
+ }
209
+ .chip input { display: none; }
210
+ .chip:hover {
211
+ color: var(--ink);
212
+ border-color: var(--ink-faint);
213
+ }
214
+ .chip::before {
215
+ content: "";
216
+ width: 7px;
217
+ height: 7px;
218
+ border: 1px solid var(--ink-faint);
219
+ border-radius: 50%;
220
+ background: transparent;
221
+ }
222
+ .chip.checked {
223
+ background: var(--bg);
224
+ border-color: var(--ink);
225
+ color: var(--ink);
226
+ }
227
+ .chip.checked::before {
228
+ background: var(--ink);
229
+ border-color: var(--ink);
230
+ box-shadow: inset 0 0 0 2px var(--bg-elev);
231
+ }
232
+
233
+ /* Two-column field grid used inside the Configure card */
234
+ .config-grid {
235
+ display: grid;
236
+ grid-template-columns: 1fr 1fr;
237
+ gap: var(--s-5) var(--s-6);
238
+ align-items: start;
239
+ }
240
+ .config-grid .field { display: flex; flex-direction: column; gap: 6px; }
241
+ .config-grid .field.full { grid-column: 1 / -1; }
242
+ .config-grid .field .label {
243
+ font-size: 12px;
244
+ font-weight: 500;
245
+ color: var(--ink-mid);
246
+ }
247
+ .config-grid .field .hint {
248
+ font-size: 11.5px;
249
+ color: var(--ink-muted);
250
+ font-style: italic;
251
+ }
252
+ .config-grid .field .hint.inline {
253
+ display: inline;
254
+ margin-left: 4px;
255
+ font-style: italic;
256
+ }
257
+ .config-grid .field.toggle {
258
+ flex-direction: row;
259
+ align-items: flex-start;
260
+ gap: var(--s-3);
261
+ padding-top: var(--s-4);
262
+ }
263
+ .config-grid .field.toggle .toggle-text {
264
+ display: flex;
265
+ flex-direction: column;
266
+ gap: 2px;
267
+ }
268
+ .config-grid .field.toggle .label { font-weight: 500; }
269
+
270
+ /* Inline editable repo list (Configure tab) */
271
+ .repos-head {
272
+ display: flex;
273
+ justify-content: space-between;
274
+ align-items: center;
275
+ margin-bottom: var(--s-2);
276
+ }
277
+ .repos-table thead th, .repos-table tbody td { padding: 8px var(--s-2); }
278
+ .repos-table thead th:first-child,
279
+ .repos-table tbody td:first-child { padding-left: var(--s-2); }
280
+ .repos-table thead th:last-child,
281
+ .repos-table tbody td:last-child { padding-right: var(--s-2); }
282
+ .repos-table tbody td input { font-size: 12px; max-width: none; }