PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.13
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.13
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / assets / css / ai-assistant.css

ai-assistant.css in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.13, at assets/css/ai-assistant.css

680 lines 29.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /** Blockenberg AI Agent — a quiet workspace for page building. */
2 .interface-pinned-items .components-button.has-icon:has(.bkbg-ai-spark),
3 .editor-header__settings .components-button.has-icon:has(.bkbg-ai-spark),
4 .edit-post-header__settings .components-button.has-icon:has(.bkbg-ai-spark) {
5 display: inline-flex;
6 align-items: center;
7 justify-content: center;
8 gap: 6px;
9 width: auto !important;
10 min-width: 0 !important;
11 height: 36px;
12 padding: 0 10px 0 8px !important;
13 }
14 .interface-pinned-items .components-button.has-icon:has(.bkbg-ai-spark) svg,
15 .editor-header__settings .components-button.has-icon:has(.bkbg-ai-spark) svg,
16 .edit-post-header__settings .components-button.has-icon:has(.bkbg-ai-spark) svg {
17 width: 20px;
18 height: 20px;
19 }
20 .interface-pinned-items .components-button.has-icon:has(.bkbg-ai-spark)::after,
21 .editor-header__settings .components-button.has-icon:has(.bkbg-ai-spark)::after,
22 .edit-post-header__settings .components-button.has-icon:has(.bkbg-ai-spark)::after {
23 content: var(--bkbg-ai-pin-label, "AI Agent");
24 font-size: 13px;
25 font-weight: 600;
26 letter-spacing: .01em;
27 line-height: 1;
28 }
29 @media (max-width: 782px) {
30 .interface-pinned-items .components-button.has-icon:has(.bkbg-ai-spark),
31 .editor-header__settings .components-button.has-icon:has(.bkbg-ai-spark),
32 .edit-post-header__settings .components-button.has-icon:has(.bkbg-ai-spark) {
33 width: 36px !important;
34 padding: 0 !important;
35 }
36 .interface-pinned-items .components-button.has-icon:has(.bkbg-ai-spark)::after,
37 .editor-header__settings .components-button.has-icon:has(.bkbg-ai-spark)::after,
38 .edit-post-header__settings .components-button.has-icon:has(.bkbg-ai-spark)::after {
39 display: none;
40 }
41 }
42 body.bkbg-ai-open .interface-interface-skeleton__sidebar {
43 width: 420px;
44 min-width: 420px;
45 max-width: 100vw;
46 }
47 body.bkbg-ai-open .interface-complementary-area__fill,
48 body.bkbg-ai-open .interface-complementary-area.editor-sidebar,
49 body.bkbg-ai-open .interface-complementary-area.edit-post-sidebar,
50 body.bkbg-ai-open .bkbg-ai-sidebar.components-panel {
51 width: 100% !important; /* Gutenberg 7+ sets the saved width inline. */
52 max-width: none;
53 min-width: 0;
54 display: flex;
55 flex-direction: column;
56 min-height: 0;
57 }
58 body.bkbg-ai-open .interface-complementary-area__fill,
59 body.bkbg-ai-open .interface-complementary-area.editor-sidebar,
60 body.bkbg-ai-open .interface-complementary-area.edit-post-sidebar {
61 height: 100%;
62 overflow: hidden;
63 }
64 body.bkbg-ai-open .bkbg-ai-sidebar.components-panel {
65 flex: 1 1 auto;
66 overflow: hidden;
67 }
68 body.bkbg-ai-open .bkbg-ai-host {
69 display: flex;
70 flex-direction: column;
71 flex: 1 1 auto;
72 min-height: 0;
73 }
74 body.bkbg-ai-open .interface-interface-skeleton__sidebar.bkbg-ai-host { flex: 0 0 420px; }
75 .bkbg-ai-panel {
76 --bkbg-ai-ink: #242628;
77 --bkbg-ai-muted: #656a70;
78 --bkbg-ai-line: #e3e5e7;
79 display: flex;
80 flex-direction: column;
81 flex: 1 1 auto;
82 height: 100%;
83 min-height: 0;
84 min-width: 0;
85 background: #fafafa;
86 color: var(--bkbg-ai-ink);
87 font-size: 13px;
88 line-height: 1.6;
89 position: relative;
90 }
91 .bkbg-ai-panel *, .bkbg-ai-panel *::before, .bkbg-ai-panel *::after { box-sizing: border-box; }
92 .bkbg-ai-panel button, .bkbg-ai-panel input, .bkbg-ai-panel textarea { font: inherit; }
93 .bkbg-ai-panel button { cursor: pointer; }
94 .bkbg-ai-panel button:disabled { cursor: default; opacity: .45; }
95 .bkbg-ai-panel button:focus-visible, .bkbg-ai-panel summary:focus-visible {
96 outline: 2px solid #3858e9;
97 outline-offset: 2px;
98 }
99 .bkbg-ai-toolbar { display:flex; align-items:center; gap:6px; padding:8px 12px; border-bottom:1px solid var(--bkbg-ai-line); flex-shrink:0; }
100 .bkbg-ai-mode { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:600; }
101 .bkbg-ai-mode svg { width:19px; height:19px; }
102 .bkbg-ai-toolbar-spacer { flex:1; }
103 .bkbg-ai-toolbar .bkbg-ai-conversations {
104 flex: 1;
105 min-width: 0;
106 margin: 0;
107 max-width: none;
108 }
109 .bkbg-ai-panel .bkbg-ai-icon-button.components-button { height:28px; min-width:28px; padding:4px; color:var(--bkbg-ai-muted); border-radius:6px; }
110 .bkbg-ai-icon-button .dashicon { font-size:17px; }
111 .bkbg-ai-thread { flex:1 1 auto; overflow-y:auto; overflow-x:hidden; min-height:80px; padding:20px 18px; display:flex; flex-direction:column; gap:24px; scrollbar-width:thin; overscroll-behavior:contain; }
112 .bkbg-ai-message { display:flex; flex-direction:column; gap:8px; min-width:0; }
113 .bkbg-ai-bubble { overflow-wrap:anywhere; }
114 .bkbg-ai-bubble p { margin:0 0 10px; }
115 .bkbg-ai-bubble p:last-child { margin-bottom:0; }
116 .bkbg-ai-bubble code { background:#eaecee; padding:2px 5px; border-radius:4px; font-size:12px; }
117 .bkbg-ai-message--user { align-items:flex-end; gap:4px; }
118 .bkbg-ai-message--user .bkbg-ai-bubble { background:#eeeff1; border:1px solid #e5e7e9; border-radius:12px 12px 3px 12px; padding:10px 13px; max-width:94%; }
119 .bkbg-ai-message-context { color:var(--bkbg-ai-muted); font-size:10px; }
120 .bkbg-ai-message--assistant .bkbg-ai-bubble { padding:0 2px; }
121 .bkbg-ai-message--error .bkbg-ai-bubble { background:#fff2f1; color:#922e25; border:1px solid #efd2ce; border-radius:8px; padding:10px 12px; }
122 .bkbg-ai-bubble--streaming::after { content:''; display:inline-block; width:5px; height:13px; margin-left:3px; vertical-align:text-bottom; background:currentColor; opacity:.5; animation:bkbg-ai-caret 1s steps(2) infinite; }
123 @keyframes bkbg-ai-caret { 50% { opacity:0; } }
124 .bkbg-ai-bubble.bkbg-ai-bubble--paused { background:#fff8e8; border:1px solid #ecdfbb; border-radius:8px; color:#725411; padding:10px 12px; font-size:12px; }
125 .bkbg-ai-meta { font-size:10px; color:var(--bkbg-ai-muted); }
126 .bkbg-ai-list { margin:0 0 10px; padding-left:19px; list-style:disc; }
127 .bkbg-ai-list li { margin-bottom:5px; }
128 .bkbg-ai-work-log {
129 overflow: hidden;
130 margin: 0;
131 border: 1px solid var(--bkbg-ai-line);
132 border-radius: 10px;
133 background: #fff;
134 color: var(--bkbg-ai-muted);
135 font-size: 12px;
136 }
137 .bkbg-ai-work-log.is-active { border-color: #d8dce1; box-shadow: 0 1px 2px #1018200a; }
138 .bkbg-ai-work-log > summary {
139 display: flex;
140 align-items: center;
141 gap: 8px;
142 cursor: pointer;
143 padding: 8px 10px;
144 list-style: none;
145 color: #3d444b;
146 overflow-wrap: anywhere;
147 }
148 .bkbg-ai-work-log > summary::-webkit-details-marker,
149 .bkbg-ai-work-log > summary::marker { display: none; content: none; }
150 .bkbg-ai-work-log > summary::before {
151 content: '';
152 flex-shrink: 0;
153 width: 6px;
154 height: 6px;
155 margin: -1px 1px 0 1px;
156 border-right: 1.5px solid #8b9299;
157 border-bottom: 1.5px solid #8b9299;
158 transform: rotate(-45deg);
159 }
160 .bkbg-ai-work-log[open] > summary { border-bottom: 1px solid var(--bkbg-ai-line); background: #f7f8f9; }
161 .bkbg-ai-work-log[open] > summary::before { margin-top: 1px; transform: rotate(45deg); }
162 .bkbg-ai-work-summary { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
163 .bkbg-ai-work-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: #3d444b; }
164 .bkbg-ai-work-count {
165 flex-shrink: 0;
166 border-radius: 999px;
167 padding: 1px 7px;
168 background: #eef0f2;
169 color: var(--bkbg-ai-muted);
170 font-size: 10px;
171 font-weight: 600;
172 font-variant-numeric: tabular-nums;
173 white-space: nowrap;
174 }
175 .bkbg-ai-panel .bkbg-ai-activity {
176 display: flex;
177 flex-direction: column;
178 margin: 0;
179 padding: 4px 10px 8px;
180 list-style: none;
181 }
182 .bkbg-ai-panel .bkbg-ai-activity > li {
183 display: grid;
184 grid-template-columns: 14px minmax(0, 1fr);
185 column-gap: 8px;
186 align-items: start;
187 margin: 0;
188 padding: 5px 0;
189 list-style: none;
190 font-size: 11px;
191 line-height: 1.45;
192 color: var(--bkbg-ai-muted);
193 }
194 .bkbg-ai-panel .bkbg-ai-activity > li::before,
195 .bkbg-ai-panel .bkbg-ai-activity > li::after,
196 .bkbg-ai-panel .bkbg-ai-activity > li::marker {
197 content: none !important;
198 display: none !important;
199 }
200 .bkbg-ai-activity__rail {
201 position: relative;
202 display: flex;
203 justify-content: center;
204 align-self: stretch;
205 }
206 .bkbg-ai-activity__rail::before {
207 content: '';
208 position: absolute;
209 top: 0;
210 bottom: 0;
211 left: 50%;
212 width: 1px;
213 margin-left: -0.5px;
214 background: #e6e8eb;
215 }
216 .bkbg-ai-activity__item:first-child .bkbg-ai-activity__rail::before { top: 8px; }
217 .bkbg-ai-activity__item:last-child .bkbg-ai-activity__rail::before { bottom: auto; height: 8px; }
218 .bkbg-ai-activity__item:first-child:last-child .bkbg-ai-activity__rail::before { content: none; }
219 .bkbg-ai-activity__dot {
220 position: relative;
221 z-index: 1;
222 display: block;
223 width: 7px;
224 height: 7px;
225 margin-top: 5px;
226 border-radius: 50%;
227 background: #c5c9ce;
228 box-shadow: 0 0 0 3px #fff;
229 }
230 .bkbg-ai-activity__item.is-done .bkbg-ai-activity__dot { background: #3f8f6b; }
231 .bkbg-ai-activity__item.is-error .bkbg-ai-activity__dot { background: #c4574b; }
232 .bkbg-ai-activity__item.is-note .bkbg-ai-activity__dot { background: #b8bdc3; }
233 .bkbg-ai-activity__item.is-run .bkbg-ai-activity__dot {
234 width: 8px;
235 height: 8px;
236 margin-top: 4px;
237 background: transparent;
238 border: 1.5px solid #c9d0ea;
239 border-top-color: #3d5ad0;
240 box-shadow: 0 0 0 3px #fff;
241 animation: bkbg-ai-spin .7s linear infinite;
242 }
243 .bkbg-ai-activity__item.is-run .bkbg-ai-activity__text { color: #2f353b; }
244 .bkbg-ai-activity__body { min-width: 0; overflow-wrap: anywhere; }
245 .bkbg-ai-activity__text { display: block; }
246 .bkbg-ai-activity__error,
247 .bkbg-ai-activity__warn {
248 display: block;
249 margin-top: 4px;
250 padding: 5px 7px;
251 border-radius: 6px;
252 font-size: 10px;
253 line-height: 1.45;
254 }
255 .bkbg-ai-activity__error { background: #fbf0ee; color: #9a3329; }
256 .bkbg-ai-activity__warn { background: #fbf6ea; color: #7a5a16; }
257 @keyframes bkbg-ai-spin { to { transform: rotate(360deg); } }
258 .bkbg-ai-working { display:flex; align-items:center; gap:7px; color:var(--bkbg-ai-muted); font-size:12px; }
259 .bkbg-ai-working .components-spinner { margin:0; width:14px; height:14px; }
260 .bkbg-ai-live-status {
261 display: flex;
262 align-items: center;
263 gap: 8px;
264 flex: 0 0 auto;
265 padding: 8px 18px 10px;
266 background: #fafafa;
267 color: var(--bkbg-ai-muted);
268 font-size: 12px;
269 font-weight: 400;
270 line-height: 1.45;
271 }
272 .bkbg-ai-live-status .components-spinner {
273 margin: 0;
274 width: 16px;
275 height: 16px;
276 }
277 .bkbg-ai-empty { margin:auto 0; padding:18px 4px 8px; color:var(--bkbg-ai-muted); }
278 .bkbg-ai-empty__icon { color:#333b43; margin-bottom:8px; }
279 .bkbg-ai-empty__icon svg { width:26px; height:26px; }
280 .bkbg-ai-empty h3 { margin:0 0 6px; font-size:18px; line-height:1.3; font-weight:600; text-transform:none; letter-spacing:-.4px; color:var(--bkbg-ai-ink); }
281 .bkbg-ai-empty p { margin:0 0 14px; font-size:12px; }
282 .bkbg-ai-suggestions { display:flex; flex-direction:column; gap:6px; }
283 .bkbg-ai-suggestion { text-align:left; border:1px solid var(--bkbg-ai-line); background:#fff; border-radius:9px; padding:8px 10px; font-size:12px!important; line-height:1.45; color:#444b52; }
284 .bkbg-ai-suggestion:hover { border-color:#a9afb5; background:#f4f5f6; }
285 .bkbg-ai-muted { color:var(--bkbg-ai-muted); }
286 .bkbg-ai-panel--setup { padding:20px; }
287 .bkbg-ai-undo { display:flex; align-items:center; flex-wrap:wrap; gap:4px; flex-shrink:0; padding:7px 14px; border-top:1px solid var(--bkbg-ai-line); background:#f4f5f5; }
288 .bkbg-ai-undo .components-button { font-size:11px; height:30px; padding:4px 8px; }
289 .bkbg-ai-panel .components-button.is-primary { background:#282c30; border-radius:6px; }
290 .bkbg-ai-panel .components-button.is-primary:hover:not(:disabled) { background:#42484f; }
291 .bkbg-ai-panel .components-button.is-tertiary { color:#414c59; }
292 .bkbg-ai-composer { position:relative; flex:0 0 auto; padding:10px 12px 8px; background:#fafafa; border-top:1px solid var(--bkbg-ai-line); }
293 .bkbg-ai-panel.is-external .bkbg-ai-thread:empty { min-height:0; padding:0; }
294 .bkbg-ai-composer-toggles { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:8px; margin-bottom:8px; min-width:0; }
295 .bkbg-ai-toggle-field { display:flex; flex-direction:column; gap:4px; min-width:0; }
296 .bkbg-ai-toggle-field--scope { flex:1 1 180px; }
297 .bkbg-ai-toggle-field--mode { flex:0 0 auto; margin-left:auto; }
298 .bkbg-ai-toggle-label {
299 padding-left: 2px;
300 color: var(--bkbg-ai-muted);
301 font-size: 10px;
302 font-weight: 600;
303 letter-spacing: .02em;
304 line-height: 1;
305 white-space: nowrap;
306 }
307 .bkbg-ai-seg { display:inline-flex; align-items:center; gap:1px; min-width:0; padding:2px; background:#eceef0; border-radius:8px; }
308 .bkbg-ai-seg--scope { width:100%; }
309 .bkbg-ai-seg--mode { flex:0 0 auto; }
310 .bkbg-ai-seg--mode .bkbg-ai-scope-button { padding-left:7px; padding-right:7px; }
311 .bkbg-ai-scope-button { display:flex; align-items:center; gap:4px; padding:4px 8px; min-height:26px; border:0; background:transparent; border-radius:6px; color:#5c636a; font-size:11px!important; font-weight:600; min-width:0; }
312 .bkbg-ai-scope-button:hover { background:#e4e6e8; color:var(--bkbg-ai-ink); }
313 .bkbg-ai-seg .bkbg-ai-scope-button.is-active {
314 background: #fff;
315 color: var(--bkbg-ai-ink);
316 box-shadow: 0 1px 1px #10182014;
317 }
318 .bkbg-ai-scope-button.is-picking,
319 .bkbg-ai-seg .bkbg-ai-scope-button.is-picking {
320 background: #f3efff;
321 color: #5b3fd4;
322 box-shadow: none;
323 }
324 .bkbg-ai-scope-button .dashicons { width:14px; height:14px; font-size:14px; flex-shrink:0; }
325 .bkbg-ai-target-trigger { min-width:0; flex:1 1 72px; max-width:160px; }
326 .bkbg-ai-target-name { text-overflow:ellipsis; white-space:nowrap; overflow:hidden; }
327 .bkbg-ai-input-box { background:#fff; border:1px solid #d0d5da; border-radius:12px; box-shadow:0 2px 5px #19273506; }
328 .bkbg-ai-input-box:focus-within { border-color:#87939f; box-shadow:0 0 0 2px #788da014; }
329 .bkbg-ai-panel textarea.bkbg-ai-input { box-sizing:border-box; display:block; width:100%; resize:vertical; min-height:74px; max-height:190px; font-size:13px; line-height:1.6; padding:12px 12px 4px; border:0; border-radius:12px; background:transparent; color:var(--bkbg-ai-ink); box-shadow:none; }
330 .bkbg-ai-panel textarea.bkbg-ai-input:focus { outline:none; box-shadow:none; }
331 .bkbg-ai-input::placeholder { color:#757d85; opacity:1; }
332 .bkbg-ai-composer__actions { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:6px; }
333 .bkbg-ai-composer__run { display:flex; align-items:center; gap:6px; flex-shrink:0; }
334 .bkbg-ai-panel .bkbg-ai-send.components-button { flex-shrink:0; height:29px; min-width:29px; padding:5px; border-radius:7px; font-size:11px; }
335 .bkbg-ai-send .dashicon { font-size:17px; }
336 .bkbg-ai-panel .bkbg-ai-stop.components-button {
337 display: inline-flex;
338 align-items: center;
339 justify-content: center;
340 gap: 6px;
341 flex-shrink: 0;
342 height: 29px;
343 min-height: 29px;
344 min-width: 0;
345 padding: 0 11px 0 9px;
346 border: 0;
347 border-radius: 7px;
348 background: #282c30;
349 color: #fff;
350 box-shadow: none;
351 font-size: 12px;
352 font-weight: 600;
353 line-height: 1;
354 }
355 .bkbg-ai-panel .bkbg-ai-stop.components-button:hover:not(:disabled) {
356 background: #42484f;
357 color: #fff;
358 }
359 .bkbg-ai-panel .bkbg-ai-stop.components-button:focus:not(:disabled) {
360 box-shadow: 0 0 0 2px #fff, 0 0 0 4px #282c30;
361 outline: none;
362 }
363 .bkbg-ai-stop svg { display: block; width: 10px; height: 10px; flex-shrink: 0; }
364 .bkbg-ai-panel .bkbg-ai-stop.is-icon { min-width: 29px; padding: 5px; }
365 .bkbg-ai-panel .bkbg-ai-steer.components-button.has-icon.has-text {
366 display: inline-flex;
367 align-items: center;
368 gap: 5px;
369 height: 29px;
370 min-height: 29px;
371 padding: 0 9px 0 7px;
372 border: 1px solid #c8ced4;
373 border-radius: 7px;
374 background: #fff;
375 color: var(--bkbg-ai-ink);
376 box-shadow: none;
377 font-size: 12px;
378 font-weight: 600;
379 line-height: 1;
380 }
381 .bkbg-ai-panel .bkbg-ai-steer.components-button.has-icon.has-text:hover:not(:disabled) {
382 background: #f3f4f5;
383 border-color: #b7bcc2;
384 color: var(--bkbg-ai-ink);
385 }
386 .bkbg-ai-steer svg { display: block; width: 13px; height: 13px; flex-shrink: 0; }
387 .bkbg-ai-panel .bkbg-ai-queue-send.components-button.has-icon.has-text {
388 height: 29px;
389 min-height: 29px;
390 padding: 0 10px 0 8px;
391 border-radius: 7px;
392 font-size: 12px;
393 font-weight: 600;
394 }
395 .bkbg-ai-queue { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px 0; }
396 .bkbg-ai-queue__label {
397 flex: 0 0 auto;
398 color: #6a727a;
399 font-size: 10px;
400 font-weight: 600;
401 letter-spacing: .04em;
402 text-transform: uppercase;
403 }
404 .bkbg-ai-queue-item {
405 display: inline-flex;
406 align-items: center;
407 gap: 4px;
408 max-width: 100%;
409 padding: 3px 4px 3px 8px;
410 border-radius: 999px;
411 background: #eef1f4;
412 color: var(--bkbg-ai-ink);
413 font-size: 11px;
414 line-height: 1.3;
415 }
416 .bkbg-ai-queue-item > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
417 .bkbg-ai-queue-item__remove {
418 display: inline-flex;
419 align-items: center;
420 justify-content: center;
421 width: 18px;
422 height: 18px;
423 padding: 0;
424 border: 0;
425 border-radius: 50%;
426 background: transparent;
427 color: #5c636a;
428 }
429 .bkbg-ai-queue-item__remove:hover { background: #e2e5e8; color: var(--bkbg-ai-ink); }
430 .bkbg-ai-queue-item__remove .dashicons { width: 14px; height: 14px; font-size: 14px; line-height: 1; }
431 .bkbg-ai-hint { text-align:center; margin-top:6px; font-size:10px; line-height:1.4; color:var(--bkbg-ai-muted); }
432 .bkbg-ai-composer.is-external { padding-bottom:6px; display:flex; flex-direction:column; }
433 .bkbg-ai-composer.is-external .bkbg-ai-remote-note { order:1; }
434 .bkbg-ai-composer.is-external .bkbg-ai-external-wrap { order:2; }
435 .bkbg-ai-external-wrap.is-paired { margin-top:6px; }
436 .bkbg-ai-message .bkbg-ai-external-plan { margin:8px 0 10px; max-height:none; }
437 .bkbg-ai-message .bkbg-ai-external-progress__counts { margin-top:2px; }
438 .bkbg-ai-message .bkbg-ai-section-previews { margin-top:8px; }
439 .bkbg-ai-remote-note {
440 display:flex;
441 gap:12px;
442 align-items:flex-start;
443 padding:13px 14px;
444 border:1px dashed #c8ced4;
445 border-radius:12px;
446 background:#fff;
447 }
448 .bkbg-ai-remote-note > .dashicons {
449 display:flex;
450 flex:0 0 32px;
451 width:32px;
452 height:32px;
453 align-items:center;
454 justify-content:center;
455 margin-top:1px;
456 border-radius:9px;
457 background:#eef1f4;
458 color:#3d4a58;
459 font-size:16px;
460 line-height:1;
461 }
462 .bkbg-ai-remote-note__copy { min-width:0; }
463 .bkbg-ai-remote-note strong { display:block; font-size:13px; font-weight:600; line-height:1.35; color:var(--bkbg-ai-ink); }
464 .bkbg-ai-remote-note p { margin:5px 0 0; font-size:12px; line-height:1.5; color:var(--bkbg-ai-muted); }
465 .bkbg-ai-remote-note__agents { display:flex; flex-wrap:wrap; gap:4px; margin-top:9px; }
466 .bkbg-ai-remote-note__agents span {
467 padding:2px 7px;
468 border-radius:999px;
469 background:#eef1f4;
470 color:#3d4650;
471 font-size:10px;
472 font-weight:600;
473 letter-spacing:.01em;
474 }
475 .bkbg-ai-key-note {
476 display:flex;
477 gap:10px;
478 align-items:flex-start;
479 margin:0 0 8px;
480 padding:11px 12px;
481 border:1px solid var(--bkbg-ai-line);
482 border-radius:10px;
483 background:#fff;
484 }
485 .bkbg-ai-key-note > .dashicons {
486 display:flex;
487 flex:0 0 28px;
488 width:28px;
489 height:28px;
490 align-items:center;
491 justify-content:center;
492 border-radius:8px;
493 background:#f1f3f5;
494 color:#3d4a58;
495 font-size:15px;
496 line-height:1;
497 }
498 .bkbg-ai-key-note__copy { min-width:0; }
499 .bkbg-ai-key-note strong {
500 display:block;
501 font-size:13px;
502 font-weight:600;
503 line-height:1.35;
504 color:var(--bkbg-ai-ink);
505 }
506 .bkbg-ai-key-note p {
507 margin:5px 0 0;
508 font-size:12px;
509 line-height:1.5;
510 color:var(--bkbg-ai-muted);
511 }
512 .bkbg-ai-key-note__link {
513 display:inline-flex;
514 margin-top:8px;
515 font-size:12px;
516 font-weight:600;
517 line-height:1.3;
518 text-decoration:none;
519 color:#1d4f91;
520 }
521 .bkbg-ai-key-note__link:hover { text-decoration:underline; }
522 .bkbg-ai-model-menu.is-setup { width:min(320px, calc(100vw - 48px)); }
523 .bkbg-ai-model-menu .bkbg-ai-key-note {
524 margin:0;
525 padding:6px 4px 4px;
526 border:0;
527 border-radius:0;
528 background:transparent;
529 }
530 .bkbg-ai-model-menu .bkbg-ai-key-note > .dashicons {
531 width:24px;
532 height:24px;
533 flex-basis:24px;
534 font-size:14px;
535 }
536 .bkbg-ai-model-picker { position:relative; flex:1; min-width:0; }
537 .bkbg-ai-model-trigger { display:flex; align-items:center; gap:5px; padding:5px 6px; border:0; border-radius:6px; max-width:100%; min-width:0; background:transparent; color:#515961; font-size:11px!important; }
538 .bkbg-ai-model-trigger:hover { background:#f1f2f3; }
539 .bkbg-ai-model-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
540 .bkbg-ai-model-trigger .dashicons { width:12px; height:12px; font-size:12px; flex-shrink:0; }
541 .bkbg-ai-badge { flex-shrink:0; border-radius:4px; padding:1px 4px; color:#326244; background:#eaf2ec; font-size:9px; font-weight:500; line-height:1.4; }
542 .bkbg-ai-model-menu { position:absolute; bottom:calc(100% + 10px); left:0; width:min(362px, calc(100vw - 48px)); background:#fff; border:1px solid #d9dde1; border-radius:10px; box-shadow:0 8px 35px #17243124; padding:8px; z-index:10; }
543 .bkbg-ai-panel input[type=search] { width:100%; margin:0; border:1px solid #d9dde1; background:#f7f8f9; border-radius:6px; min-height:32px; padding:5px 9px; font-size:12px; }
544 .bkbg-ai-model-results { max-height:min(320px, 42vh); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
545 .bkbg-ai-model-group { position:sticky; top:0; display:flex; flex-direction:column; gap:3px; padding:9px 6px 6px; background:#fff; color:#636d77; z-index:1; }
546 .bkbg-ai-model-group__head { display:flex; justify-content:space-between; align-items:baseline; gap:8px; text-transform:uppercase; letter-spacing:.7px; font-size:9px; font-weight:600; }
547 .bkbg-ai-model-group__note { margin:0; max-width:28em; font-size:10px; font-weight:500; line-height:1.4; color:#7a828a; }
548 .bkbg-ai-model-option { width:100%; display:flex; flex-direction:column; text-align:left; border:0; border-radius:5px; padding:7px 8px; background:transparent; color:#323b43; font-size:12px!important; }
549 .bkbg-ai-model-option:hover, .bkbg-ai-model-option.is-selected { background:#edf0f3; }
550 .bkbg-ai-model-option small { font-size:10px; color:var(--bkbg-ai-muted); overflow-wrap:anywhere; }
551 .bkbg-ai-model-empty, .bkbg-ai-model-error { margin:10px 6px; font-size:12px; }
552 .bkbg-ai-model-error button { border:0; background:transparent; text-decoration:underline; padding:3px; }
553 .bkbg-ai-model-footnote { margin:6px 0 0; border-top:1px solid var(--bkbg-ai-line); padding:7px 6px 0; font-size:10px; color:var(--bkbg-ai-muted); }
554 .bkbg-ai-target-picker { position:absolute; bottom:calc(100% - 9px); left:12px; right:12px; z-index:9; background:#fff; border:1px solid #d9dde1; border-radius:10px; box-shadow:0 8px 30px #17243120; padding:8px; }
555 .bkbg-ai-target-list { max-height:min(280px, 38vh); overflow-y:auto; scrollbar-width:thin; margin-top:6px; }
556 .bkbg-ai-target-option { display:flex; flex-direction:column; width:100%; text-align:left; border:0; background:transparent; border-radius:5px; padding:7px 10px; color:#323b43; font-size:12px!important; }
557 .bkbg-ai-target-option:hover, .bkbg-ai-target-option[aria-pressed=true] { background:#edf0f3; }
558 .bkbg-ai-target-option small { color:var(--bkbg-ai-muted); font-size:10px; overflow-wrap:anywhere; }
559 .bkbg-ai-target-picker p { color:var(--bkbg-ai-muted); font-size:10px; line-height:1.5; margin:8px 3px 2px; }
560 .bkbg-ai-breadcrumb { display:flex; flex-wrap:wrap; gap:3px; margin:0 0 7px; }
561 .bkbg-ai-breadcrumb button { padding:0; border:0; background:transparent; color:var(--bkbg-ai-muted); font-size:10px!important; }
562 .bkbg-ai-breadcrumb button::after { content:''; margin-right:4px; }
563 .bkbg-ai-scope-notice { margin:0 0 8px; color:#8a521b; font-size:11px; }
564 .bkbg-ai-reconnect-note {
565 display: flex;
566 gap: 10px;
567 align-items: flex-start;
568 flex-shrink: 0;
569 margin: 0;
570 padding: 10px 14px;
571 border-bottom: 1px solid var(--bkbg-ai-line);
572 background: #f1f3f5;
573 }
574 .bkbg-ai-reconnect-note > .dashicons {
575 display: flex;
576 flex: 0 0 28px;
577 width: 28px;
578 height: 28px;
579 align-items: center;
580 justify-content: center;
581 border-radius: 8px;
582 background: #fff;
583 color: #3d4a58;
584 font-size: 15px;
585 line-height: 1;
586 }
587 .bkbg-ai-reconnect-note__copy { min-width: 0; }
588 .bkbg-ai-reconnect-note strong {
589 display: block;
590 font-size: 12px;
591 font-weight: 600;
592 line-height: 1.35;
593 color: var(--bkbg-ai-ink);
594 }
595 .bkbg-ai-reconnect-note p {
596 margin: 3px 0 0;
597 font-size: 11px;
598 line-height: 1.45;
599 color: var(--bkbg-ai-muted);
600 }
601 .bkbg-ai-save-notice {
602 margin: 0;
603 padding: 6px 12px 8px;
604 border-bottom: 1px solid var(--bkbg-ai-line);
605 background: transparent;
606 color: var(--bkbg-ai-muted);
607 font-size: 11px;
608 line-height: 1.45;
609 }
610 @media (max-width:782px) {
611 body.bkbg-ai-open .interface-interface-skeleton__sidebar { width:100vw; min-width:0; flex:0 0 100vw!important; }
612 .bkbg-ai-thread { padding:16px; }
613 .bkbg-ai-model-menu { width:calc(100vw - 44px); }
614 }
615 @media (prefers-reduced-motion:reduce) {
616 .bkbg-ai-bubble--streaming::after, .bkbg-ai-activity__item.is-run .bkbg-ai-activity__dot { animation:none; }
617 }
618
619 /* External agents share the live Gutenberg editor through a temporary session. */
620 .bkbg-ai-external { margin:0 0 10px; border:1px solid var(--bkbg-ai-line); border-radius:10px; background:#fff; font-size:12px; }
621 .bkbg-ai-external > summary { cursor:pointer; padding:8px 10px; color:var(--bkbg-ai-ink); font-weight:600; }
622 .bkbg-ai-external-lead { font-weight:400; }
623 .bkbg-ai-external-body { padding:0 10px 10px; }
624 .bkbg-ai-external-body p { margin:0 0 8px; font-size:11px; line-height:1.45; }
625 .bkbg-ai-external-body > p:first-of-type { color: var(--bkbg-ai-muted); }
626 .bkbg-ai-external-prompt { display:block; width:100%; max-height:92px; resize:vertical; border:1px solid #c8cdd2; border-radius:5px; padding:8px; font:11px/1.5 ui-monospace,monospace!important; }
627 .bkbg-ai-external-buttons { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
628 .bkbg-ai-external-wrap > .bkbg-ai-external { margin-bottom:6px; }
629 .bkbg-ai-external-buttons--session { justify-content:flex-end; margin:0; }
630 .bkbg-ai-panel .bkbg-ai-external-disconnect.components-button.is-tertiary {
631 height:28px;
632 padding:0 10px;
633 border-radius:6px;
634 background:#eef1f4;
635 color:#5c636a;
636 font-size:11px;
637 }
638 .bkbg-ai-panel .bkbg-ai-external-disconnect.components-button.is-tertiary:hover:not(:disabled) {
639 background:#e2e5e8;
640 color:#3d4650;
641 }
642 .bkbg-ai-external-clients { display:flex; flex-wrap:wrap; gap:4px; margin:0 0 8px; }
643 .bkbg-ai-panel .bkbg-ai-external-clients .components-button { height:28px; padding:0 10px; font-size:11px; }
644 .bkbg-ai-external-dot { display:inline-block; width:6px; height:6px; margin-left:8px; border-radius:50%; background:#378354; }
645 .bkbg-ai-panel--setup > .bkbg-ai-external { margin:12px; flex-shrink:0; }
646
647 /* Agent-reported stages stay visible when connection settings are collapsed. */
648 .bkbg-ai-external-wrap { min-width:0; }
649 .bkbg-ai-external-progress { padding:12px; margin-bottom:8px; border:1px solid var(--bkbg-ai-line); border-radius:10px; background:#fff; }
650 .bkbg-ai-external-progress__heading { display:flex; gap:7px; align-items:center; min-width:0; font-size:12px; }
651 .bkbg-ai-external-progress__heading strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
652 .bkbg-ai-external-progress__phase { margin-left:auto; color:var(--bkbg-ai-muted); font-size:11px; text-align:right; }
653 .bkbg-ai-external-progress__indicator { display:inline-flex; flex:0 0 16px; width:16px; height:16px; align-items:center; justify-content:center; border:1px solid #cdd3de; border-radius:50%; color:#288148; font-size:11px; }
654 .is-working .bkbg-ai-external-progress__indicator { border:2px solid #e3e7f7; border-top-color:#5268c9; animation:bkbg-external-spin 1.2s linear infinite; }
655 .bkbg-ai-external-progress__message { margin:9px 0 !important; font-size:12px; line-height:1.55; overflow-wrap:anywhere; }
656 .bkbg-ai-external-plan { display:flex; flex-direction:column; gap:6px; max-height:150px; overflow:auto; margin:10px 0; padding:0; list-style:none; font-size:11px; }
657 .bkbg-ai-external-plan li { display:flex; align-items:baseline; gap:7px; color:var(--bkbg-ai-muted); }
658 .bkbg-ai-external-plan li>span:first-child { flex:0 0 12px; }
659 .bkbg-ai-external-plan li.is-active { color:#364b9c; font-weight:600; }
660 .bkbg-ai-external-plan li.is-done { color:#3d4a52; }
661 .bkbg-ai-external-plan li.is-done>span:first-child { color:#288148; }
662 .bkbg-ai-external-progress__counts { color:var(--bkbg-ai-muted); font-size:11px; font-variant-numeric:tabular-nums; }
663 .bkbg-ai-external-images { display:flex; gap:6px; margin-top:10px; }
664 .bkbg-ai-external-images a { display:block; width:calc((100% - 18px) / 4); border-radius:5px; overflow:hidden; background:#f1f2f4; }
665 .bkbg-ai-external-images img { display:block; width:100%; aspect-ratio:1; object-fit:cover; }
666 .bkbg-ai-external-wrap>.bkbg-ai-activity { margin-top:8px; }
667 @keyframes bkbg-external-spin { to { transform:rotate(360deg); } }
668 @media (prefers-reduced-motion:reduce) { .is-working .bkbg-ai-external-progress__indicator { animation:none; border-color:#5268c9; } }
669
670 .bkbg-ai-duration { color:var(--bkbg-ai-muted, #656a70); font-size:12px; font-variant-numeric:tabular-nums; line-height:1.6; padding:5px 0; }
671
672 .bkbg-ai-section-previews { display:flex; gap:8px; margin:10px 0; }
673 .bkbg-ai-section-previews figure { margin:0; flex:1; min-width:0; }
674 .bkbg-ai-section-previews img { width:100%; height:90px; object-fit:contain; object-position:top; border:1px solid var(--bkbg-ai-line); background:#f3f4f5; border-radius:5px; }
675 .bkbg-ai-section-previews figcaption { color:var(--bkbg-ai-muted); font-size:10px; text-align:center; }
676
677 /* The React tree stays alive while Gutenberg removes its visible sidebar slot. */
678 .bkbg-ai-persistent-panel,.bkbg-ai-slot{flex:1 1 auto;height:100%;min-height:0;display:flex;flex-direction:column;}
679 .bkbg-ai-conversations{flex:1;min-width:0;margin:0;max-width:none;font-size:12px;border:1px solid #dcdcde;border-radius:7px;background:#fff;color:#3c434a;min-height:32px;}
680