跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

style.css

2722 行 · 67.4 KB历史下载
1:root {
2 font-family: var(
3 --ui-font-family,
4 -apple-system,
5 BlinkMacSystemFont,
6 "Segoe UI",
7 "PingFang SC",
8 sans-serif
9 );
10 color: var(--ink);
11 background: var(--paper);
12
13 font-synthesis: none;
14 font-size: var(--ui-font-size, 14px);
15 --workbench-header-height: 40px;
16 /* Quiet desktop chrome; the active work surface carries the visual emphasis. */
17 --chrome: #f7f7f7;
18 --chrome-dark: #f0f0f0;
19 --line: #e8e8e8;
20 --accent: #343434;
21 --paper: #ffffff;
22 --ink: #363636;
23 --strong: #202020;
24 --muted: #737373;
25 --focus: #909090;
26 --input: #ffffff;
27 --hover: #eeeeee;
28 --selected: #e9e9e9;
29 --selection: #d5e5ff;
30 --button: #242424;
31 --button-ink: #ffffff;
32 --link: #414141;
33 --success: #27835c;
34 --danger: #c43d3d;
35 --sidebar-width: 248px;
36}
37.safety-body {
38 display: flex;
39 flex-direction: column;
40 gap: 16px;
41}
42.safety-body > * {
43 flex-shrink: 0;
44}
45.safety-summary {
46 display: flex;
47 gap: 14px;
48 align-items: flex-start;
49 padding: 16px;
50 background: var(--chrome);
51 border: 1px solid var(--line);
52 border-radius: 8px;
53}
54.safety-summary > svg {
55 color: var(--accent);
56 flex: none;
57}
58.safety-summary.open > svg {
59 color: var(--success);
60}
61.safety-summary > div {
62 flex: 1;
63}
64.safety-summary h3 {
65 color: var(--strong);
66 font-size: 1.1429rem;
67 margin: 0 0 5px;
68}
69.safety-summary p {
70 font-size: 0.9286rem;
71 margin: 0;
72 line-height: 1.6;
73}
74.safety-section-heading {
75 display: flex;
76 align-items: center;
77 gap: 12px;
78}
79.safety-section-heading h4 {
80 margin: 0;
81 color: var(--strong);
82 font-size: 0.9286rem;
83}
84.safety-section-heading > span {
85 font-size: 0.8571rem;
86 flex: 1;
87}
88.safety-timestamp {
89 font-size: 0.8571rem !important;
90 margin-top: -9px !important;
91}
92.safety-checks {
93 border: 1px solid var(--line);
94 border-radius: 7px;
95 overflow: hidden;
96}
97.safety-check + .safety-check {
98 border-top: 1px solid var(--line);
99}
100.safety-check summary {
101 display: grid;
102 grid-template-columns: 18px 1fr auto 14px;
103 align-items: center;
104 gap: 10px;
105 padding: 11px 13px;
106 cursor: var(--control-cursor, default);
107 list-style: none;
108}
109.safety-check summary::-webkit-details-marker {
110 display: none;
111}
112.safety-check summary:hover {
113 background: var(--hover);
114}
115.safety-check summary strong {
116 color: var(--strong);
117 font-size: 0.9286rem;
118 font-weight: 500;
119}
120.safety-check summary span {
121 font-size: 0.8571rem;
122}
123.safety-check summary > svg:first-child {
124 color: var(--accent);
125}
126.safety-check.passed summary > svg:first-child {
127 color: var(--success);
128}
129.safety-check.failed summary > svg:first-child {
130 color: var(--danger);
131}
132.safety-check[open] summary > svg:last-child {
133 transform: rotate(180deg);
134}
135.safety-check > div {
136 padding: 0 40px 12px;
137}
138.safety-check p {
139 font-size: 0.8571rem;
140 line-height: 1.7;
141 margin: 0;
142 user-select: text;
143}
144.safety-check .check-remedy {
145 margin-top: 5px;
146 color: var(--strong);
147}
148.safety-empty {
149 padding: 14px;
150 border: 1px dashed var(--line);
151 border-radius: 6px;
152 font-size: 0.9286rem;
153 line-height: 1.7;
154}
155.diagnostic-sites {
156 display: grid;
157 grid-template-columns: 1fr 1fr;
158 gap: 12px;
159}
160.diagnostic-sites > div {
161 border: 1px solid var(--line);
162 border-radius: 7px;
163 padding: 14px;
164 display: flex;
165 flex-direction: column;
166 align-items: flex-start;
167 gap: 5px;
168}
169.diagnostic-sites strong {
170 color: var(--strong);
171 font-size: 0.9286rem;
172}
173.diagnostic-sites small {
174 font-size: 0.7857rem;
175}
176.diagnostic-sites p {
177 font-size: 0.8571rem;
178 line-height: 1.6;
179 flex: 1;
180 margin: 5px 0 9px;
181}
182.safety-scope {
183 border-top: 1px solid var(--line);
184 padding-top: 14px;
185 font-size: 0.8571rem;
186}
187.safety-scope summary {
188 cursor: var(--control-cursor, default);
189 color: var(--strong);
190}
191.safety-scope p {
192 line-height: 1.7;
193}
194.safety-sources {
195 display: flex;
196 align-items: center;
197 gap: 10px;
198 flex-wrap: wrap;
199}
200.safety-advisories p {
201 display: flex;
202 gap: 8px;
203 font-size: 0.8571rem;
204 line-height: 1.7;
205 margin: 0;
206}
207.safety-advisories svg {
208 flex: none;
209 margin-top: 3px;
210 color: var(--accent);
211}
212.safety-sources .text-button {
213 font-size: 0.8571rem;
214}
215.exit-observation {
216 display: flex;
217 flex-direction: column;
218 gap: 6px;
219 padding: 14px;
220 background: var(--chrome);
221 border: 1px solid var(--line);
222 border-radius: 7px;
223 font-size: 0.8571rem;
224}
225.exit-observation code {
226 font-family: ui-monospace, monospace;
227 user-select: text;
228}
229::selection {
230 background: var(--selection);
231}
232* {
233 box-sizing: border-box;
234}
235body {
236 margin: 0;
237}
238button,
239input,
240select,
241textarea {
242 font: inherit;
243}
244button {
245 display: inline-flex;
246 align-items: center;
247 justify-content: center;
248 gap: 7px;
249 cursor: var(--control-cursor, default);
250 border: 1px solid var(--line);
251 border-radius: 7px;
252 background: var(--paper);
253 color: var(--ink);
254 min-height: 34px;
255 padding: 7px 12px;
256 white-space: nowrap;
257 transition: transform 0.12s;
258}
259button:hover:not(:disabled) {
260 background: var(--hover);
261 border-color: var(--line);
262}
263button:disabled {
264 opacity: 0.4;
265 cursor: default;
266}
267button:focus-visible,
268input:focus-visible,
269select:focus-visible,
270textarea:focus-visible {
271 outline: 2px solid var(--focus);
272 outline-offset: 2px;
273}
274button.primary {
275 background: var(--button);
276 border-color: var(--button);
277 color: var(--button-ink);
278}
279button.primary:hover:not(:disabled) {
280 background: var(--accent);
281 border-color: var(--accent);
282}
283button.large {
284 padding: 12px 19px;
285 min-height: 44px;
286}
287.icon-button {
288 height: 30px;
289 min-height: 30px;
290 width: 30px;
291 padding: 0;
292 flex-shrink: 0;
293 border: 0;
294 border-radius: 6px;
295 background: transparent;
296 color: inherit;
297}
298.icon-button:hover:not(:disabled) {
299 background: var(--hover);
300 border: 0;
301}
302.text-button {
303 border: 0;
304 background: transparent;
305 color: var(--link);
306 padding: 5px 0;
307 min-height: 28px;
308}
309.text-button:hover:not(:disabled) {
310 background: transparent;
311 text-decoration: underline;
312}
313.app {
314 height: 100dvh;
315 display: flex;
316 flex-direction: column;
317 overflow: hidden;
318}
319.chrome {
320 background: var(--paper);
321 position: relative;
322 z-index: 5;
323 flex: none;
324}
325.menu-dismiss {
326 position: fixed;
327 inset: 0;
328 z-index: 15;
329}
330.menu {
331 position: absolute;
332 right: 0;
333 top: 38px;
334 z-index: 16;
335 min-width: 220px;
336 background: var(--chrome);
337 border: 1px solid var(--line);
338 border-radius: 10px;
339 padding: 6px;
340 box-shadow: 0 16px 40px #00000012;
341 color: var(--ink);
342}
343.menu button {
344 border: 0;
345 background: none;
346 width: 100%;
347 justify-content: start;
348 padding: 10px;
349 font-size: 0.9286rem;
350}
351.menu kbd {
352 margin-left: auto;
353 color: var(--ink);
354 font-size: 0.7857rem;
355}
356.navigation-row {
357 height: 46px;
358 display: flex;
359 align-items: center;
360 gap: 9px;
361 padding: 0 12px 0 14px;
362 border-bottom: 1px solid var(--line);
363}
364.nav-actions {
365 display: flex;
366 gap: 0;
367 color: var(--ink);
368}
369.address-bar {
370 display: flex;
371 align-items: center;
372 gap: 8px;
373 min-width: 60px;
374 flex: 1;
375 border: 1px solid var(--line);
376 border-radius: 7px;
377 background: var(--chrome);
378 color: var(--ink);
379 height: 32px;
380 padding-left: 11px;
381}
382.address-bar:focus-within {
383 border-color: var(--focus);
384 background: var(--paper);
385}
386.address-bar input {
387 width: 100%;
388 min-width: 0;
389 color: var(--ink);
390 background: none;
391 border: 0;
392 outline: none;
393 font-size: 0.8571rem;
394 padding: 4px 0;
395 text-overflow: ellipsis;
396}
397.address-bar input::placeholder {
398 color: var(--muted);
399}
400.address-bar input:focus-visible {
401 outline: none;
402}
403.address-go {
404 background: transparent;
405 color: var(--ink);
406 border: 0;
407 min-height: 26px;
408 width: 30px;
409 padding: 0;
410}
411.address-go:hover:not(:disabled) {
412 background: var(--hover);
413 border: 0;
414}
415.files-button {
416 border-left: 1px solid var(--line);
417 border-radius: 0;
418 padding-left: 8px;
419 width: 36px;
420 color: var(--ink);
421}
422.files-button:hover:not(:disabled) {
423 border-left: 1px solid var(--line);
424}
425.progress-line {
426 position: absolute;
427 left: 0;
428 right: 0;
429 bottom: 0;
430 height: 2px;
431 background: linear-gradient(90deg, transparent, var(--accent), transparent);
432 background-size: 200% 100%;
433 animation: progress 1.4s linear infinite;
434}
435.workspace {
436 flex: 1;
437 min-height: 0;
438 position: relative;
439 overflow: hidden;
440 background: var(--paper);
441}
442.remote-view,
443.terminal-view {
444 position: absolute;
445 inset: 0;
446}
447.remote-canvas {
448 height: 100%;
449 width: 100%;
450 display: flex;
451 align-items: center;
452 justify-content: center;
453}
454.remote-canvas > div {
455 width: 100% !important;
456 height: 100% !important;
457}
458.remote-size-warning {
459 position: absolute;
460 top: 0;
461 left: 0;
462 right: 0;
463 z-index: 2;
464}
465.remote-text-input {
466 width: 1px;
467 height: 24px;
468 min-height: 0;
469 padding: 0;
470 border: 0;
471 opacity: 0;
472 pointer-events: none;
473 resize: none;
474 font: 16px/24px system-ui;
475}
476.concealed {
477 visibility: hidden;
478 pointer-events: none;
479 z-index: -1;
480}
481.sidebar-footer-actions {
482 display: flex;
483 flex-wrap: wrap;
484 align-items: center;
485 gap: 3px 6px;
486}
487.sidebar-footer-actions > .sidebar-link { flex: 1; min-width: 0; }
488.app-update-button {
489 position: relative; flex: 0 0 32px; width: 32px; height: 32px; min-height: 32px; padding: 0;
490 display: grid; place-items: center; border: 0; border-radius: 50%;
491 background: #b78a00; color: #fff; cursor: pointer;
492}
493.app-update-button:hover:not(:disabled) { background: #a17900; }
494.app-update-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
495.app-update-button:disabled { opacity: 1; cursor: progress; }
496.app-update-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
497.app-update-ring circle { fill: none; stroke-width: 2; }
498.app-update-ring-track { stroke: #ffffff40; }
499.app-update-ring-value { stroke: currentColor; stroke-linecap: round; transition: stroke-dashoffset 0.18s linear; }
500.app-update-ring.indeterminate { animation: app-update-turn 1s linear infinite; }
501.app-update-percent { font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
502.app-update-error {
503 position: fixed; left: 18px; bottom: 82px; z-index: 50;
504 max-width: min(380px, calc(100vw - 36px)); padding: 12px 16px;
505 border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink);
506 box-shadow: 0 8px 24px #00000018; font-size: 13px; line-height: 1.6;
507}
508@keyframes app-update-turn { to { transform: rotate(270deg); } }
509@media (prefers-reduced-motion: reduce) {
510 .app-update-ring.indeterminate { animation: none; }
511 .app-update-ring-value { transition: none; }
512}
513.browser-download-panel {
514 position: fixed; z-index: 36; top: 56px; right: 12px;
515 display: flex; flex-direction: column; width: min(380px, calc(100vw - 24px));
516 border: 1px solid var(--line); border-radius: 12px;
517 background: var(--paper); color: var(--ink); box-shadow: 0 12px 36px #00000026;
518 overflow: hidden;
519}
520.browser-download-heading { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
521.browser-download-heading h2 { margin: 0; font-size: 1rem; font-weight: 600; color: var(--strong); }
522.browser-download-list { max-height: 520px; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 4px 8px; }
523.browser-download-item { position: relative; display: flex; gap: 12px; padding: 10px; border-bottom: 1px solid var(--line); }
524.browser-download-item:last-child { border-bottom: 0; }
525.browser-download-file-icon { flex: none; margin-top: 2px; color: var(--muted); }
526.browser-download-content { flex: 1; min-width: 0; }
527.browser-download-content > strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9286rem; font-weight: 500; color: var(--strong); }
528.browser-download-item p { margin: 4px 0; font-size: 0.8571rem; color: var(--muted); overflow-wrap: anywhere; }
529.download-status { display: flex; align-items: baseline; gap: 8px; }
530.download-state { flex: none; }
531.browser-download-item .download-path { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; user-select: text; font-size: 0.7857rem; }
532.browser-download-item progress { display: block; width: 100%; height: 4px; margin: 8px 0; accent-color: var(--accent); }
533.browser-download-item [role="status"] { color: var(--danger, #b42318); }
534.download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
535.browser-download-item .download-text-action { display: inline-flex; align-items: center; gap: 4px; padding: 3px 0; border: 0; border-radius: 2px; background: transparent; color: var(--strong); font-size: 0.8571rem; }
536.browser-download-item .download-text-action:hover { text-decoration: underline; }
537.download-actions .download-reveal { width: 26px; height: 26px; margin-left: auto; }
538.browser-download-empty { display: grid; justify-items: center; gap: 10px; padding: 36px 16px; color: var(--muted); }
539.browser-download-empty strong { color: var(--strong); font-size: 0.9286rem; font-weight: 500; }
540.browser-download-empty p { margin: 0; font-size: 0.8571rem; }
541.browser-download-button { flex: none; }
542.browser-download-button.icon-button { position: relative; }
543.browser-download-warning { position: absolute; top: 3px; right: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--danger, #b42318); }
544.browser-download-button[aria-expanded="true"] { background: var(--selected); }
545.browser-upload-body { display: flex; flex-direction: column; gap: 14px; }
546.browser-upload-body label { display: flex; flex-direction: column; gap: 8px; }
547.browser-upload-body input, .browser-upload-body progress { width: 100%; }
548.environment-versions { margin-top: 28px; }
549.resource-settings .resource-intro { margin: 0 0 20px; }
550.resource-allocation { margin: 0; }
551.resource-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border: 0; padding: 0; margin: 0; min-width: 0; }
552.resource-fields legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
553.settings-content .resource-fields label { margin: 0 !important; gap: 8px; min-width: 0; }
554.resource-fields small { color: var(--muted); font-size: 0.8571rem; font-weight: 400; line-height: 1.6; }
555.resource-input { position: relative; display: flex; align-items: center; }
556.settings-content .resource-input input { padding-right: 86px; font-variant-numeric: tabular-nums; font-size: 1.1429rem; height: 44px; }
557.resource-input > span { position: absolute; right: 30px; color: var(--muted); font-size: 0.8571rem; pointer-events: none; }
558.resource-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 20px; }
559.resource-mode { margin-right: auto; color: var(--muted); font-size: 0.8571rem; }
560.resource-actions .text-button { margin: 0; }
561.resource-actions button[type="submit"] { background: var(--button); color: var(--button-ink); border-color: var(--button); }
562.resource-settings .resource-save-note { margin: 10px 0 0; }
563.resource-settings .resource-minimum-note { margin: 10px 0 0; }
564.resource-runtime { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
565.resource-runtime-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
566.resource-runtime-heading h5 { font-size: 0.9286rem; font-weight: 550; margin: 0; }
567.resource-runtime .setting-summary-row { margin: 0; padding: 10px 0; font-size: 0.9286rem; }
568.resource-runtime .field-help { margin: 12px 0 0; }
569.resource-observation-note { margin-top: 14px; color: var(--muted); font-size: 0.8571rem; }
570.resource-observation-note summary { cursor: pointer; width: fit-content; }
571.resource-observation-note .field-help { margin: 10px 0 0; }
572@media (max-width: 600px) {
573 .resource-fields { grid-template-columns: 1fr; gap: 16px; }
574 .resource-mode { flex-basis: 100%; }
575}
576.environment-versions .setting-summary-row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
577.environment-versions .setting-summary-row strong { margin: 0; }
578.environment-tool-table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 12px 0; }
579.environment-tool-table th, .environment-tool-table td { padding: 8px 4px; text-align: left; overflow-wrap: anywhere; border-bottom: 1px solid var(--border, #dedede); }
580.environment-version-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
581.environment-update-banner { position: absolute; z-index: 8; top: 8px; left: 16px; right: 16px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; justify-content: space-between; background: var(--surface, #fff); border: 1px solid var(--border, #dedede); border-radius: 8px; font-size: 13px; }
582.terminal-view {
583 padding: 18px 20px 13px;
584 display: flex;
585 flex-direction: column;
586}
587.terminal-host {
588 flex: 1;
589 min-height: 0;
590 width: 100%;
591}
592.terminal-host.terminal-preparing { visibility: hidden; }
593.terminal-startup {
594 position: absolute;
595 inset: 0;
596 display: flex;
597 flex-direction: column;
598 align-items: center;
599 justify-content: center;
600 gap: 12px;
601 color: var(--muted);
602 font-size: 0.8571rem;
603}
604.terminal-startup button {
605 border: 0;
606 background: transparent;
607 color: var(--link);
608 font-size: inherit;
609}
610.xterm .xterm-viewport {
611 background: transparent !important;
612}
613.terminal-note {
614 position: absolute;
615 right: 20px;
616 bottom: 18px;
617 display: flex;
618 align-items: center;
619 gap: 10px;
620 color: var(--ink);
621 font-size: 0.8571rem;
622 background: var(--chrome);
623 padding: 6px 10px;
624 border: 1px solid var(--line);
625 border-radius: 6px;
626}
627.terminal-note button {
628 background: transparent;
629 border: 0;
630 color: var(--link);
631 padding: 0;
632 min-height: 24px;
633 font-size: 0.8571rem;
634}
635.view-overlay {
636 position: absolute;
637 inset: 0;
638 display: flex;
639 flex-direction: column;
640 align-items: center;
641 justify-content: center;
642 background: var(--paper);
643 color: var(--ink);
644}
645.view-overlay h3 {
646 font-size: 1.1429rem;
647 font-weight: 550;
648 margin: 18px 0 7px;
649}
650.view-overlay p {
651 font-size: 0.9286rem;
652 color: var(--ink);
653 margin: 0 0 20px;
654}
655.status-bar {
656 height: 27px;
657 display: flex;
658 align-items: center;
659 gap: 10px;
660 padding: 0 12px;
661 background: var(--chrome);
662 border-top: 1px solid var(--line);
663 color: var(--ink);
664 font-size: 0.7143rem;
665 flex: none;
666}
667.status-bar button {
668 padding: 0;
669 min-height: 22px;
670 border: 0;
671 background: none;
672 color: inherit;
673 font-size: 0.7143rem;
674 gap: 5px;
675}
676.status-bar button:hover:not(:disabled) {
677 background: none;
678 border: 0;
679 color: var(--ink);
680}
681.status-divider {
682 height: 10px;
683 width: 1px;
684 background: var(--line);
685}
686.status-spacer {
687 flex: 1;
688}
689.status-latency {
690 flex-shrink: 0;
691 font-variant-numeric: tabular-nums;
692 white-space: nowrap;
693}
694.status-feedback {
695 max-width: 48vw;
696 overflow: hidden;
697 text-overflow: ellipsis;
698 white-space: nowrap;
699}
700.safety-checklist-link {
701 margin-inline-start: 12px;
702 white-space: nowrap;
703}
704.status-feedback:has(.safety-checklist-link) {
705 display: flex;
706 align-items: center;
707}
708.status-feedback .safety-checklist-link {
709 flex-shrink: 0;
710}
711.status-feedback .safety-message-text {
712 overflow: hidden;
713 text-overflow: ellipsis;
714}
715.status-bar button:last-child {
716 border-left: 1px solid var(--line);
717 padding-left: 10px;
718}
719.connection-banner {
720 background: color-mix(in srgb, var(--danger) 5%, transparent);
721 color: var(--danger);
722 font-size: 0.8571rem;
723 text-align: center;
724 padding: 7px;
725 z-index: 6;
726}
727.boot-screen {
728 height: 100vh;
729 display: flex;
730 flex-direction: column;
731 align-items: center;
732 justify-content: center;
733 gap: 12px;
734 background: var(--paper);
735 color: var(--ink);
736}
737.boot-screen h1 {
738 margin: 0;
739 font-size: 1.9286rem;
740 font-weight: 550;
741}
742.boot-screen p {
743 margin: 0 0 10px;
744 display: flex;
745 gap: 7px;
746 align-items: center;
747 font-size: 0.9286rem;
748 max-width: 600px;
749}
750.boot-screen .muted {
751 color: var(--ink);
752}
753.brand-mark {
754 width: 60px;
755 height: 60px;
756 border: 1px solid var(--line);
757 border-radius: 17px;
758 background: var(--chrome);
759 color: var(--ink);
760 display: grid;
761 place-items: center;
762 font-size: 2.4286rem;
763 font-weight: 500;
764}
765.modal-scrim {
766 position: fixed;
767 inset: 0;
768 z-index: 30;
769 background: #00000030;
770 backdrop-filter: blur(3px);
771 display: flex;
772 align-items: center;
773 justify-content: center;
774 padding: 20px;
775 animation: appear 0.14s ease-out;
776}
777.modal {
778 width: min(500px, 100%);
779 max-height: calc(100dvh - 40px);
780 display: flex;
781 flex-direction: column;
782 border: 1px solid var(--line);
783 background: var(--paper);
784 color: var(--ink);
785 border-radius: 13px;
786 box-shadow: 0 30px 100px #00000012;
787 overflow: hidden;
788}
789.modal.wide {
790 width: min(760px, 100%);
791}
792.modal-head {
793 height: 62px;
794 display: flex;
795 align-items: center;
796 justify-content: space-between;
797 padding: 0 23px;
798 border-bottom: 1px solid var(--line);
799 flex: none;
800}
801.modal h2 {
802 font-size: 1.2857rem;
803 font-weight: 620;
804 margin: 0;
805 letter-spacing: -0.3px;
806}
807.close-modal {
808 font-size: 1.6429rem;
809 font-weight: 300;
810 color: var(--ink);
811}
812.modal .icon-button:hover:not(:disabled) {
813 background: var(--hover);
814}
815.modal-footer {
816 display: flex;
817 align-items: center;
818 gap: 9px;
819 padding: 15px 22px;
820 border-top: 1px solid var(--line);
821 background: var(--chrome);
822 flex: none;
823}
824.modal-footer button {
825 font-size: 0.8571rem;
826}
827.save-note {
828 font-size: 0.7857rem;
829 color: var(--ink);
830 flex: 1;
831 max-width: 55%;
832}
833.modal-body {
834 padding: 22px;
835 overflow: auto;
836}
837.modal-body > p {
838 line-height: 1.8;
839 font-size: 0.9286rem;
840 color: var(--ink);
841 margin: 0;
842}
843.anchored-modal-scrim {
844 background: transparent;
845 backdrop-filter: none;
846 animation: none;
847}
848.anchored-modal-scrim .modal {
849 position: fixed;
850 width: min(304px, calc(100vw - 16px));
851 max-height: calc(100dvh - 16px);
852 border-radius: 10px;
853 box-shadow: 0 8px 28px #00000026;
854}
855.anchored-modal-scrim .modal-head {
856 height: auto;
857 min-height: 44px;
858 padding: 8px 12px;
859 border-bottom: 0;
860}
861.anchored-modal-scrim .modal h2 { font-size: 1rem; }
862.anchored-modal-scrim .modal-body { padding: 0 12px 12px; }
863.anchored-modal-scrim .modal-body > p { font-size: 0.8571rem; line-height: 1.6; }
864.anchored-modal-scrim .modal-footer { justify-content: flex-end; padding: 10px 12px; }
865.settings-content {
866 padding: 27px 28px;
867 flex: 1;
868 min-width: 0;
869 overflow: auto;
870}
871.section-title {
872 margin-bottom: 23px;
873}
874.network-exit-policy {
875 margin-top: 28px;
876}
877.section-title h3 {
878 font-size: 1.1429rem;
879 font-weight: 620;
880 margin: 0 0 8px;
881}
882.section-title p {
883 font-size: 0.8571rem;
884 line-height: 1.6;
885 margin: 0;
886 color: var(--ink);
887}
888.settings-content label:not(.check-line):not(.choice):not(.toggle-row) {
889 display: flex;
890 flex-direction: column;
891 gap: 8px;
892 font-size: 0.8571rem;
893 font-weight: 550;
894 margin-bottom: 17px;
895 color: var(--ink);
896}
897.settings-content input:not([type="checkbox"]):not([type="radio"]),
898.settings-content .inline-select-trigger {
899 height: 36px;
900 border: 1px solid var(--line);
901 border-radius: 6px;
902 background: var(--input);
903 color: var(--ink);
904 padding: 7px 10px;
905 font-size: 0.8571rem;
906 width: 100%;
907 font-weight: 400;
908}
909.settings-content input:disabled {
910 background: var(--chrome);
911 color: var(--ink);
912}
913.field-help {
914 font-size: 0.7857rem;
915 line-height: 1.7;
916 color: var(--ink);
917 margin: -9px 0 20px;
918}
919.field-row {
920 display: flex;
921 gap: 13px;
922}
923.field-row label {
924 width: 50%;
925}
926.check-line {
927 display: flex;
928 align-items: center;
929 gap: 7px;
930 font-size: 0.7857rem;
931 color: var(--ink);
932 margin: -3px 0 18px;
933}
934.settings-content input[type="checkbox"],
935.settings-content input[type="radio"] {
936 accent-color: var(--accent);
937}
938.probe-line {
939 display: flex;
940 align-items: center;
941 gap: 12px;
942 margin: 5px 0 15px;
943}
944.probe-line button {
945 font-size: 0.8571rem;
946}
947.probe-line span {
948 font-size: 0.7143rem;
949 color: var(--ink);
950}
951.location-result {
952 display: flex;
953 gap: 12px;
954 align-items: center;
955 border: 1px solid var(--line);
956 border-radius: 8px;
957 background: var(--chrome);
958 padding: 14px;
959 color: var(--ink);
960}
961.location-result.fresh {
962 border-color: var(--focus);
963 background: var(--hover);
964}
965.result-icon {
966 align-self: flex-start;
967 padding-top: 1px;
968}
969.location-result > div {
970 flex: 1;
971 display: flex;
972 flex-direction: column;
973 gap: 5px;
974}
975.location-result strong {
976 font-size: 0.8571rem;
977 font-weight: 550;
978 color: var(--ink);
979}
980.location-result code {
981 font-size: 0.8571rem;
982 font-family: "SF Mono", Menlo, monospace;
983 color: var(--ink);
984}
985.location-result small {
986 font-size: 0.7143rem;
987 color: var(--ink);
988}
989.footnote {
990 font-size: 0.7143rem;
991 line-height: 1.8;
992 color: var(--ink);
993 margin: 15px 0 0;
994}
995.toggle-row {
996 display: flex;
997 align-items: center;
998 gap: 18px;
999 padding: 15px;
1000 border: 1px solid var(--line);
1001 border-radius: 8px;
1002 background: var(--chrome);
1003 margin-bottom: 20px;
1004}
1005.toggle-row > span {
1006 flex: 1;
1007}
1008.toggle-row strong {
1009 display: block;
1010 font-size: 0.8571rem;
1011 font-weight: 550;
1012 color: var(--ink);
1013}
1014.toggle-row small {
1015 display: block;
1016 font-size: 0.7143rem;
1017 line-height: 1.7;
1018 color: var(--ink);
1019 margin-top: 5px;
1020}
1021.toggle-row input {
1022 appearance: none;
1023 width: 33px;
1024 height: 19px;
1025 border-radius: 20px;
1026 background: var(--line);
1027 position: relative;
1028 cursor: var(--control-cursor, default);
1029 flex: none;
1030}
1031.toggle-row input:after {
1032 content: "";
1033 position: absolute;
1034 width: 13px;
1035 height: 13px;
1036 border-radius: 50%;
1037 top: 3px;
1038 left: 3px;
1039 background: var(--paper);
1040 transition: transform 0.12s;
1041}
1042.toggle-row input:checked {
1043 background: var(--accent);
1044}
1045.toggle-row input:checked:after {
1046 transform: translateX(14px);
1047}
1048.inline-info {
1049 display: flex;
1050 align-items: start;
1051 gap: 7px;
1052 font-size: 0.7143rem;
1053 line-height: 1.7;
1054 color: var(--ink);
1055 background: var(--chrome);
1056 padding: 10px;
1057 border-radius: 6px;
1058 margin: -5px 0 20px;
1059}
1060.inline-info svg {
1061 flex: none;
1062 margin-top: 1px;
1063}
1064.inline-info span {
1065 flex: 1;
1066}
1067.inline-info button {
1068 font-size: 0.7143rem;
1069 min-height: 18px;
1070 padding: 0;
1071}
1072.choice-list {
1073 display: flex;
1074 flex-direction: column;
1075 gap: 10px;
1076 margin-bottom: 21px;
1077}
1078.choice {
1079 display: flex;
1080 align-items: start;
1081 gap: 10px;
1082 border: 1px solid var(--line);
1083 border-radius: 8px;
1084 padding: 14px;
1085 cursor: var(--control-cursor, default);
1086}
1087.choice.checked {
1088 border-color: var(--focus);
1089 background: var(--hover);
1090}
1091.choice input {
1092 margin: 2px 0 0;
1093 flex: none;
1094}
1095.choice strong {
1096 display: block;
1097 font-size: 0.8571rem;
1098 font-weight: 550;
1099 margin-bottom: 6px;
1100}
1101.choice small {
1102 display: block;
1103 font-size: 0.7857rem;
1104 line-height: 1.7;
1105 color: var(--ink);
1106}
1107.settings-content h4 {
1108 font-size: 0.8571rem;
1109 font-weight: 550;
1110 margin: 26px 0 8px;
1111}
1112.shortcut-list > div {
1113 display: flex;
1114 justify-content: space-between;
1115 border-bottom: 1px solid var(--line);
1116 padding: 9px 0;
1117 font-size: 0.7857rem;
1118 color: var(--ink);
1119}
1120.shortcut-list kbd {
1121 font-family: inherit;
1122 color: var(--ink);
1123}
1124.project-explanation {
1125 display: flex;
1126 gap: 13px;
1127 padding: 20px 0;
1128 margin-top: 10px;
1129 border-top: 1px solid var(--line);
1130 color: var(--ink);
1131}
1132.project-explanation svg {
1133 flex: none;
1134 margin-top: 2px;
1135}
1136.project-explanation strong {
1137 font-size: 0.8571rem;
1138 font-weight: 550;
1139 color: var(--ink);
1140}
1141.project-explanation p {
1142 font-size: 0.7857rem;
1143 line-height: 1.8;
1144 margin: 7px 0 0;
1145 color: var(--ink);
1146}
1147.error-message {
1148 border: 1px solid var(--line);
1149 background: color-mix(in srgb, var(--danger) 5%, transparent);
1150 color: var(--danger);
1151 padding: 11px 12px;
1152 border-radius: 7px;
1153 font-size: 0.8571rem;
1154 line-height: 1.7;
1155 margin-top: 17px;
1156}
1157.transfer-text {
1158 display: block;
1159 width: 100%;
1160 min-height: 180px;
1161 resize: vertical;
1162 margin-top: 15px;
1163 border: 1px solid var(--line);
1164 border-radius: 7px;
1165 padding: 12px;
1166 background: var(--paper);
1167 color: var(--ink);
1168 line-height: 1.7;
1169}
1170.job-log {
1171 font:
1172 11px/1.7 "SF Mono",
1173 Menlo,
1174 monospace;
1175 color: var(--ink);
1176 background: var(--chrome);
1177 border-radius: 7px;
1178 padding: 15px;
1179 margin: 15px 0 0;
1180 height: 60dvh;
1181 max-height: 640px;
1182 overflow: auto;
1183 white-space: pre-wrap;
1184 overflow-wrap: anywhere;
1185}
1186.spin {
1187 animation: spin 1s linear infinite;
1188}
1189@keyframes spin {
1190 to {
1191 transform: rotate(360deg);
1192 }
1193}
1194@keyframes pulse {
1195 50% {
1196 opacity: 0.35;
1197 }
1198}
1199@keyframes progress {
1200 to {
1201 background-position: -200% 0;
1202 }
1203}
1204@keyframes appear {
1205 from {
1206 opacity: 0;
1207 transform: translateY(4px);
1208 }
1209 to {
1210 opacity: 1;
1211 transform: translateY(0);
1212 }
1213}
1214:root[data-reduced-motion="true"] *,
1215:root[data-reduced-motion="true"] *::before,
1216:root[data-reduced-motion="true"] *::after {
1217 animation: none !important;
1218 transition: none !important;
1219}
1220
1221.modal {
1222}
1223
1224/* Reading sizes remain comfortable at a normal 1280px workbench window. */
1225.settings-content label:not(.check-line):not(.choice):not(.toggle-row),
1226.settings-content input:not([type="checkbox"]):not([type="radio"]),
1227.settings-content .inline-select-trigger,
1228.choice strong,
1229.toggle-row strong,
1230.settings-content h4,
1231.location-result strong,
1232.modal-footer button {
1233 font-size: 1rem;
1234}
1235.settings-content input:not([type="checkbox"]):not([type="radio"]),
1236.settings-content .inline-select-trigger {
1237 height: 39px;
1238}
1239.section-title h3 {
1240 font-size: 1.2857rem;
1241}
1242.section-title p,
1243.field-help,
1244.choice small,
1245.shortcut-list > div,
1246.footnote,
1247.toggle-row small,
1248.inline-info,
1249.save-note,
1250.project-explanation p,
1251.location-result small,
1252.probe-line span {
1253 font-size: 0.8571rem;
1254 color: var(--ink);
1255}
1256.status-bar {
1257 height: 30px;
1258 font-size: 0.8571rem;
1259}
1260.status-bar button {
1261 font-size: 0.8571rem;
1262}
1263.status-feedback {
1264 font-size: 0.7857rem;
1265}
1266
1267.settings-fields {
1268 border: 0;
1269 padding: 0;
1270 margin: 0;
1271 min-width: 0;
1272}
1273
1274.settings-content.settings-content--remote {
1275 padding: 40px clamp(16px, 4vw, 64px);
1276}
1277.remote-link-settings { max-width: 960px; margin-inline: auto; }
1278.settings-content .remote-link-settings .section-title { margin-bottom: 32px; }
1279.settings-content .remote-link-settings .section-title h3 { font-size: 2rem; }
1280.settings-content .remote-link-settings .section-title p { font-size: 1rem; line-height: 1.7; }
1281.remote-pair-card {
1282 border: 1px solid var(--line);
1283 border-radius: 16px;
1284 padding: 32px;
1285 text-align: center;
1286}
1287.settings-content .remote-pair-card h4 {
1288 margin: 0 0 12px;
1289 font-size: 1.7143rem;
1290 font-weight: 600;
1291 color: var(--strong);
1292}
1293.remote-pair-instruction { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
1294.remote-pair-device { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px 12px; margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
1295.remote-pair-device strong { font-size: 1.1429rem; color: var(--strong); }
1296.remote-pair-device span { color: var(--muted); }
1297.remote-pair-code { margin: 24px auto 0; }
1298.remote-pair-code img {
1299 display: block;
1300 margin-inline: auto;
1301 max-width: 100%;
1302 height: auto;
1303 image-rendering: pixelated;
1304}
1305.remote-pair-code .field-help { margin: 12px 0 0; }
1306.remote-pair-placeholder {
1307 width: 320px;
1308 max-width: 100%;
1309 aspect-ratio: 1;
1310 display: grid;
1311 place-items: center;
1312 margin: 24px auto 0;
1313 border-radius: 12px;
1314 background: var(--chrome);
1315 color: var(--muted);
1316}
1317.remote-pair-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 0; }
1318.remote-pair-actions button { min-height: 44px; padding: 10px 20px; font-size: 1rem; }
1319.remote-pair-privacy { margin: 16px 0 0; color: var(--muted); font-size: 0.8571rem; line-height: 1.7; }
1320.remote-pair-card [role="status"] { margin: 16px 0 0; line-height: 1.7; overflow-wrap: anywhere; }
1321.remote-relay-settings { margin-top: 32px; }
1322.remote-relay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
1323.settings-content .remote-relay-settings h4 { margin: 0 0 8px; font-size: 1.1429rem; }
1324.remote-relay-settings .field-help { margin: 0; }
1325.remote-relay-options { display: flex; flex-wrap: wrap; gap: 8px; }
1326.remote-relay-options button { min-height: 40px; }
1327.remote-relay-settings label { margin-top: 24px; }
1328.remote-relay-settings > small { display: block; margin-top: 16px; }
1329.remote-link-settings button[aria-pressed="true"] {
1330 background: var(--selected);
1331 border-color: var(--strong);
1332}
1333@media (max-width: 720px) {
1334 .remote-pair-card { padding: 24px 16px; }
1335 .remote-pair-actions button { padding-inline: 12px; }
1336}
1337
1338/* Desktop hierarchy: project navigation → active content → quiet runtime status. */
1339button:active:not(:disabled) {
1340 transform: translateY(1px);
1341}
1342svg {
1343 flex-shrink: 0;
1344}
1345.workbench-shell {
1346 display: flex;
1347 height: 100%;
1348 min-height: 0;
1349}
1350.workbench-main {
1351 display: flex;
1352 flex-direction: column;
1353 flex: 1;
1354 min-width: 0;
1355}
1356.workspace-sidebar {
1357 width: var(--sidebar-width);
1358 flex: none;
1359 display: flex;
1360 flex-direction: column;
1361 padding: 0 12px;
1362 background: var(--chrome);
1363 border-right: 1px solid var(--line);
1364 user-select: none;
1365}
1366.sidebar-top {
1367 min-height: var(--workbench-header-height);
1368 border-bottom: 1px solid var(--line);
1369 display: flex;
1370 align-items: center;
1371 justify-content: space-between;
1372 padding: 0 6px;
1373 flex: none;
1374}
1375.sidebar-brand {
1376 display: flex;
1377 align-items: center;
1378 gap: 9px;
1379 font-weight: 600;
1380 font-size: 1.1429rem;
1381 letter-spacing: -0.4px;
1382 color: var(--strong);
1383}
1384.guest-system-icon {
1385 display: inline-flex;
1386 width: 17px;
1387 height: 17px;
1388 align-items: center;
1389 justify-content: center;
1390 color: var(--muted);
1391}
1392.guest-system-icon svg { width: 100%; height: 100%; }
1393/* Linux mark: Simple Icons, CC0-1.0. */
1394.guest-system-icon-linux {
1395 width: 100%;
1396 height: 100%;
1397 background: currentColor;
1398 -webkit-mask: url("./linux-icon.svg") center / contain no-repeat;
1399 mask: url("./linux-icon.svg") center / contain no-repeat;
1400}
1401.sidebar-top .icon-button {
1402 color: var(--muted);
1403}
1404.sidebar-navigation {
1405 display: grid;
1406 gap: 3px;
1407 padding: 0 0 24px;
1408}
1409.workspace-sidebar:has(.account-menu) .sidebar-navigation {
1410 overflow-y: auto;
1411}
1412.workspace-sidebar:has(.account-menu) .sidebar-scroll {
1413 min-height: 4rem;
1414}
1415.sidebar-link {
1416 width: 100%;
1417 min-height: 36px;
1418 padding: 8px 10px;
1419 justify-content: flex-start;
1420 border: 0;
1421 background: transparent;
1422 font-size: 0.9286rem;
1423 gap: 10px;
1424}
1425.sidebar-link.selected {
1426 background: var(--selected);
1427 color: var(--strong);
1428}
1429.sidebar-link kbd,
1430.shortcut-hint {
1431 margin-left: auto;
1432 color: var(--muted);
1433 font-size: 0.7857rem;
1434 font-family: inherit;
1435}
1436.trailing-icon {
1437 margin-left: auto;
1438 color: var(--muted);
1439}
1440.sidebar-scroll {
1441 flex: 1;
1442 min-height: 0;
1443 overflow-y: auto;
1444 overflow-x: clip;
1445 padding-bottom: 24px;
1446 scrollbar-width: thin;
1447}
1448.sidebar-section-heading {
1449 display: flex;
1450 justify-content: space-between;
1451 align-items: center;
1452 height: 32px;
1453 padding-left: 10px;
1454 font-size: 0.8571rem;
1455 color: var(--muted);
1456}
1457.sidebar-section-heading .icon-button {
1458 width: 28px;
1459 height: 28px;
1460 min-height: 28px;
1461}
1462.project-heading {
1463 display: flex;
1464 align-items: center;
1465 position: relative;
1466}
1467.project-disclosure {
1468 flex: 1;
1469 min-width: 0;
1470 justify-content: flex-start;
1471 gap: 10px;
1472 background: transparent;
1473 border: 0;
1474 padding: 8px 10px;
1475 font-size: 0.9286rem;
1476 font-weight: 500;
1477}
1478.project-disclosure span {
1479 overflow: hidden;
1480 text-overflow: ellipsis;
1481 white-space: nowrap;
1482}
1483.project-disclosure > svg:first-child {
1484 color: var(--muted);
1485}
1486.project-heading > .icon-button {
1487 width: 26px;
1488 height: 26px;
1489 min-height: 26px;
1490 color: var(--muted);
1491}
1492.project-children {
1493 display: grid;
1494 grid-template-rows: 0fr;
1495 visibility: hidden;
1496 transition:
1497 grid-template-rows 180ms ease,
1498 visibility 180ms;
1499}
1500.project-children.expanded {
1501 grid-template-rows: 1fr;
1502 visibility: visible;
1503}
1504.project-children > div {
1505 min-height: 0;
1506 overflow: hidden;
1507}
1508.sidebar-tabs {
1509 margin: 0 0 5px 16px;
1510 padding: 0 0 0 8px;
1511 border-left: 1px solid var(--line);
1512}
1513.project-children .sidebar-empty {
1514 padding-left: 36px;
1515}
1516.sidebar-tab {
1517 position: relative;
1518 display: flex;
1519 align-items: center;
1520 border-radius: 8px;
1521 margin-bottom: 2px;
1522 min-height: 40px;
1523}
1524.sidebar-tab > :is(button[role="tab"], .sidebar-session) {
1525 min-height: 40px;
1526}
1527.sidebar-tab:hover {
1528 background: var(--hover);
1529}
1530.sidebar-tab.active {
1531 background: var(--selected);
1532 color: var(--strong);
1533}
1534.sidebar-tab > button[role="tab"] {
1535 flex: 1;
1536 justify-content: flex-start;
1537 background: transparent;
1538 border: 0;
1539 min-width: 0;
1540 padding: 8px;
1541 font-size: 0.9286rem;
1542 gap: 7px;
1543 color: inherit;
1544}
1545.sidebar-tab > button[role="tab"] > span {
1546 overflow: hidden;
1547 white-space: nowrap;
1548 text-overflow: ellipsis;
1549}
1550.sidebar-tab > button[role="tab"] svg {
1551 flex: none;
1552 color: var(--muted);
1553}
1554.tab-pin {
1555 margin-left: auto;
1556}
1557.session-activity { margin-left: auto; flex: none; }
1558.tab-pin + .session-activity { margin-left: 0; }
1559.sidebar-tab.dragging { opacity: .5; }
1560.tab-favicon {
1561 flex: 0 0 auto;
1562 object-fit: contain;
1563}
1564.sidebar-tab.ended > button[role="tab"] {
1565 color: var(--muted);
1566}
1567.terminal-row-actions {
1568 display: flex;
1569 align-items: center;
1570 visibility: hidden;
1571 max-width: 0;
1572 overflow: hidden;
1573 opacity: 0;
1574 transform: translateX(10px);
1575 transition: opacity 140ms ease, transform 140ms ease;
1576}
1577.sidebar-tab:is(:hover, :focus-within, :has([aria-expanded="true"])) .terminal-row-actions {
1578 visibility: visible;
1579 max-width: none;
1580 margin-right: 3px;
1581 opacity: 1;
1582 transform: none;
1583}
1584.terminal-row-actions > button {
1585 flex: 0 0 auto;
1586 width: auto;
1587 min-width: 25px;
1588 gap: 4px;
1589 min-height: 26px;
1590 height: 26px;
1591 padding: 0;
1592 color: var(--muted);
1593}
1594.terminal-row-actions > button:is(:hover, :focus-visible) {
1595 background: var(--paper);
1596 color: var(--strong);
1597}
1598.terminal-row-actions > button:focus-visible {
1599 outline-offset: -2px;
1600}
1601.terminal-action-label {
1602 display: none;
1603 margin-left: 4px;
1604 color: var(--muted);
1605 font-size: 0.7857rem;
1606 white-space: nowrap;
1607}
1608.terminal-row-actions > button:hover .terminal-action-label,
1609.terminal-row-actions:not(:has(> button:hover)) > button:focus-visible .terminal-action-label {
1610 display: block;
1611}
1612@media (prefers-reduced-motion: reduce) {
1613 .terminal-row-actions { transition: none; }
1614}
1615.workspace-tab-menu {
1616 position: fixed;
1617 left: 24px;
1618 top: auto;
1619 margin-top: 0;
1620 right: auto;
1621 min-width: 210px;
1622 background: var(--paper);
1623 box-shadow: 0 8px 24px #00000016;
1624}
1625.sidebar-empty {
1626 color: var(--muted);
1627 font-size: 0.8571rem;
1628 line-height: 1.7;
1629 padding: 4px 10px 4px 24px;
1630 margin: 0;
1631}
1632.sidebar-session-error {
1633 display: grid;
1634 gap: 12px;
1635 margin: 8px 2px 14px;
1636 padding: 12px;
1637 border: 1px solid var(--line);
1638 border-radius: 9px;
1639 background: var(--paper);
1640 font-size: 0.8571rem;
1641}
1642.sidebar-session-error-heading {
1643 display: flex;
1644 align-items: flex-start;
1645 gap: 7px;
1646 color: var(--strong);
1647 line-height: 1.5;
1648}
1649.sidebar-session-error-heading svg {
1650 flex: none;
1651 margin-top: 1px;
1652 color: var(--muted);
1653}
1654.sidebar-session-error-heading strong {
1655 font-weight: 550;
1656}
1657.sidebar-session-error p {
1658 margin: 7px 0 0;
1659 color: var(--muted);
1660 line-height: 1.65;
1661 overflow-wrap: anywhere;
1662 user-select: text;
1663}
1664.sidebar-session-error > button {
1665 width: 100%;
1666 min-width: 0;
1667 min-height: 36px;
1668 white-space: normal;
1669}
1670.sidebar-session-error > button[aria-busy="true"] {
1671 opacity: 1;
1672 color: var(--muted);
1673 cursor: progress;
1674}
1675.terminal-create-menu {
1676 position: static;
1677 width: min(100%, 184px);
1678 min-width: 0;
1679 margin: 3px 0;
1680 box-shadow: none;
1681}
1682.sidebar-project > .terminal-create-menu,
1683.chrome > .terminal-create-menu { margin-inline-start: auto; }
1684.welcome-shortcuts + .terminal-create-menu { margin-inline: auto; }
1685.terminal-create-menu button {
1686 gap: 10px;
1687 white-space: nowrap;
1688}
1689.terminal-create-menu button:hover,
1690.terminal-create-menu button:focus-visible {
1691 background: var(--hover);
1692}
1693.terminal-create-menu svg {
1694 color: var(--muted);
1695 flex: none;
1696}
1697.sidebar-bottom {
1698 padding: 8px 0 12px;
1699 border-top: 1px solid var(--line);
1700}
1701.sidebar-status {
1702 display: flex;
1703 width: 100%;
1704 background: none;
1705 border: 0;
1706 min-height: 32px;
1707 padding: 8px 10px;
1708 gap: 9px;
1709 font-size: 0.8571rem;
1710 color: var(--muted);
1711 justify-content: flex-start;
1712}
1713.sidebar-status > svg {
1714 margin-left: auto;
1715}
1716.status-dot {
1717 display: inline-block;
1718 width: 6px;
1719 height: 6px;
1720 border-radius: 50%;
1721 background: var(--inactive);
1722 flex: none;
1723}
1724.status-dot.open {
1725 background: var(--success);
1726}
1727.status-dot.checking {
1728 background: var(--warning);
1729 animation: pulse 1.4s infinite;
1730}
1731.content-heading {
1732 min-height: var(--workbench-header-height);
1733 border-bottom: 1px solid var(--line);
1734 display: flex;
1735 align-items: center;
1736 gap: 8px;
1737 padding: 0 12px;
1738}
1739.content-breadcrumb {
1740 display: flex;
1741 align-items: center;
1742 min-width: 0;
1743 gap: 6px;
1744 flex: 1;
1745 font-size: 0.9286rem;
1746}
1747.content-breadcrumb > button {
1748 justify-content: flex-start;
1749 background: none;
1750 border: 0;
1751 padding: 5px 0;
1752 gap: 8px;
1753 min-width: 0;
1754 font-size: 0.9286rem;
1755 font-weight: 400;
1756 max-width: 240px;
1757}
1758.content-breadcrumb span {
1759 white-space: nowrap;
1760 overflow: hidden;
1761 text-overflow: ellipsis;
1762}
1763.content-breadcrumb > svg {
1764 color: var(--muted);
1765}
1766.content-breadcrumb svg {
1767 flex: none;
1768}
1769.current-title {
1770 font-weight: 500;
1771}
1772.terminal-detail {
1773 font-size: 0.8571rem;
1774 opacity: 0.8;
1775}
1776.heading-actions {
1777 flex: none;
1778 display: flex;
1779 align-items: center;
1780 gap: 2px;
1781}
1782.quiet-button {
1783 min-height: 30px;
1784 padding: 5px 10px;
1785 font-size: 0.8571rem;
1786 background: var(--paper);
1787}
1788.navigation-row {
1789 height: var(--workbench-header-height);
1790 padding: 0 12px;
1791 background: var(--paper);
1792}
1793.status-bar {
1794 height: 32px;
1795 background: var(--paper);
1796 padding: 0 20px;
1797 color: var(--muted);
1798 gap: 12px;
1799}
1800.status-bar button {
1801 font-size: 0.7857rem;
1802}
1803.status-feedback {
1804 max-width: 35vw;
1805}
1806.welcome {
1807 position: absolute;
1808 inset: 0;
1809 display: grid;
1810 place-items: center;
1811 padding: 40px 24px;
1812 overflow: auto;
1813 background: var(--paper);
1814}
1815.welcome-content {
1816 width: min(100%, 500px);
1817 text-align: center;
1818 padding-bottom: 48px;
1819 animation: surface-enter 200ms ease-out;
1820}
1821.welcome-logo {
1822 display: block;
1823 width: 72px;
1824 height: 72px;
1825 object-fit: contain;
1826 border-radius: 16px;
1827 margin: 0 auto 24px;
1828}
1829.welcome h1 {
1830 font-size: 2.2857rem;
1831 font-weight: 550;
1832 letter-spacing: -1px;
1833 margin: 0;
1834 color: var(--strong);
1835 overflow-wrap: anywhere;
1836}
1837.welcome-subtitle {
1838 font-size: 1rem;
1839 line-height: 1.7;
1840 margin: 12px 0 32px;
1841 color: var(--muted);
1842}
1843.start-project-box {
1844 text-align: left;
1845 border: 1px solid var(--line);
1846 border-radius: 16px;
1847 background: var(--paper);
1848 box-shadow: 0 3px 10px #00000005;
1849 overflow: hidden;
1850}
1851.onboarding-steps {
1852 display: flex;
1853 justify-content: center;
1854 gap: 24px;
1855 padding: 0;
1856 margin: -8px 0 24px;
1857 list-style: none;
1858 color: var(--muted);
1859 font-size: 0.8571rem;
1860}
1861.onboarding-steps li {
1862 display: flex;
1863 align-items: center;
1864 gap: 7px;
1865}
1866.onboarding-steps li > span {
1867 display: grid;
1868 place-items: center;
1869 width: 22px;
1870 height: 22px;
1871 border: 1px solid var(--line);
1872 border-radius: 50%;
1873}
1874.onboarding-steps [aria-current="step"] {
1875 color: var(--strong);
1876 font-weight: 550;
1877}
1878.onboarding-steps [aria-current="step"] > span {
1879 background: var(--strong);
1880 color: var(--paper);
1881 border-color: var(--strong);
1882}
1883.start-project-footer {
1884 display: flex;
1885 align-items: center;
1886 justify-content: space-between;
1887 padding: 0 16px 16px 22px;
1888 gap: 12px;
1889}
1890.start-project-footer > span {
1891 display: flex;
1892 gap: 7px;
1893 align-items: center;
1894 color: var(--muted);
1895 font-size: 0.8571rem;
1896}
1897.start-project-footer .primary {
1898 border-radius: 8px;
1899 padding: 8px 12px;
1900 font-size: 0.9286rem;
1901}
1902.welcome-hint {
1903 font-size: 0.8571rem;
1904 color: var(--muted);
1905 line-height: 1.7;
1906 margin-top: 20px;
1907}
1908.host-git-preparation p {
1909 line-height: 1.75;
1910}
1911.host-git-preparation p + p {
1912 margin-top: 12px;
1913}
1914.host-git-preparation p code {
1915 white-space: nowrap;
1916}
1917.host-git-preparation pre {
1918 white-space: pre-wrap;
1919 overflow-wrap: anywhere;
1920 padding: 12px;
1921 border: 1px solid var(--line);
1922 border-radius: 8px;
1923 font-size: 0.8571rem;
1924}
1925.welcome-shortcuts {
1926 display: flex;
1927 justify-content: center;
1928 gap: 12px;
1929 margin-top: 20px;
1930}
1931.welcome-shortcuts button {
1932 background: transparent;
1933 border: 0;
1934 color: var(--muted);
1935 font-size: 0.9286rem;
1936}
1937.start-error {
1938 background: color-mix(in srgb, var(--danger) 3%, transparent);
1939 border-left: 2px solid var(--danger);
1940 text-align: left;
1941 padding: 12px 16px;
1942 margin-top: 20px;
1943 font-size: 0.9286rem;
1944 line-height: 1.7;
1945 overflow-wrap: anywhere;
1946}
1947.project-connection-errors {
1948 list-style: none;
1949 padding: 0;
1950 margin: 14px 0 0;
1951}
1952.project-connection-errors li + li {
1953 border-top: 1px solid var(--line);
1954 margin-top: 12px;
1955 padding-top: 12px;
1956}
1957.project-error-path {
1958 display: block;
1959 color: var(--muted);
1960 font-size: 0.7857rem;
1961}
1962.start-error strong {
1963 color: var(--danger);
1964 font-weight: 500;
1965}
1966.start-error p {
1967 margin: 6px 0;
1968}
1969.details-link {
1970 margin-top: 12px;
1971 font-size: 0.8571rem;
1972 color: var(--muted);
1973}
1974.project-form {
1975 display: flex;
1976 flex-direction: column;
1977 gap: 16px;
1978}
1979.project-form > label {
1980 font-size: 0.9286rem;
1981 font-weight: 500;
1982}
1983.project-form .folder-input input {
1984 border: 1px solid var(--line);
1985 background: var(--paper);
1986 border-radius: 7px;
1987 padding: 10px 12px;
1988 min-width: 0;
1989 width: 100%;
1990}
1991.folder-input {
1992 display: flex;
1993 gap: 8px;
1994}
1995.folder-input button {
1996 flex: none;
1997}
1998.project-form .field-help {
1999 color: var(--muted);
2000 margin: 0;
2001 font-size: 0.8571rem;
2002}
2003.project-picker-list {
2004 display: flex;
2005 flex-direction: column;
2006 gap: 6px;
2007 padding: 0;
2008 margin: 0;
2009 border: 0;
2010 max-height: 300px;
2011 overflow-y: auto;
2012}
2013.project-picker-list legend {
2014 font-size: 0.8571rem;
2015 color: var(--muted);
2016 margin-bottom: 8px;
2017}
2018.project-picker-item {
2019 display: flex;
2020 align-items: center;
2021 gap: 10px;
2022 padding: 12px;
2023 border: 1px solid var(--line);
2024 border-radius: 8px;
2025 cursor: pointer;
2026}
2027.project-picker-item.selected {
2028 border-color: var(--accent);
2029 background: var(--paper);
2030}
2031.project-picker-item input {
2032 flex: none;
2033 accent-color: var(--accent);
2034}
2035.project-picker-item svg {
2036 flex: none;
2037 color: var(--muted);
2038}
2039.project-picker-item span {
2040 display: flex;
2041 flex-direction: column;
2042 min-width: 0;
2043 gap: 3px;
2044}
2045.project-picker-item strong {
2046 font-size: 0.9286rem;
2047 font-weight: 500;
2048}
2049.project-picker-item small {
2050 color: var(--muted);
2051 font-size: 0.7857rem;
2052 overflow-wrap: anywhere;
2053}
2054.project-picker-add {
2055 align-self: flex-start;
2056}
2057.project-permissions {
2058 align-items: flex-start;
2059 gap: 12px;
2060}
2061.project-permissions label {
2062 display: flex;
2063 align-items: center;
2064 gap: 8px;
2065}
2066.settings-page {
2067 position: fixed;
2068 inset: 0;
2069 z-index: 20;
2070 display: flex;
2071 background: var(--paper);
2072 animation: surface-enter 160ms ease-out;
2073}
2074.settings-sidebar {
2075 width: var(--sidebar-width);
2076 flex: none;
2077 background: var(--chrome);
2078 border-right: 1px solid var(--line);
2079 display: flex;
2080 flex-direction: column;
2081 padding: 18px 12px;
2082}
2083.back-to-workspace {
2084 background: none;
2085 border: 0;
2086 justify-content: flex-start;
2087 font-size: 0.9286rem;
2088 gap: 10px;
2089 padding: 8px 10px;
2090 color: var(--muted);
2091}
2092.settings-sidebar h2 {
2093 font-size: 1.4286rem;
2094 font-weight: 600;
2095 margin: 28px 12px 20px;
2096 color: var(--strong);
2097}
2098.settings-sidebar nav {
2099 display: flex;
2100 flex-direction: column;
2101 gap: 4px;
2102}
2103.settings-sidebar nav button {
2104 background: transparent;
2105 border: 0;
2106 justify-content: flex-start;
2107 padding: 10px 12px;
2108 font-size: 0.9286rem;
2109 gap: 10px;
2110}
2111.settings-sidebar nav button.selected {
2112 background: var(--selected);
2113 color: var(--strong);
2114 font-weight: 500;
2115}
2116@keyframes surface-enter {
2117 from {
2118 transform: translateY(4px);
2119 }
2120 to {
2121 transform: translateY(0);
2122 }
2123}
2124.settings-main {
2125 flex: 1;
2126 min-width: 0;
2127 display: flex;
2128 flex-direction: column;
2129}
2130.settings-content {
2131 flex: 1;
2132 min-height: 0;
2133 padding: 32px max(40px, calc((100% - 720px) / 2));
2134 overflow: auto;
2135}
2136.settings-content .section-title {
2137 margin-bottom: 20px;
2138}
2139.settings-content .section-title h3 {
2140 font-size: 1.4286rem;
2141 font-weight: 600;
2142 color: var(--strong);
2143 margin-bottom: 10px;
2144}
2145.settings-content .section-title p {
2146 font-size: 0.9286rem;
2147 color: var(--muted);
2148}
2149.settings-content h4 {
2150 font-weight: 500;
2151 margin: 28px 0 14px;
2152}
2153.settings-content input:not([type="checkbox"]):not([type="radio"]),
2154.settings-content .inline-select-trigger {
2155 border-color: var(--line);
2156 background: var(--paper);
2157 height: 40px;
2158}
2159.settings-content input:disabled {
2160 background: var(--chrome) !important;
2161 color: var(--muted);
2162}
2163.settings-content .footnote,
2164.settings-content .field-help,
2165.settings-content .choice small,
2166.settings-content .toggle-row small,
2167.settings-content .probe-line span {
2168 color: var(--muted);
2169 line-height: 1.7;
2170}
2171.settings-content .choice,
2172.settings-content .toggle-row {
2173 background: var(--paper);
2174}
2175.settings-content .choice.checked {
2176 border-color: var(--focus);
2177 background: var(--chrome);
2178}
2179.settings-content .toggle-row {
2180 border: 0;
2181 border-bottom: 1px solid var(--line);
2182 border-radius: 0;
2183 padding: 0 0 20px;
2184}
2185.settings-content .shortcut-list > div {
2186 padding: 12px 0;
2187 font-size: 0.9286rem;
2188}
2189.setting-summary-row {
2190 display: flex;
2191 flex-direction: column;
2192 gap: 12px;
2193 border-bottom: 1px solid var(--line);
2194 padding-bottom: 24px;
2195 margin-bottom: 24px;
2196 font-size: 1rem;
2197}
2198.setting-summary-row strong {
2199 font-weight: 400;
2200 color: var(--muted);
2201 overflow-wrap: anywhere;
2202}
2203.settings-footer {
2204 border-top: 1px solid var(--line);
2205 padding: 16px max(40px, calc((100% - 720px) / 2));
2206 display: flex;
2207 align-items: center;
2208 gap: 12px;
2209 background: var(--paper);
2210 flex: none;
2211}
2212.settings-footer .save-note {
2213 color: var(--muted);
2214 max-width: none;
2215}
2216.settings-footer button {
2217 font-size: 0.9286rem;
2218}
2219.settings-footer > button:not(.primary) {
2220 background: transparent;
2221 border: 0;
2222}
2223@media (max-width: 1050px) {
2224 :root {
2225 --sidebar-width: 224px;
2226 }
2227 .content-breadcrumb > button {
2228 max-width: 180px;
2229 }
2230 .status-bar > .status-divider,
2231 .status-bar > button:nth-of-type(3) {
2232 display: none;
2233 }
2234 .settings-content {
2235 padding: 32px;
2236 }
2237 .settings-footer {
2238 padding: 16px 32px;
2239 }
2240}
2241@media (max-width: 720px) {
2242 :root {
2243 --sidebar-width: 192px;
2244 }
2245 .workspace-sidebar {
2246 padding: 0 8px;
2247 }
2248 .heading-actions {
2249 gap: 2px;
2250 }
2251 .content-breadcrumb:has(.current-title) > button {
2252 max-width: 32%;
2253 }
2254 .content-breadcrumb > button {
2255 max-width: 145px;
2256 }
2257 .status-bar > button:nth-of-type(2),
2258 .status-feedback,
2259 .status-feedback:has(.safety-checklist-link) {
2260 display: none;
2261 }
2262 .welcome {
2263 padding: 24px 20px;
2264 }
2265 .welcome h1 {
2266 font-size: 1.7143rem;
2267 }
2268 .welcome-content {
2269 padding-bottom: 0;
2270 }
2271 .settings-content {
2272 padding: 32px 24px;
2273 }
2274 .settings-footer {
2275 padding: 12px 20px;
2276 flex-wrap: wrap;
2277 }
2278 .settings-footer .save-note {
2279 max-width: 100%;
2280 flex-basis: 100%;
2281 }
2282 .field-row {
2283 flex-direction: column;
2284 gap: 0;
2285 }
2286 .field-row label {
2287 width: 100%;
2288 }
2289}
2290@media (max-width: 520px) {
2291 .workspace-sidebar {
2292 position: absolute;
2293 z-index: 12;
2294 inset: 0 auto 0 0;
2295 box-shadow: 4px 0 20px #00000010;
2296 }
2297 .content-heading {
2298 padding-left: 12px;
2299 }
2300 .settings-sidebar {
2301 width: 142px;
2302 padding: 14px 8px;
2303 }
2304 .settings-sidebar h2 {
2305 margin: 24px 8px 16px;
2306 }
2307 .settings-sidebar nav button {
2308 font-size: 0.8571rem;
2309 padding: 9px 6px;
2310 gap: 6px;
2311 }
2312 .settings-content {
2313 padding: 28px 16px;
2314 }
2315 .back-to-workspace {
2316 padding: 6px;
2317 font-size: 0.8571rem;
2318 }
2319 .settings-footer {
2320 padding: 12px;
2321 gap: 6px;
2322 }
2323 .settings-footer button {
2324 font-size: 0.8571rem;
2325 padding: 7px;
2326 }
2327 .modal-scrim {
2328 padding: 12px;
2329 }
2330 .modal-footer {
2331 padding: 12px;
2332 flex-wrap: wrap;
2333 }
2334 .modal-footer .save-note {
2335 flex-basis: 100%;
2336 max-width: 100%;
2337 }
2338 .folder-input {
2339 flex-wrap: wrap;
2340 }
2341 .probe-line,
2342 .toggle-row {
2343 flex-wrap: wrap;
2344 }
2345}
2346
2347/* Status uses a check shape and text as well as the existing success token. */
2348.environment-shield.healthy {
2349 color: var(--success);
2350}
2351.environment-summary {
2352 display: flex;
2353 align-items: center;
2354 gap: 14px;
2355 padding: 22px;
2356 text-align: left;
2357}
2358.environment-summary span {
2359 display: grid;
2360 gap: 5px;
2361}
2362.environment-summary strong {
2363 color: var(--strong);
2364 font-weight: 500;
2365}
2366.environment-summary small {
2367 color: var(--muted);
2368}
2369
2370/* Browser pages share a horizontal strip; project terminals stay in the sidebar. */
2371.sidebar-project + .sidebar-project {
2372 margin-top: 8px;
2373}
2374.project-heading.current-project .project-disclosure {
2375 color: var(--strong);
2376}
2377.browser-tab-bar {
2378 display: flex;
2379 align-items: center;
2380 gap: 4px;
2381 min-width: 0;
2382 padding: 4px 12px;
2383 height: var(--workbench-header-height);
2384 background: var(--chrome);
2385}
2386.browser-tabs {
2387 position: relative;
2388 display: flex;
2389 flex: 1;
2390 gap: 4px;
2391 min-width: 0;
2392 overflow: clip;
2393 align-self: stretch;
2394}
2395.browser-tab {
2396 display: flex;
2397 align-items: center;
2398 flex: none;
2399 min-width: 0;
2400 position: relative;
2401 border-radius: 8px;
2402 overflow: hidden;
2403 user-select: none;
2404 touch-action: none;
2405 transition: width 160ms ease, transform 160ms ease, background 120ms ease;
2406 color: var(--muted);
2407}
2408.browser-tab:hover {
2409 background: var(--hover);
2410}
2411.browser-tab.active {
2412 background: var(--paper);
2413 color: var(--strong);
2414}
2415.browser-tab > [role="tab"] {
2416 background: transparent;
2417 border: 0;
2418 border-radius: 8px;
2419 flex: 1;
2420 min-width: 0;
2421 height: 100%;
2422 justify-content: flex-start;
2423 gap: 8px;
2424 padding: 8px 12px;
2425 color: inherit;
2426 font-size: 0.9286rem;
2427}
2428.browser-tab > [role="tab"] > span {
2429 min-width: 0;
2430 white-space: nowrap;
2431 overflow: hidden;
2432 text-overflow: ellipsis;
2433}
2434.browser-tab .tab-close {
2435 width: 24px;
2436 height: 26px;
2437 min-height: 26px;
2438 margin-right: 4px;
2439 color: inherit;
2440}
2441.browser-tab-bar > .icon-button {
2442 flex-shrink: 0;
2443}
2444.browser-tabs.is-dragging .browser-tab { transition: transform 160ms ease; }
2445.browser-tabs .browser-tab.dragging {
2446 transition: none;
2447 z-index: 2;
2448 background: var(--selected);
2449 box-shadow: 0 2px 4px #0003;
2450 cursor: grabbing;
2451}
2452.browser-tab.dragging > [role="tab"] { cursor: grabbing; }
2453.browser-tab > [role="tab"]:active { transform: none; }
2454.browser-tab.compact:not(.active) .tab-close { display: none; }
2455.browser-tab.compact > [role="tab"] { padding-inline: 8px; gap: 4px; }
2456.browser-tab.tiny > [role="tab"] { padding-inline: 4px; }
2457.browser-tab.tiny:not(.active) > [role="tab"] > span,
2458.browser-tab.tiny .tab-pin { display: none; }
2459.browser-tab.tiny.active .tab-close { display: none; }
2460.browser-tab.sliver > [role="tab"] { padding-inline: 0; justify-content: center; }
2461.browser-tab.sliver > [role="tab"] > svg { display: none; }
2462.browser-tab.sliver > [role="tab"]::after { content: ""; height: 14px; width: 2px; background: var(--muted); border-radius: 2px; opacity: .5; }
2463.browser-new-tab { order: 1; }
2464.browser-all-tabs { position: relative; order: 2; }
2465.browser-tab-bar:has(.all-tabs-menu) {
2466 display: grid;
2467 grid-template-columns: minmax(0, 1fr) auto auto;
2468 grid-template-rows: calc(var(--workbench-header-height) - 8px) auto;
2469 height: auto;
2470}
2471.browser-tab-bar:has(.sidebar-expand):has(.all-tabs-menu) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
2472.browser-window-actions { display: flex; flex: none; align-items: center; gap: 4px; margin-left: auto; order: 2; }
2473.browser-tab-bar:has(.all-tabs-menu):has(.browser-window-actions) { grid-template-columns: minmax(0, 1fr) auto auto auto; }
2474.browser-tab-bar:has(.sidebar-expand):has(.all-tabs-menu):has(.browser-window-actions) { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
2475.browser-all-tabs:has(.all-tabs-menu) { display: contents; }
2476.browser-all-tabs > .icon-button { order: 2; }
2477.all-tabs-menu { position: static; order: 3; grid-column: 1 / -1; justify-self: end; width: min(360px, 100%); box-shadow: none; }
2478.all-tabs-menu input { width: 100%; margin-bottom: 8px; }
2479.all-tabs-results { max-height: min(440px, 65vh); overflow-y: auto; }
2480.all-tabs-results button { width: 100%; }
2481.all-tabs-results button > span:first-of-type { overflow: hidden; text-overflow: ellipsis; flex: 1; }
2482.current-tab-marker { font-size: 0.8571rem; color: var(--muted); }
2483@media (prefers-reduced-motion: reduce) { .browser-tab, .browser-tabs.is-dragging .browser-tab { transition: none; } }
2484[data-reduced-motion="true"] .browser-tab { transition: none; }
2485.favorites-actions { display: flex; align-items: center; gap: 4px; flex: none; }
2486.favorite-star.saved { color: var(--accent); }
2487.favorites-dismiss { position: fixed; inset: 0; z-index: 35; }
2488.favorites-panel {
2489 position: fixed; z-index: 36; right: 16px; top: 104px;
2490 width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 160px);
2491 display: flex; flex-direction: column; border: 1px solid var(--line);
2492 border-radius: 12px; background: var(--paper); box-shadow: 0 8px 32px #0002;
2493 padding: 16px; gap: 12px;
2494}
2495.favorites-panel header { display: flex; align-items: center; gap: 8px; }
2496.favorites-panel h2 { margin: 0; flex: 1; font-size: 1.1429rem; font-weight: 600; color: var(--strong); }
2497.favorites-search { display: flex; align-items: center; gap: 8px; background: var(--chrome); padding: 0 8px; border-radius: 6px; }
2498.favorites-search input { width: 100%; min-width: 0; background: transparent; border: none; }
2499.favorites-search input, .favorite-form input, .favorite-form .inline-select-trigger, .favorites-folder-select .inline-select-trigger, .all-tabs-menu input {
2500 min-height: 34px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px;
2501 background: var(--input); color: var(--ink); font: inherit;
2502}
2503.favorites-search input { border: none; background: transparent; padding-inline: 0; }
2504.favorite-form { overflow-y: auto; }
2505.favorites-folder-select { display: flex; gap: 4px; align-items: center; }
2506.favorites-folder-select .inline-select { flex: 1; min-width: 0; }
2507.favorites-list { overflow-y: auto; min-height: 96px; }
2508.favorite-row { display: flex; align-items: center; border-radius: 6px; }
2509.favorite-row:hover { background: var(--hover); }
2510.favorite-link { border: none; background: transparent; flex: 1; min-width: 0; padding: 8px; text-align: left; gap: 12px; }
2511.favorite-link > span { flex: 1; min-width: 0; display: grid; gap: 4px; }
2512.favorite-link strong, .favorite-link small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2513.favorite-link strong { font-weight: 500; color: var(--strong); }
2514.favorite-link small { font-size: 0.8571rem; color: var(--muted); }
2515.favorites-panel footer { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 0.8571rem; }
2516.favorites-empty { padding: 24px 8px; text-align: center; color: var(--muted); }
2517.favorites-empty p { color: var(--strong); margin: 12px 0 8px; }
2518.favorites-empty span { font-size: 0.9286rem; }
2519.favorite-form { display: grid; gap: 16px; padding: 20px 24px; }
2520.favorite-form label { display: grid; gap: 8px; }
2521.favorite-form input, .favorite-form .inline-select-trigger { width: 100%; min-width: 0; }
2522.favorites-error { color: var(--danger); white-space: normal; }
2523.favorites-error button { margin-top: 8px; }
2524.favorite-remove { margin-right: auto; }
2525.favorite-editor .modal-scrim { z-index: 40; }
2526
2527.brand-logo,
2528.sidebar-expand-logo {
2529 width: 22px;
2530 height: 22px;
2531 object-fit: contain;
2532 border-radius: 4px;
2533}
2534.sidebar-expand-icon {
2535 display: none;
2536}
2537.sidebar-expand:hover .sidebar-expand-logo,
2538.sidebar-expand:focus-visible .sidebar-expand-logo {
2539 display: none;
2540}
2541.sidebar-expand:hover .sidebar-expand-icon,
2542.sidebar-expand:focus-visible .sidebar-expand-icon {
2543 display: block;
2544}
2545
2546.audio-controls { position: relative; display: flex; align-items: center; flex-shrink: 0; }
2547.status-bar .audio-controls > button:last-child { border: 0; padding: 0; }
2548.audio-volume-panel {
2549 position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); z-index: 20;
2550 display: flex; justify-content: center; padding: 12px 10px;
2551 border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
2552 box-shadow: 0 6px 18px #0000001a;
2553}
2554.audio-volume-panel input[type="range"] {
2555 appearance: none; -webkit-appearance: none;
2556 writing-mode: vertical-lr; direction: rtl; width: 24px; height: 100px;
2557 margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer;
2558}
2559.audio-volume-panel input[type="range"]::-webkit-slider-runnable-track {
2560 width: 4px; height: 100%; border-radius: 4px;
2561 background: linear-gradient(to top, var(--accent) var(--volume-level), var(--line) var(--volume-level));
2562}
2563.audio-volume-panel input[type="range"]::-webkit-slider-thumb {
2564 appearance: none; -webkit-appearance: none;
2565 width: 22px; height: 10px; margin-left: -9px; border: 1px solid var(--line); border-radius: 6px;
2566 background: var(--paper); box-shadow: 0 1px 4px #00000030;
2567}
2568.audio-volume-panel input[type="range"]::-moz-range-track { width: 4px; height: 100%; border-radius: 4px; background: var(--line); }
2569.audio-volume-panel input[type="range"]::-moz-range-progress { width: 4px; border-radius: 4px; background: var(--accent); }
2570.audio-volume-panel input[type="range"]::-moz-range-thumb {
2571 width: 20px; height: 8px; border: 1px solid var(--line); border-radius: 6px;
2572 background: var(--paper); box-shadow: 0 1px 4px #00000030;
2573}
2574.audio-volume-panel input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 5px; }
2575
2576.browser-tab-bar:has(.all-tabs-menu) .browser-tabs { max-width: 100%; }
2577
2578.browser-tab, .sidebar-tab { touch-action: none; user-select: none; }
2579.pane-lane { position: absolute; inset: 0; display: flex; flex-direction: column; min-width: 0; }
2580.pane-lane[hidden] { display: none; }
2581.pane-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
2582.workspace-split > .split-left, .split-drop.split-left { right: calc(100% - var(--split-left)); }
2583.workspace-split > .split-right, .split-drop.split-right { left: var(--split-left); }
2584.workspace-split > .pane-lane.split-right, .browser-header-cell + .browser-header-cell { border-left: 1px solid var(--line); }
2585.browser-headers { display: flex; min-width: 0; background: var(--chrome); }
2586.browser-header-cell { flex: 1; min-width: 0; }
2587.browser-header-cell:first-child:has(+ .browser-header-cell) { flex: 0 0 var(--split-left); }
2588.browser-lane.vertical-browser {
2589 display: grid;
2590 grid-template-columns: min(200px, 32%) minmax(0, 1fr);
2591 grid-template-rows: auto minmax(0, 1fr);
2592}
2593.vertical-browser > .browser-tab-rail { grid-column: 1; grid-row: 1 / -1; }
2594.vertical-browser > .browser-headers { grid-column: 2; grid-row: 1; }
2595.vertical-browser > .pane-body { grid-column: 2; grid-row: 2; }
2596.browser-tab-rail {
2597 display: flex;
2598 flex-direction: column;
2599 min-width: 0;
2600 min-height: 0;
2601 border-right: 1px solid var(--line);
2602 background: var(--chrome);
2603}
2604.browser-tab-rail-heading {
2605 display: flex;
2606 align-items: center;
2607 gap: 4px;
2608 min-height: var(--workbench-header-height);
2609 padding: 4px 8px;
2610}
2611.browser-tab-rail-heading strong { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.9286rem; font-weight: 500; color: var(--muted); }
2612.browser-tabs.browser-tabs-vertical {
2613 flex-direction: column;
2614 overflow: hidden auto;
2615 min-height: 0;
2616 padding: 4px;
2617}
2618.browser-tabs-vertical .browser-tab { min-height: 34px; }
2619.browser-tabs-vertical .browser-tab > [role="tab"] { padding: 8px; }
2620.browser-tabs-vertical .browser-tab.active { box-shadow: inset 2px 0 var(--focus); }
2621.vertical-browser .browser-chrome > .navigation-row { flex-wrap: wrap; height: auto; min-height: var(--workbench-header-height); }
2622.workspace-split .browser-header-cell[data-focused="true"] .browser-tab-bar,
2623.workspace-split .terminal-lane[data-focused="true"] .content-heading { box-shadow: inset 0 -2px var(--focus); }
2624.browser-more-trigger {
2625 flex: none;
2626 margin-left: 2px;
2627}
2628.browser-chrome > .navigation-row { position: relative; }
2629.browser-more-menu {
2630 position: absolute;
2631 top: 100%;
2632 right: 12px;
2633 z-index: 16;
2634 display: grid;
2635 width: min(240px, calc(100% - 24px));
2636 max-height: 70vh;
2637 overflow-y: auto;
2638 box-shadow: 0 12px 32px #00000024;
2639 padding: 4px;
2640 border: 1px solid var(--line);
2641 border-radius: 8px;
2642 background: var(--paper);
2643}
2644.browser-more-menu[hidden] { display: none; }
2645.browser-more-actions,
2646.browser-more-menu .favorites-actions {
2647 display: grid;
2648 gap: 2px;
2649}
2650.browser-more-menu .browser-menu-item {
2651 display: flex;
2652 align-items: center;
2653 justify-content: flex-start;
2654 width: 100%;
2655 min-height: 36px;
2656 gap: 10px;
2657 padding: 8px 12px;
2658 border: 0;
2659 border-radius: 4px;
2660 background: transparent;
2661 color: var(--strong);
2662 font-size: 0.9286rem;
2663 text-align: left;
2664}
2665.browser-more-menu .browser-menu-item svg {
2666 flex: none;
2667 color: var(--muted);
2668}
2669.browser-more-menu .browser-menu-item:hover,
2670.browser-more-menu .browser-menu-item:focus-visible { background: var(--hover); }
2671.browser-more-trigger[aria-expanded="true"] { background: var(--selected); }
2672.browser-private-badge { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--strong); font-size: 0.8rem; }
2673.browser-private-note { margin: 0; padding: 3px 12px 6px; color: var(--muted); font-size: 0.8rem; }
2674.browser-cookies { margin: 0 12px 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 0.86rem; }
2675.cookie-heading, .cookie-toolbar, .cookie-pagination, .cookie-record-heading, .cookie-confirm { display: flex; align-items: center; gap: 8px; }
2676.cookie-heading { margin-bottom: 8px; }
2677.cookie-heading > span, .cookie-pagination > span { color: var(--muted); margin-right: auto; }
2678.cookie-toolbar { flex-wrap: wrap; align-items: flex-start; }
2679.cookie-toolbar > .inline-select { min-width: 130px; }
2680.cookie-toolbar > input { flex: 1; min-width: 140px; width: 0; }
2681.browser-cookies button { font-size: inherit; }
2682.cookie-toolbar > button, .cookie-confirm > button, .cookie-pagination > button, .cookie-record-heading > button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; flex: none; }
2683.cookie-list { max-height: min(25vh, 220px); overflow: auto; margin-top: 8px; }
2684.cookie-list > p { color: var(--muted); margin: 8px 0; }
2685.cookie-record { padding: 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
2686.cookie-record-heading > strong { margin-right: auto; min-width: 0; }
2687.cookie-metadata { color: var(--muted); line-height: 1.6; }
2688.cookie-value { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 0; padding: 8px; background: var(--hover); max-height: 100px; overflow: auto; user-select: text; }
2689.cookie-pagination { margin-top: 8px; flex-wrap: wrap; }
2690.cookie-confirm { margin-top: 8px; padding: 8px; background: var(--hover); flex-wrap: wrap; }
2691.cookie-confirm > span { flex: 1 1 240px; }
2692.cookie-error { color: var(--danger, #b42318); margin: 8px 0; }
2693.browser-more-menu .vault-browser {
2694 border-top: 1px solid var(--line);
2695 padding: 2px 0 0;
2696 margin-top: 2px;
2697}
2698.browser-more-menu .vault-browser-heading {
2699 display: grid;
2700 gap: 4px;
2701}
2702.browser-more-menu .vault-picker,
2703.browser-more-menu .vault-save,
2704.browser-more-menu .vault-browser-heading > span { padding: 8px 12px; }
2705.browser-more-menu .vault-account-choice { flex-wrap: wrap; }
2706.split-chrome .navigation-row { flex-wrap: wrap; height: auto; min-height: var(--workbench-header-height); gap: 3px; padding: 3px 6px; }
2707.split-chrome .browser-tab-bar, .workspace-split .content-heading { padding-inline: 6px; gap: 2px; }
2708.workspace-split .content-breadcrumb > button { max-width: 45%; }
2709.expand-pane { margin-left: auto; }
2710.split-drop {
2711 position: absolute; inset: 0; z-index: 10; display: grid; place-items: center;
2712 background: color-mix(in srgb, var(--accent) 15%, transparent);
2713 border: 2px solid var(--accent); color: var(--accent); pointer-events: none;
2714}
2715
2716.environment-storage .setting-summary-row strong,
2717.environment-storage .field-help code { overflow-wrap: anywhere; }
2718.environment-storage .storage-actions { display: flex; flex-wrap: wrap; gap: 8px; }
2719.environment-storage .storage-actions button:disabled { opacity: 1; color: var(--muted); background: var(--chrome); }
2720.environment-storage .storage-repair-help { margin: 8px 0 0; }
2721.environment-storage > [role="status"] { margin: 12px 0 20px; overflow-wrap: anywhere; }
2722.start-project-box .storage-entry { justify-self: start; margin: 0 16px 8px; }