Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
702 lines (666 loc) · 42.8 KB
/
Copy pathstyles.css
File metadata and controls
702 lines (666 loc) · 42.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
:root{
color-scheme:light dark;--bg:#f5f7fb;--surface:#fff;--surface2:#eef3fb;--text:#152033;--muted:#667085;--border:#d7deea;--primary:#1d4ed8;--primary2:#dbeafe;--danger:#b42318;--shadow:0 8px 28px rgba(30,41,59,.12);--top:64px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
@media(prefers-color-scheme:dark){:root{--bg:#0f172a;--surface:#111c30;--surface2:#17243a;--text:#e7edf7;--muted:#9aa8bc;--border:#2a3a53;--primary:#60a5fa;--primary2:#172b4a;--danger:#ff8a80;--shadow:0 8px 28px rgba(0,0,0,.32)}}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--text)}
button,input,textarea{font:inherit}button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:9px;padding:.5rem .68rem;cursor:pointer}button:hover:not(:disabled){border-color:var(--primary)}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.danger{color:var(--danger)}.hidden{display:none!important}.mobile-only{display:none}.desktop-only{display:inline-flex}
.topbar{height:var(--top);display:grid;grid-template-columns:minmax(250px,1fr) auto minmax(130px,.5fr);align-items:center;gap:.8rem;padding:.5rem .75rem;background:var(--surface);border-bottom:1px solid var(--border);position:relative;z-index:30}
.brand{display:flex;gap:.7rem;align-items:center;min-width:0}.brand-mark{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#1d4ed8,#7c3aed);color:#fff;font-weight:800;font-size:1.2rem}.brand strong,.brand small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.brand small{color:var(--muted);margin-top:.1rem}
.toolbar{display:flex;align-items:center;gap:.3rem;overflow:visible;min-width:0}.toolbar button{white-space:nowrap}.sep{display:inline-block;width:1px;height:24px;background:var(--border);margin:0 .15rem}.status{justify-self:end;display:flex;gap:.5rem;align-items:center;color:var(--muted);font-size:.82rem}.badge{background:var(--surface2);padding:.2rem .42rem;border-radius:999px}
.shell{height:calc(100vh - var(--top));min-height:0;overflow:hidden;display:grid;grid-template-columns:270px minmax(0,1fr) 320px;transition:grid-template-columns .18s ease}.shell.left-collapsed{grid-template-columns:0 minmax(0,1fr) 320px}.shell.right-collapsed{grid-template-columns:270px minmax(0,1fr) 0}.shell.left-collapsed.right-collapsed{grid-template-columns:0 minmax(0,1fr) 0}.shell.left-collapsed>.resources,.shell.right-collapsed>.inspector{visibility:hidden;pointer-events:none}.panel{background:var(--surface);min-width:0;min-height:0;height:100%;overflow:hidden;display:flex;flex-direction:column;z-index:15}.resources{border-right:1px solid var(--border)}.inspector{border-left:1px solid var(--border)}.panel-head{min-height:56px;flex:0 0 56px;padding:.7rem .8rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}.panel-head strong,.panel-head small{display:block}.panel-head small{color:var(--muted);margin-top:.1rem}.panel-body{padding:.75rem;min-height:0;overflow:hidden;flex:1 1 auto;display:flex;flex-direction:column}.close{width:34px;height:34px;padding:0;font-size:1.2rem}
.search{display:grid;grid-template-columns:22px 1fr;gap:.3rem;align-items:center;padding:.45rem .55rem;border:1px solid var(--border);border-radius:9px;background:var(--bg)}.search input{border:0;outline:0;background:transparent;color:var(--text);min-width:0}.legend{display:flex;flex-wrap:wrap;gap:.35rem .55rem;font-size:.72rem;color:var(--muted);padding:.65rem .1rem}
.tree-row{display:flex;align-items:center;gap:.35rem;min-height:32px;padding:.25rem .35rem;border-radius:7px;cursor:pointer;font-size:.88rem}.tree-row:hover{background:var(--surface2)}.tree-row.selected{background:var(--primary2);outline:1px solid color-mix(in srgb,var(--primary) 25%,transparent)}.tree-row.missing{opacity:.55;text-decoration:line-through}.tree-indent{display:inline-block;width:calc(var(--depth)*15px);flex:0 0 auto}.tree-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tree-section{margin:.7rem 0 .25rem;color:var(--muted);font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.stage{position:relative;overflow:hidden;min-width:0;background-color:var(--bg);background-image:radial-gradient(circle,color-mix(in srgb,var(--muted) 24%,transparent) 1px,transparent 1px);background-size:22px 22px}.viewport{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:grab}.viewport.panning{cursor:grabbing}.viewport.pinching{cursor:grabbing}.world{position:absolute;width:8000px;height:8000px;transform-origin:0 0}.world svg,#visualObjects,#nodes{position:absolute;inset:0;width:8000px;height:8000px}.world svg{overflow:visible;pointer-events:none}
.edge{fill:none;stroke:color-mix(in srgb,var(--muted) 55%,transparent);stroke-width:2.2}.edge.manual{stroke:color-mix(in srgb,var(--primary) 70%,transparent);stroke-dasharray:7 5}.edge.dim{opacity:.12}
.node{position:absolute;width:240px;min-height:74px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 3px 12px rgba(30,41,59,.09);user-select:none;touch-action:none;overflow:hidden}.node:hover{border-color:color-mix(in srgb,var(--primary) 55%,var(--border))}.node.selected{outline:3px solid color-mix(in srgb,var(--primary) 35%,transparent);border-color:var(--primary)}.node.dim{opacity:.18}.node.missing{border-style:dashed;opacity:.65}.node.folder{border-left:5px solid #f59e0b}.node.file{border-left:5px solid #64748b}.node.virtual{border-left:5px solid #8b5cf6}.node.url{border-left:5px solid #0ea5e9}.node.root{border-left:5px solid #16a34a}
.node-main{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:.35rem;padding:.7rem .65rem}.node-icon{font-size:1.35rem;text-align:center}.node-title{font-weight:650;line-height:1.2;overflow-wrap:anywhere}.node-meta{color:var(--muted);font-size:.72rem;margin-top:.22rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.collapse{border:0;background:transparent;padding:.15rem;min-width:26px;height:28px;display:inline-flex;align-items:center;justify-content:center;gap:.18rem}.collapse-arrow{display:inline-grid;place-items:center;width:18px;height:18px}.collapse-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 .25rem;border-radius:999px;background:var(--primary2);color:var(--primary);font-size:.66rem;font-weight:800;font-variant-numeric:tabular-nums}.node-badge{font-size:.67rem;color:var(--muted);padding:.12rem .33rem;border-radius:999px;background:var(--surface2)}
.stage-tools{position:absolute;left:50%;transform:translateX(-50%);top:.65rem;z-index:10;display:flex;gap:.3rem;align-items:center;padding:.35rem;background:color-mix(in srgb,var(--surface) 93%,transparent);backdrop-filter:blur(8px);border:1px solid var(--border);border-radius:11px;box-shadow:var(--shadow)}.stage-tools button{width:34px;height:32px;padding:0}#zoomValue{min-width:48px;text-align:center;color:var(--muted);font-size:.8rem}#hint{font-size:.77rem;color:var(--muted);padding:0 .35rem;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.welcome{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;text-align:center;padding:2rem;max-width:720px;margin:auto}.welcome-icon{font-size:4rem}.welcome h1{margin:.5rem 0;font-size:clamp(1.5rem,3vw,2.35rem)}.welcome p{color:var(--muted);line-height:1.55;max-width:650px}.welcome small{margin-top:1rem;color:var(--muted)}
.compat{position:absolute;left:1rem;right:1rem;bottom:1rem;z-index:8;background:#fff4cc;color:#5d4300;border:1px solid #e6c95c;border-radius:9px;padding:.6rem .8rem;font-size:.8rem;box-shadow:var(--shadow)}
.no-selection{min-height:100%;display:grid;place-content:center;text-align:center;color:var(--muted);padding:1.5rem;font-size:2rem}.no-selection p{font-size:.9rem}.form{padding:.8rem;overflow:visible;display:flex;flex-direction:column;gap:.8rem}.form label{display:flex;flex-direction:column;gap:.3rem;font-size:.78rem;color:var(--muted);font-weight:650}.form input,.form textarea{width:100%;border:1px solid var(--border);border-radius:8px;padding:.55rem .6rem;background:var(--bg);color:var(--text)}.form textarea{resize:vertical;min-height:100px}.form code{background:var(--surface2);color:var(--text);border-radius:7px;padding:.45rem;overflow-wrap:anywhere;white-space:normal;font-weight:400}.form-actions{display:grid;gap:.45rem}
dialog{width:min(920px,94vw);height:min(780px,90vh);border:1px solid var(--border);border-radius:13px;padding:0;background:var(--surface);color:var(--text);box-shadow:0 24px 70px rgba(0,0,0,.35)}dialog::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(2px)}dialog header{height:58px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:.55rem .75rem}dialog header strong,dialog header small{display:block}dialog header small{color:var(--muted)}dialog header button{width:34px;height:34px;padding:0;font-size:1.2rem}#previewBody{height:calc(100% - 58px);overflow:auto;padding:1rem}#previewBody img,#previewBody video{display:block;max-width:100%;max-height:100%;margin:auto}#previewBody iframe{width:100%;height:100%;border:0;background:#fff}#previewBody audio{width:100%;margin-top:2rem}#previewBody pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem;line-height:1.5}.preview-fallback{display:grid;place-items:center;min-height:300px;text-align:center;gap:1rem}
@media(max-width:1220px){.topbar{grid-template-columns:minmax(220px,1fr) auto}.status{display:none}.shell{grid-template-columns:240px minmax(0,1fr) 285px}.toolbar button{padding-inline:.5rem}}
@media(max-width:900px){:root{--top:112px}.mobile-only{display:inline-flex}.topbar{grid-template-columns:1fr;align-content:center;gap:.35rem;padding:.45rem .6rem}.brand-mark{width:32px;height:32px}.brand strong{font-size:.92rem}.brand small{font-size:.75rem}.toolbar{padding-bottom:.15rem}.toolbar button{font-size:.78rem;padding:.42rem .5rem}.shell{display:block}.stage{position:fixed;inset:var(--top) 0 0 0}.panel{position:fixed;top:var(--top);bottom:0;width:min(88vw,340px);z-index:40;box-shadow:var(--shadow);transition:transform .18s ease}.resources{left:0;transform:translateX(-105%)}.inspector{right:0;transform:translateX(105%)}.panel.open{transform:translateX(0)}.stage-tools{left:.55rem;right:.55rem;transform:none;justify-content:center}#hint{display:none}}
/* Resource viewer V0.2 */
.viewer-toolbar{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;padding:.5rem .6rem;margin:-.2rem 0 .8rem;border:1px solid var(--border);border-radius:9px;background:var(--surface2)}
.viewer-toolbar button.active{border-color:var(--primary);background:var(--primary2)}
.viewer-toolbar select,.viewer-search{min-height:36px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:.4rem .55rem}
.viewer-search{flex:1 1 240px;min-width:160px}.viewer-count{color:var(--muted);font-size:.78rem}.viewer-download{display:inline-flex;align-items:center;min-height:36px;padding:.4rem .65rem;border:1px solid var(--border);border-radius:8px;color:var(--text);text-decoration:none;background:var(--surface)}
.viewer-download:hover{border-color:var(--primary)}.viewer-loading{display:grid;place-items:center;min-height:260px;color:var(--muted)}
.viewer-document{min-width:0}.viewer-markdown,.viewer-docx{max-width:850px;margin:0 auto;line-height:1.6}.viewer-markdown h1,.viewer-docx h1{font-size:1.75rem}.viewer-markdown h2,.viewer-docx h2{font-size:1.4rem}.viewer-markdown h3,.viewer-docx h3{font-size:1.16rem}.viewer-markdown code,.viewer-docx code{background:var(--surface2);padding:.08rem .28rem;border-radius:4px}.viewer-markdown pre,.viewer-docx pre{background:var(--surface2);padding:.8rem;border-radius:9px;overflow:auto}.viewer-markdown blockquote{margin-left:0;border-left:4px solid var(--border);padding:.2rem 1rem;color:var(--muted)}
.viewer-markdown table,.viewer-docx table{border-collapse:collapse;max-width:100%;display:block;overflow:auto}.viewer-markdown th,.viewer-markdown td,.viewer-docx th,.viewer-docx td{border:1px solid var(--border);padding:.4rem .55rem}
.viewer-text-wrap{min-width:0}.viewer-source{margin:0;border:1px solid var(--border);border-radius:9px;background:color-mix(in srgb,var(--surface2) 65%,transparent);overflow:auto!important;white-space:pre!important}.source-line{display:grid;grid-template-columns:52px minmax(0,1fr);min-height:1.5em}.line-no{padding:0 .7rem;text-align:right;color:var(--muted);border-right:1px solid var(--border);user-select:none}.source-line code{padding-left:.7rem;white-space:pre}.source-line mark{background:#fde68a;color:#111827}
.json-tree{font-size:.88rem}.json-node{margin:.2rem 0 .2rem .7rem}.json-node>summary{cursor:pointer;font-weight:650}.json-leaf{margin:.18rem 0 .18rem 1.2rem}.json-leaf>span{color:var(--muted)}
.viewer-table-shell{max-width:100%;overflow:auto}.viewer-table{border-collapse:collapse;min-width:max-content;font-size:.84rem}.viewer-table th,.viewer-table td{border:1px solid var(--border);padding:.38rem .5rem;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer-table th{position:sticky;top:0;background:var(--surface2);z-index:1}.viewer-note{color:var(--muted);font-size:.8rem}
.image-viewer{min-height:100%}.image-viewer>img{transform-origin:top center;transition:transform .08s linear}.archive-list{display:grid;gap:.18rem}.archive-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;padding:.35rem .5rem;border-bottom:1px solid var(--border);font-size:.84rem}.archive-row span:first-child{overflow-wrap:anywhere}.archive-row span:last-child{color:var(--muted)}
.viewer-warnings{margin-top:1rem;border:1px solid var(--border);border-radius:8px;padding:.5rem .65rem;color:var(--muted)}
.gallery-head{color:var(--muted);font-size:.86rem}.resource-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.7rem}.resource-card{min-height:120px;padding:.8rem;display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;text-align:left;background:var(--surface2)}.resource-card-icon{font-size:2rem}.resource-card strong{overflow-wrap:anywhere}.resource-card small{color:var(--muted);overflow-wrap:anywhere}
@media(max-width:700px){dialog{width:98vw;height:92vh}.resource-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.source-line{grid-template-columns:40px minmax(0,1fr)}}
/* File explorer V0.2.1 */
.tree-row{position:relative}.tree-toggle,.tree-toggle-placeholder{width:24px;height:24px;flex:0 0 24px;padding:0;border:0;background:transparent;display:grid;place-items:center;color:var(--muted)}.tree-toggle:hover{color:var(--primary);background:var(--surface2)}.tree-row[draggable="true"]{cursor:grab}.tree-row.dragging{opacity:.45}.tree-row.drop-target{outline:2px solid var(--primary);background:var(--primary2)}.tree-row.drop-target .tree-label{font-weight:700}
/* Mindmap export V0.2.2 */
.small-dialog{width:min(560px,94vw);height:auto;max-height:90vh}.export-panel{padding:1rem;display:grid;gap:1rem}.export-panel>label{display:grid;gap:.35rem;font-size:.85rem;font-weight:650;color:var(--muted)}.export-panel select{min-height:42px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:.45rem .55rem}.export-panel .check-row{display:flex;align-items:center;gap:.55rem;color:var(--text);font-weight:500}.export-panel .check-row input{width:18px;height:18px}.export-panel p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}.export-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.export-actions button{min-height:44px}@media(max-width:600px){.export-actions{grid-template-columns:1fr}}
/* Recent workspaces V0.2.3 */
.recent-panel{padding:1rem;display:grid;gap:.8rem}.recent-help,.recent-empty{margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}.recent-list{display:grid;gap:.55rem}.recent-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.7rem;border:1px solid var(--border);border-radius:9px;background:var(--surface2)}.recent-item strong,.recent-item small{display:block}.recent-item small{margin-top:.2rem;color:var(--muted);font-size:.75rem}.recent-actions{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:flex-end}.recent-actions button{min-height:38px}@media(max-width:520px){.recent-item{grid-template-columns:1fr}.recent-actions{justify-content:flex-start}}
#tree{min-height:0;overflow:visible;padding-right:.2rem}
.resources .panel-body{height:auto;flex:1 1 auto}
/* Advanced mindmap V0.3.0 */
#frames{position:absolute;inset:0;width:8000px;height:8000px;pointer-events:none;z-index:0}
.world svg{z-index:1}#visualObjects{z-index:2;pointer-events:none}#nodes{z-index:3}
.branch-frame{position:absolute;border-width:2px;border-radius:18px;pointer-events:none}
.branch-frame-title{position:absolute;left:14px;top:-24px;max-width:calc(100% - 28px);padding:.15rem .45rem;border-radius:999px;background:var(--surface);font-size:.72rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 3px rgba(15,23,42,.08)}
.node.locked{cursor:not-allowed}.node.locked::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--muted) 20%,transparent)}
.node-text{min-width:0}.node-thumb{width:42px;height:42px;object-fit:cover;border-radius:8px;display:block;border:1px solid color-mix(in srgb,var(--border) 85%,transparent)}
.inspector-section{border:1px solid var(--border);border-radius:10px;background:color-mix(in srgb,var(--surface2) 45%,transparent);overflow:hidden}
.inspector-section>summary{cursor:pointer;padding:.65rem .7rem;font-weight:800;color:var(--text);user-select:none}
.inspector-section[open]>summary{border-bottom:1px solid var(--border)}
.style-grid,.frame-controls,.details-grid{padding:.7rem;display:grid;gap:.65rem}
.style-grid>label,.frame-controls label,.details-grid>label{display:flex;flex-direction:column;gap:.3rem;font-size:.75rem;color:var(--muted);font-weight:650}
.style-grid input[type="text"],.style-grid select,.frame-controls input[type="text"],.frame-controls select{width:100%;min-height:38px;border:1px solid var(--border);border-radius:8px;padding:.42rem .5rem;background:var(--bg);color:var(--text)}
.style-grid input[type="color"],.frame-controls input[type="color"]{width:100%;height:38px;padding:.15rem;border:1px solid var(--border);border-radius:8px;background:var(--bg)}
.style-grid .check-row{flex-direction:row;align-items:center;gap:.5rem;color:var(--text);font-weight:500}.style-grid .check-row input{width:18px;height:18px}
.range-row{display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:.5rem;align-items:center}.range-row input{width:100%}.range-row output{text-align:right;color:var(--text);font-variant-numeric:tabular-nums;font-size:.76rem}
.mini-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;padding:0 .7rem .7rem}.mini-actions button{padding:.45rem .35rem;font-size:.72rem}
.frame-controls{gap:.55rem}.frame-controls>button{width:100%}
@media(max-width:1220px){.mini-actions{grid-template-columns:1fr}}
/* Sidebar scrolling and inspector grouping V0.3.1 */
.panel-scroll{
flex:1 1 0%;
height:0;
min-height:0;
max-height:100%;
overflow-y:auto;
overflow-x:hidden;
overscroll-behavior:contain;
touch-action:pan-y;
scrollbar-gutter:stable;
scrollbar-width:auto;
scrollbar-color:color-mix(in srgb,var(--muted) 62%,transparent) color-mix(in srgb,var(--surface2) 78%,transparent);
}
.panel-scroll::-webkit-scrollbar{width:12px}
.panel-scroll::-webkit-scrollbar-thumb{
background:color-mix(in srgb,var(--muted) 62%,transparent);
border-radius:999px;
border:3px solid transparent;
background-clip:padding-box;
}
.panel-scroll::-webkit-scrollbar-track{
background:color-mix(in srgb,var(--surface2) 78%,transparent);
border-radius:999px;
}
.resources-scroll{padding:.75rem;display:block;height:0;min-height:0;flex:1 1 0%}
.inspector-scroll{padding:0;height:0;min-height:0;flex:1 1 0%;overflow-y:auto}
.details-grid textarea{min-height:100px}
/* Workspace builder V0.3.2 */
.node.drop-target{
outline:4px solid color-mix(in srgb,var(--primary) 45%,transparent);
box-shadow:0 0 0 7px color-mix(in srgb,var(--primary) 12%,transparent),var(--shadow);
}
.workspace-export-box{
display:grid;
gap:.55rem;
padding:.8rem;
border:1px solid var(--border);
border-radius:10px;
background:color-mix(in srgb,var(--surface2) 45%,transparent);
}
.workspace-export-box>strong{font-size:.9rem}
.workspace-export-box p{margin:0}
.workspace-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.workspace-actions{grid-template-columns:1fr}}
/* Compact command menus and mindmap palette V0.3.3 */
.toolbar-menu{position:relative}
.toolbar-menu>summary{
list-style:none;
user-select:none;
white-space:nowrap;
cursor:pointer;
border:1px solid var(--border);
background:var(--surface);
color:var(--text);
border-radius:9px;
padding:.5rem .68rem;
line-height:1.2;
}
.toolbar-menu>summary::-webkit-details-marker{display:none}
.toolbar-menu>summary:hover,.toolbar-menu[open]>summary{border-color:var(--primary);background:var(--surface2)}
@keyframes mindspark-menu-reveal{
0%,100%{box-shadow:none;background:var(--surface)}
28%{box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 18%,transparent),0 0 22px color-mix(in srgb,#8b5cf6 24%,transparent);background:var(--primary2)}
}
.toolbar-menu.newly-available>summary{animation:mindspark-menu-reveal 1.6s ease-out}
@media(prefers-reduced-motion:reduce){.toolbar-menu.newly-available>summary{animation:none;outline:2px solid color-mix(in srgb,var(--primary) 45%,transparent);outline-offset:2px}}
.toolbar-menu-panel{
position:absolute;
top:calc(100% + .4rem);
left:0;
z-index:120;
min-width:230px;
display:grid;
gap:.18rem;
padding:.4rem;
background:var(--surface);
border:1px solid var(--border);
border-radius:11px;
box-shadow:var(--shadow);
}
.toolbar-menu:last-of-type .toolbar-menu-panel{left:auto;right:0}
.toolbar-menu-panel button{
width:100%;
border:0;
background:transparent;
text-align:left;
border-radius:7px;
padding:.55rem .62rem;
}
.toolbar-menu-panel button:hover:not(:disabled){background:var(--surface2)}
.menu-divider{height:1px;background:var(--border);margin:.25rem .2rem}
.view-switcher{display:grid;gap:.3rem;padding:.45rem .62rem .55rem}.view-switcher label{font-size:.7rem;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.view-switcher select{width:100%;min-height:38px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:.42rem .5rem}
.map-palette{
position:absolute;
left:.7rem;
top:4.2rem;
z-index:24;
display:grid;
gap:.25rem;
padding:.35rem;
background:color-mix(in srgb,var(--surface) 94%,transparent);
backdrop-filter:blur(8px);
border:1px solid var(--border);
border-radius:12px;
box-shadow:var(--shadow);
cursor:default;
}
.map-palette button{
width:38px;
height:38px;
padding:0;
display:grid;
place-items:center;
font-size:1rem;
border-radius:8px;
}
.map-palette button.active{
color:var(--primary);
border-color:var(--primary);
background:var(--primary2);
}
.palette-divider{height:1px;background:var(--border);margin:.12rem .22rem}
.context-actions{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:.4rem;
padding:.7rem;
}
.context-actions button{min-height:40px;padding:.45rem .5rem;font-size:.76rem}
@media(max-width:1100px){
.toolbar-menu>summary,.toolbar>button{padding-inline:.48rem;font-size:.8rem}
}
@media(max-width:900px){
.toolbar{flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;padding-bottom:.12rem}
.toolbar-menu-panel{position:fixed;top:var(--top);left:.6rem!important;right:.6rem!important;min-width:0;max-height:55vh;overflow:auto}
.map-palette{left:.5rem;top:4.1rem}
}
/* Icons + robust sidebar scrolling V0.3.4 */
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.ui-icon{
width:1.05rem;
height:1.05rem;
flex:0 0 1.05rem;
fill:none;
stroke:currentColor;
stroke-width:1.8;
stroke-linecap:round;
stroke-linejoin:round;
}
button>.ui-icon,.toolbar-menu>summary>.ui-icon,.inspector-section>summary>.ui-icon{vertical-align:-.16em}
button:has(>.ui-icon){display:inline-flex;align-items:center;justify-content:center;gap:.42rem}
.toolbar-menu>summary{
display:flex;
align-items:center;
gap:.4rem;
}
.toolbar-menu>summary .chevron{margin-left:.05rem;font-size:.85rem;color:var(--muted)}
.toolbar-menu-panel button:has(>.ui-icon){justify-content:flex-start}
.map-palette .ui-icon{width:1.15rem;height:1.15rem;flex-basis:1.15rem}
.map-palette .button-label{display:none}
.inspector-section>summary{display:flex;align-items:center;gap:.45rem}
.context-actions button:has(>.ui-icon){justify-content:flex-start;text-align:left}
.context-actions .ui-icon{width:1rem;height:1rem}
.inspector{contain:layout paint}
#inspectorScroll{position:relative}
@media(max-width:900px){
.panel{height:auto;min-height:0;overflow:hidden}
}
/* V0.3.5 — collapsible panels + visual objects */
.panel-head-actions{display:flex;align-items:center;gap:.35rem}
.panel-toggle{width:34px;height:34px;padding:0}
.panel-restore{
position:absolute;
top:50%;
z-index:28;
width:34px;
height:58px;
padding:0;
transform:translateY(-50%);
border-radius:0 10px 10px 0;
box-shadow:var(--shadow);
background:var(--surface);
}
.panel-restore.left{left:0}
.panel-restore.right{right:0;border-radius:10px 0 0 10px}
.panel-restore .button-label{display:none}
.visual-object{
position:absolute;
pointer-events:auto;
cursor:move;
user-select:none;
min-width:20px;
min-height:20px;
}
.visual-object.selected{outline:3px solid color-mix(in srgb,var(--primary) 55%,transparent);outline-offset:3px}
.visual-object.shape{border:2px solid #6366f1}
.visual-object.shape.rectangle{border-radius:8px}
.visual-object.shape.ellipse{border-radius:999px}
.visual-object.shape.diamond{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.visual-object.text{
display:flex;
align-items:center;
padding:.35rem .45rem;
white-space:pre-wrap;
overflow:hidden;
line-height:1.25;
background:transparent;
}
#visualForm .details-grid{padding-bottom:.8rem}
#visualForm input[type="number"]{width:100%;border:1px solid var(--border);border-radius:8px;padding:.55rem .6rem;background:var(--bg);color:var(--text)}
#visualForm select{width:100%;min-height:40px;border:1px solid var(--border);border-radius:8px;padding:.45rem .55rem;background:var(--bg);color:var(--text)}
@media(max-width:1220px) and (min-width:901px){
.shell.left-collapsed{grid-template-columns:0 minmax(0,1fr) 285px}
.shell.right-collapsed{grid-template-columns:240px minmax(0,1fr) 0}
.shell.left-collapsed.right-collapsed{grid-template-columns:0 minmax(0,1fr) 0}
}
@media(max-width:900px){
.desktop-only{display:none!important}
.shell,.shell.left-collapsed,.shell.right-collapsed,.shell.left-collapsed.right-collapsed{display:block}
.shell.left-collapsed>.resources,.shell.right-collapsed>.inspector{visibility:visible;pointer-events:auto}
}
/* V0.3.6 — exclusions + local text/Markdown editing */
#contextExcludeBtn{grid-column:1/-1}
.exclusions-panel{padding:1rem;display:grid;gap:.8rem}
.exclusions-panel>p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}
.exclusion-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem}
.exclusion-add input{min-height:42px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:.5rem .65rem}
.exclusion-presets{display:flex;gap:.45rem;flex-wrap:wrap}
.exclusions-list{display:grid;gap:.45rem;max-height:42vh;overflow:auto}
.exclusion-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:center;padding:.55rem .65rem;border:1px solid var(--border);border-radius:9px;background:var(--surface2)}
.exclusion-item code{overflow-wrap:anywhere}
.viewer-editor{display:grid;gap:.65rem;min-height:420px}
.viewer-editor-area{width:100%;min-height:420px;resize:vertical;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);padding:.8rem;font:14px/1.55 "Cascadia Code","SFMono-Regular",Consolas,monospace;tab-size:2}
.viewer-editor-actions{display:flex;align-items:center;gap:.6rem;position:sticky;bottom:0;padding:.5rem 0;background:var(--surface)}
.viewer-markdown{font-size:1rem}
.viewer-markdown p{margin:.7em 0}
.viewer-markdown ul,.viewer-markdown ol{padding-left:1.6rem}
@media(max-width:600px){.exclusion-add{grid-template-columns:1fr}.viewer-editor,.viewer-editor-area{min-height:320px}}
/* V0.3.7 — free canvas, reliable selection and variable node geometry */
.world{
width:1px;
height:1px;
overflow:visible;
}
.world svg,#visualObjects,#nodes,#frames{
width:1px;
height:1px;
overflow:visible;
}
#nodes{pointer-events:none}
.node{pointer-events:auto;min-width:140px;min-height:60px}
.node-main{height:100%;min-height:100%}
#visualObjects{pointer-events:none}
.visual-object{pointer-events:auto}
.branch-frame{pointer-events:none}
.branch-frame-title{
pointer-events:auto;
cursor:text;
z-index:2;
}
.branch-frame-title:hover{outline:1px dashed currentColor;outline-offset:2px}
.range-row{grid-template-columns:minmax(0,1fr) 64px}
.range-row input[type="range"]{
width:100%;
min-width:0;
margin:0;
padding:0;
border:0;
border-radius:0;
background:transparent;
accent-color:var(--primary);
}
.details-grid .check-row{
flex-direction:row;
align-items:center;
gap:.5rem;
color:var(--text);
font-weight:500;
}
.details-grid .check-row input{width:18px;height:18px}
.visual-object.text{justify-content:flex-start}
/* V0.3.7 hit testing: logical layers must not impose a 1px hit-test box */
#visualObjects,#nodes,#frames{display:contents}
.visual-object{z-index:2}
.node{z-index:3}
.branch-frame{z-index:0}
.branch-frame-title{z-index:4}
/* V0.3.9 — relations nommées et stylables */
.edge{pointer-events:none}
.edge-hit{
fill:none;
stroke:rgba(0,0,0,.001);
pointer-events:stroke;
cursor:pointer;
}
.edge-hit.selected{
stroke:color-mix(in srgb,var(--primary) 34%,transparent);
}
.edge-label{
pointer-events:auto;
cursor:pointer;
font:600 12px/1.2 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
paint-order:stroke fill;
stroke:var(--bg);
stroke-width:5px;
stroke-linejoin:round;
dominant-baseline:central;
}
.edge-label.selected{font-weight:800}
#edgeForm .details-grid{padding-bottom:.8rem}
#edgeForm select{width:100%;min-height:40px;border:1px solid var(--border);border-radius:8px;padding:.45rem .55rem;background:var(--bg);color:var(--text)}
#edgeForm input[type="text"]{width:100%;min-height:40px;border:1px solid var(--border);border-radius:8px;padding:.45rem .55rem;background:var(--bg);color:var(--text)}
/* V0.3.10 — free image objects */
.visual-object.image{
overflow:hidden;
background:linear-gradient(45deg,var(--surface2) 25%,transparent 25%) 0 0/18px 18px,
linear-gradient(-45deg,var(--surface2) 25%,transparent 25%) 0 9px/18px 18px,
linear-gradient(45deg,transparent 75%,var(--surface2) 75%) 9px -9px/18px 18px,
linear-gradient(-45deg,transparent 75%,var(--surface2) 75%) -9px 0/18px 18px;
border:1px solid var(--border);
}
.visual-image{width:100%;height:100%;display:block;pointer-events:none;user-select:none}
.visual-image-placeholder{width:100%;height:100%;display:grid;place-items:center;padding:1rem;color:var(--muted);font-size:.8rem;text-align:center}
.image-picker-panel{padding:1rem;display:grid;gap:.75rem;min-width:min(620px,82vw)}
.image-picker-list{display:grid;gap:.4rem;max-height:55vh;overflow:auto}
.image-picker-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:.7rem;align-items:center;text-align:left;padding:.5rem;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
.image-picker-item:hover{background:var(--surface2);border-color:var(--primary)}
.image-picker-item>span:last-child{display:grid;gap:.15rem;min-width:0}
.image-picker-item strong,.image-picker-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.image-picker-item small{color:var(--muted)}
.image-picker-thumb{width:58px;height:44px;border-radius:7px;overflow:hidden;background:var(--surface2);display:grid;place-items:center}
.image-picker-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#visualImageSource{overflow-wrap:anywhere}
/* V0.3.13 — save/export workflow + welcome */
.save-menu>summary{min-width:42px;justify-content:center;transition:padding .16s ease,border-color .16s ease,background .16s ease}
.save-menu>summary .save-menu-label,.save-menu>summary .chevron{display:inline-block;max-width:0;opacity:0;overflow:hidden;white-space:nowrap;transition:max-width .18s ease,opacity .14s ease,margin .18s ease;margin-left:0}
.save-menu[open]>summary{justify-content:flex-start}
.save-menu[open]>summary .save-menu-label{max-width:110px;opacity:1;margin-left:.05rem}
.save-menu[open]>summary .chevron{max-width:18px;opacity:1;margin-left:.05rem}
.save-menu .toolbar-menu-panel{left:auto;right:0;min-width:190px}
.welcome{max-width:820px;width:min(100%,820px)}
.welcome-icon{font-size:3.2rem}
.welcome h1{max-width:760px}
.welcome>p{margin:.35rem auto 1rem}
.welcome-actions{width:min(760px,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:.4rem auto .85rem;text-align:left}
.welcome-card{border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 5px 18px rgba(30,41,59,.06)}
.welcome-new{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;align-items:start;padding:.85rem}
.welcome-card-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--primary2);color:var(--primary);font-size:1.25rem;font-weight:800}
.welcome-card strong{display:block;font-size:.95rem}.welcome-card span{color:var(--muted);font-size:.78rem;line-height:1.4}.welcome-card small{display:block;color:var(--muted);font-size:.76rem;line-height:1.4;margin-top:.15rem}
.welcome-card-actions{grid-column:2;display:flex;gap:.45rem;flex-wrap:wrap}
.welcome-choice{width:100%;padding:.8rem;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.7rem;align-items:center;text-align:left}
.welcome-choice:hover{background:var(--surface2)}
#welcomeRecent.hidden + #welcomeDemo{grid-column:1/-1}
.export-dialog{width:min(640px,94vw)}
.export-panel{gap:.65rem}
.export-section{border:1px solid var(--border);border-radius:11px;background:color-mix(in srgb,var(--surface2) 42%,transparent);overflow:hidden}
.export-section>summary{list-style:none;display:flex;align-items:center;gap:.65rem;padding:.75rem .8rem;cursor:pointer;user-select:none}
.export-section>summary::-webkit-details-marker{display:none}
.export-section>summary:hover{background:var(--surface2)}
.export-section>summary>span:nth-of-type(1){min-width:0;flex:1}
.export-section>summary strong,.export-section>summary small{display:block}
.export-section>summary small{margin-top:.12rem;color:var(--muted);font-size:.72rem;font-weight:500}
.export-section>summary .chevron{flex:0 0 auto;color:var(--muted);transition:transform .15s ease}
.export-section[open]>summary{border-bottom:1px solid var(--border)}
.export-section[open]>summary .chevron{transform:rotate(180deg)}
.export-section-body{display:grid;gap:.85rem;padding:.85rem}
.export-section-body>label{display:grid;gap:.35rem;font-size:.85rem;font-weight:650;color:var(--muted)}
.export-section-body select{min-height:42px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:.45rem .55rem}
.export-section-body .check-row{display:flex;align-items:center;gap:.55rem;color:var(--text);font-weight:500}
.export-section-body .check-row input{width:18px;height:18px}
.export-section-body p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}
@media(max-width:650px){
.welcome-actions{grid-template-columns:1fr}
.welcome-new,#welcomeRecent.hidden + #welcomeDemo{grid-column:1}
.welcome-new{grid-template-columns:1fr}
.welcome-card-actions{grid-column:1}
.welcome-card-icon{width:34px;height:34px}
}
/* V0.3.14 — interface polish before onboarding */
.stage-tools{
max-width:calc(100% - 1.2rem);
width:max-content;
min-width:0;
padding:.3rem .4rem;
overflow-x:auto;
overflow-y:hidden;
scrollbar-width:none;
}
.stage-tools::-webkit-scrollbar{display:none}
.stage-tools .map-palette{
position:static;
inset:auto;
z-index:auto;
display:flex;
align-items:center;
gap:.18rem;
padding:0;
background:transparent;
backdrop-filter:none;
border:0;
border-radius:0;
box-shadow:none;
}
.stage-tools .map-palette button{
width:32px;
height:32px;
min-width:32px;
border-radius:8px;
}
.stage-tools .palette-divider{
width:1px;
height:22px;
margin:0 .12rem;
flex:0 0 1px;
}
.stage-tools>.sep{flex:0 0 1px}
.welcome{max-width:900px;width:min(100%,900px)}
.welcome-actions{
width:min(840px,100%);
grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
align-items:start;
gap:.6rem;
}
.welcome-card{align-self:start;min-height:0}
.welcome-new{
grid-column:auto;
padding:.7rem;
grid-template-columns:auto minmax(0,1fr);
gap:.55rem .65rem;
}
.welcome-card-actions{
grid-column:1/-1;
gap:.35rem;
}
.welcome-card-actions button{min-height:38px;padding:.42rem .55rem}
.welcome-choice{min-height:0;padding:.7rem}
#welcomeRecent.hidden + #welcomeDemo{grid-column:auto}
.range-row{
grid-template-columns:minmax(0,1fr) 78px auto;
gap:.42rem;
}
.range-row .range-number{
width:78px;
min-width:0;
height:34px;
padding:.28rem .38rem;
border:1px solid var(--border);
border-radius:7px;
background:var(--bg);
color:var(--text);
font-variant-numeric:tabular-nums;
text-align:right;
}
.range-row .range-unit{
min-width:1.6rem;
color:var(--muted);
font-size:.74rem;
white-space:nowrap;
}
.range-row .range-output-native{display:none}
.small-dialog,.export-dialog{
height:fit-content;
min-height:0;
max-height:90vh;
overflow:hidden;
}
.small-dialog>.recent-panel,
.small-dialog>.export-panel,
.small-dialog>.image-picker-panel,
.small-dialog>.exclusions-panel{
max-height:calc(90vh - 58px);
overflow:auto;
}
.export-panel{padding:.75rem;gap:.55rem}
.export-section-body{padding:.7rem;gap:.7rem}
.export-section>summary{padding:.65rem .72rem}
@media(max-width:900px){
.stage-tools{
left:.45rem;
right:.45rem;
width:auto;
max-width:none;
justify-content:flex-start;
}
.stage-tools .map-palette{flex:0 0 auto}
}
@media(max-width:650px){
.welcome-actions{grid-template-columns:1fr}
.welcome-new{grid-template-columns:auto minmax(0,1fr)}
.welcome-card-actions{grid-column:1/-1}
.range-row{grid-template-columns:minmax(0,1fr) 72px auto}
.range-row .range-number{width:72px}
}
/* V0.3.15 — visual groups */
.branch-frame{
pointer-events:auto;
cursor:move;
touch-action:none;
box-sizing:border-box;
transition:box-shadow .12s ease,outline-color .12s ease;
}
.branch-frame:hover{box-shadow:0 0 0 1px color-mix(in srgb,var(--primary) 35%,transparent)}
.branch-frame.selected{
outline:2px solid var(--primary);
outline-offset:3px;
box-shadow:0 8px 24px rgba(15,23,42,.12);
}
.branch-frame.locked{cursor:not-allowed}
.branch-frame.locked::after{
content:"🔒";
position:absolute;
right:10px;
top:8px;
font-size:.75rem;
opacity:.72;
pointer-events:none;
}
.branch-frame-title{
cursor:move;
user-select:none;
touch-action:none;
}
.branch-frame.locked .branch-frame-title{cursor:not-allowed}
.branch-frame-resize{
display:none;
position:absolute;
right:-10px;
bottom:-10px;
z-index:6;
width:28px;
height:28px;
min-width:28px;
padding:0;
place-items:center;
border:1px solid var(--primary);
border-radius:8px;
background:var(--surface);
color:var(--primary);
box-shadow:var(--shadow);
cursor:nwse-resize;
touch-action:none;
}
.branch-frame.selected .branch-frame-resize{display:grid}
.branch-frame.locked .branch-frame-resize{cursor:not-allowed;opacity:.55}
.group-meta{
display:flex;
align-items:center;
justify-content:space-between;
gap:.5rem;
min-height:34px;
padding:.4rem .5rem;
border:1px solid var(--border);
border-radius:8px;
background:var(--surface2);
color:var(--muted);
font-size:.75rem;
}
.group-meta strong{color:var(--text);font-variant-numeric:tabular-nums}
.group-size-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
.group-size-grid input[type="number"]{
width:100%;
min-height:38px;
border:1px solid var(--border);
border-radius:8px;
padding:.42rem .5rem;
background:var(--bg);
color:var(--text);
}
.group-actions{display:grid;grid-template-columns:1fr;gap:.4rem}
.group-actions button{min-height:38px}
@media(max-width:650px){
.branch-frame-resize{width:34px;height:34px;right:-12px;bottom:-12px}
.group-size-grid{grid-template-columns:1fr}
}
/* V0.3.17 — large branches */
.settings-panel{padding:.85rem;display:grid;gap:.8rem}
.settings-panel .check-row{display:flex;align-items:center;gap:.55rem;color:var(--text);font-weight:600}
.settings-panel .check-row input{width:18px;height:18px}
.settings-field{display:grid;gap:.35rem;color:var(--muted);font-size:.82rem;font-weight:650}
.settings-field input[type="number"]{width:140px;min-height:40px;border:1px solid var(--border);border-radius:8px;padding:.45rem .55rem;background:var(--bg);color:var(--text);font-variant-numeric:tabular-nums}.settings-field select{width:100%;min-height:40px;border:1px solid var(--border);border-radius:8px;padding:.45rem .55rem;background:var(--bg);color:var(--text)}
.settings-field small,.settings-panel p{margin:0;color:var(--muted);font-size:.78rem;line-height:1.45}
.settings-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem}
.settings-actions button{min-height:42px}
@media(max-width:560px){.settings-actions{grid-template-columns:1fr}.settings-field input[type="number"]{width:100%}}
/* V0.3.18 — configurable layouts */
.branch-layout-controls{padding:.7rem;display:grid;gap:.65rem}
.branch-layout-controls label{display:grid;gap:.3rem;font-size:.75rem;color:var(--muted);font-weight:650}
.branch-layout-controls select{width:100%;min-height:40px;border:1px solid var(--border);border-radius:8px;padding:.42rem .5rem;background:var(--bg);color:var(--text)}
.branch-layout-controls small{color:var(--muted);font-size:.74rem;line-height:1.4}
.branch-layout-controls button{min-height:40px}
/* DEV-CMD feedback */
.feedback-dialog{width:min(620px,94vw)}
.feedback-panel{padding:.9rem;display:grid;gap:.8rem}
.feedback-panel label{display:grid;gap:.35rem;color:var(--muted);font-size:.82rem;font-weight:650}
.feedback-panel select,.feedback-panel textarea{width:100%;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:.55rem .65rem}
.feedback-panel textarea{resize:vertical;min-height:150px;line-height:1.45}
.feedback-help,.feedback-status{margin:0;color:var(--muted);font-size:.78rem;line-height:1.45}
.feedback-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.feedback-actions button{min-height:40px}
@media(max-width:600px){.feedback-actions{display:grid;grid-template-columns:1fr}.feedback-actions button{width:100%}}