dsh-plugin-content-studio 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,940 @@
1
+ .cs {
2
+ --ink: #292c29;
3
+ --muted: #73766e;
4
+ --line: #dedfd8;
5
+ --paper: #fffefa;
6
+ --green: #335e4e;
7
+ color: var(--ink);
8
+ background: #f5f5ef;
9
+ height: 100%;
10
+ overflow: auto;
11
+ font:
12
+ 14px/1.65 -apple-system,
13
+ BlinkMacSystemFont,
14
+ "PingFang SC",
15
+ "Microsoft YaHei",
16
+ sans-serif;
17
+ }
18
+ .cs * {
19
+ box-sizing: border-box;
20
+ }
21
+ .cs h1,
22
+ .cs h2,
23
+ .cs h3,
24
+ .cs p {
25
+ margin: 0 0 12px;
26
+ }
27
+ .cs h1 {
28
+ font-size: 24px;
29
+ letter-spacing: -0.6px;
30
+ }
31
+ .cs h1 span {
32
+ font-size: 12px;
33
+ font-weight: 400;
34
+ color: var(--muted);
35
+ margin-left: 18px;
36
+ letter-spacing: 0;
37
+ }
38
+ .cs h2 {
39
+ font-size: 23px;
40
+ letter-spacing: -0.4px;
41
+ }
42
+ .cs h3 {
43
+ font-size: 16px;
44
+ }
45
+ .cs button,
46
+ .cs select,
47
+ .cs input,
48
+ .cs textarea {
49
+ font: inherit;
50
+ color: inherit;
51
+ }
52
+ .cs button {
53
+ cursor: pointer;
54
+ min-height: 38px;
55
+ background: #fffefa;
56
+ border: 1px solid var(--line);
57
+ border-radius: 7px;
58
+ padding: 7px 13px;
59
+ transition: background 0.16s;
60
+ }
61
+ .cs button:hover {
62
+ background: #e9eee7;
63
+ }
64
+ .cs button:disabled {
65
+ opacity: 0.5;
66
+ cursor: wait;
67
+ }
68
+ .cs button.primary {
69
+ background: var(--green);
70
+ border-color: var(--green);
71
+ color: white;
72
+ }
73
+ .cs button:focus-visible,
74
+ .cs input:focus-visible,
75
+ .cs textarea:focus-visible,
76
+ .cs select:focus-visible,
77
+ .cs summary:focus-visible {
78
+ outline: 2px solid #537e6d;
79
+ outline-offset: 3px;
80
+ }
81
+ .cs input:not([type="checkbox"]),
82
+ .cs textarea,
83
+ .cs select {
84
+ border: 1px solid var(--line);
85
+ border-radius: 6px;
86
+ background: white;
87
+ max-width: 100%;
88
+ padding: 9px 11px;
89
+ }
90
+ .cs input[type="checkbox"] {
91
+ accent-color: var(--green);
92
+ width: 17px;
93
+ height: 17px;
94
+ flex-shrink: 0;
95
+ }
96
+ .cs textarea {
97
+ resize: vertical;
98
+ min-height: 90px;
99
+ width: 100%;
100
+ }
101
+ .cs a {
102
+ color: #286650;
103
+ text-underline-offset: 3px;
104
+ }
105
+ .cs-header {
106
+ display: flex;
107
+ align-items: center;
108
+ justify-content: space-between;
109
+ padding: 26px 36px 19px;
110
+ border-bottom: 1px solid var(--line);
111
+ background: var(--paper);
112
+ }
113
+ .cs .workspace-bar {
114
+ display: flex;
115
+ align-items: center;
116
+ flex-wrap: wrap;
117
+ gap: 16px;
118
+ padding: 14px 36px;
119
+ border-bottom: 1px solid var(--line);
120
+ background: var(--paper);
121
+ }
122
+ .cs .workspace-bar .field {
123
+ margin: 0;
124
+ min-width: 140px;
125
+ }
126
+ .cs .workspace-bar p {
127
+ margin: 0;
128
+ flex: 1;
129
+ min-width: 180px;
130
+ }
131
+ .cs .account-settings {
132
+ margin-bottom: 24px;
133
+ }
134
+ .cs .new-account {
135
+ border-top: 1px solid var(--line);
136
+ margin-top: 24px;
137
+ padding-top: 24px;
138
+ }
139
+ @media (max-width: 650px) {
140
+ .cs .workspace-bar {
141
+ padding: 14px 18px;
142
+ gap: 12px;
143
+ }
144
+ .cs .workspace-bar .field {
145
+ flex: 1;
146
+ min-width: 110px;
147
+ }
148
+ .cs .workspace-bar p {
149
+ flex-basis: 100%;
150
+ }
151
+ }
152
+ .cs .eyebrow {
153
+ font-size: 10px;
154
+ letter-spacing: 2px;
155
+ color: var(--green);
156
+ display: block;
157
+ margin-bottom: 5px;
158
+ font-weight: 700;
159
+ }
160
+ .cs nav {
161
+ display: flex;
162
+ gap: 12px;
163
+ padding: 8px 30px;
164
+ border-bottom: 1px solid var(--line);
165
+ position: sticky;
166
+ top: 0;
167
+ background: #f5f5eff5;
168
+ z-index: 5;
169
+ overflow: auto;
170
+ }
171
+ .cs nav button {
172
+ background: transparent;
173
+ border-color: transparent;
174
+ white-space: nowrap;
175
+ }
176
+ .cs nav button.active,
177
+ .cs .tabs button.active {
178
+ background: #e3ebe3;
179
+ color: #234b3b;
180
+ }
181
+ .cs main {
182
+ padding: 30px 36px;
183
+ max-width: 1500px;
184
+ margin: auto;
185
+ }
186
+ .cs footer {
187
+ text-align: center;
188
+ color: var(--muted);
189
+ font-size: 11px;
190
+ padding: 28px;
191
+ }
192
+ .cs .intro {
193
+ display: flex;
194
+ align-items: center;
195
+ justify-content: space-between;
196
+ padding: 25px 0 32px;
197
+ gap: 20px;
198
+ }
199
+ .cs .intro h2 {
200
+ font:
201
+ 30px/1.5 Georgia,
202
+ "Songti SC",
203
+ serif;
204
+ }
205
+ .cs .intro p,
206
+ .cs .muted {
207
+ color: var(--muted);
208
+ }
209
+ .cs .counts {
210
+ display: flex;
211
+ gap: 28px;
212
+ white-space: nowrap;
213
+ }
214
+ .cs .counts b {
215
+ font-size: 28px;
216
+ font-weight: 500;
217
+ }
218
+ .cs .counts small {
219
+ display: block;
220
+ font-size: 11px;
221
+ color: var(--muted);
222
+ }
223
+ .cs .section-title {
224
+ display: flex;
225
+ justify-content: space-between;
226
+ align-items: center;
227
+ margin: 0 0 18px;
228
+ gap: 15px;
229
+ }
230
+ .cs .section-title h2 {
231
+ margin: 0;
232
+ }
233
+ .cs .project-grid {
234
+ display: grid;
235
+ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
236
+ gap: 18px;
237
+ margin-bottom: 28px;
238
+ }
239
+ .cs .project-card {
240
+ padding: 23px;
241
+ text-align: left;
242
+ min-height: 185px;
243
+ border-radius: 10px;
244
+ box-shadow: 0 2px 3px #25332704;
245
+ }
246
+ .cs .project-card h3 {
247
+ font-size: 20px;
248
+ margin: 16px 0 8px;
249
+ }
250
+ .cs .project-card p {
251
+ color: var(--muted);
252
+ min-height: 45px;
253
+ }
254
+ .cs .project-card small {
255
+ font-size: 11px;
256
+ color: var(--muted);
257
+ display: flex;
258
+ justify-content: space-between;
259
+ }
260
+ .cs .project-card small span {
261
+ color: var(--green);
262
+ }
263
+ .cs .badge {
264
+ font-size: 11px;
265
+ background: #e9ede4;
266
+ border-radius: 4px;
267
+ padding: 3px 7px;
268
+ white-space: nowrap;
269
+ }
270
+ .cs .two {
271
+ display: grid;
272
+ grid-template-columns: 1fr 1fr;
273
+ gap: 24px;
274
+ margin-bottom: 20px;
275
+ min-width: 0;
276
+ }
277
+ .cs .two > * {
278
+ min-width: 0;
279
+ }
280
+ .cs .panel {
281
+ background: var(--paper);
282
+ border: 1px solid var(--line);
283
+ border-radius: 9px;
284
+ padding: 22px;
285
+ }
286
+ .cs .row {
287
+ display: flex;
288
+ align-items: center;
289
+ justify-content: space-between;
290
+ border-bottom: 1px solid var(--line);
291
+ padding: 12px 0;
292
+ gap: 15px;
293
+ }
294
+ .cs .empty {
295
+ padding: 65px 20px;
296
+ text-align: center;
297
+ border: 1px dashed var(--line);
298
+ border-radius: 10px;
299
+ background: #fafbf6;
300
+ margin: 20px 0;
301
+ }
302
+ .cs .empty button {
303
+ margin: 12px 5px;
304
+ }
305
+ .cs .field {
306
+ display: flex;
307
+ flex-direction: column;
308
+ gap: 5px;
309
+ margin-bottom: 14px;
310
+ }
311
+ .cs .field > span {
312
+ font-size: 12px;
313
+ color: #64695f;
314
+ }
315
+ .cs .actions {
316
+ display: flex;
317
+ gap: 8px;
318
+ flex-wrap: wrap;
319
+ align-items: center;
320
+ }
321
+ .cs details {
322
+ border-top: 1px solid var(--line);
323
+ padding: 14px 0;
324
+ }
325
+ .cs summary {
326
+ cursor: pointer;
327
+ list-style-position: inside;
328
+ font-size: 13px;
329
+ padding: 5px 0;
330
+ margin-bottom: 8px;
331
+ }
332
+ .cs summary small {
333
+ color: var(--muted);
334
+ margin-left: 10px;
335
+ }
336
+ .cs pre {
337
+ white-space: pre-wrap;
338
+ overflow-wrap: anywhere;
339
+ font:
340
+ 12px/1.8 ui-monospace,
341
+ monospace;
342
+ max-height: 450px;
343
+ overflow: auto;
344
+ background: #f2f3ee;
345
+ border-radius: 6px;
346
+ padding: 15px;
347
+ }
348
+ .cs .json {
349
+ font-family: monospace;
350
+ min-height: 220px;
351
+ }
352
+ .cs .alert,
353
+ .cs .notice {
354
+ padding: 13px 24px;
355
+ margin: 12px 30px;
356
+ border-radius: 6px;
357
+ background: #fff0e6;
358
+ color: #784d31;
359
+ }
360
+ .cs .notice {
361
+ background: #edf2e7;
362
+ color: #3d5734;
363
+ }
364
+ .cs .alert button,
365
+ .cs .notice button {
366
+ margin-left: 15px;
367
+ }
368
+ .cs .saving {
369
+ position: fixed;
370
+ right: 25px;
371
+ bottom: 20px;
372
+ z-index: 30;
373
+ border: 1px solid var(--line);
374
+ background: #fff;
375
+ padding: 8px 18px;
376
+ border-radius: 20px;
377
+ }
378
+ .cs .filters,
379
+ .cs .batch {
380
+ display: flex;
381
+ gap: 10px;
382
+ align-items: center;
383
+ flex-wrap: wrap;
384
+ margin: 20px 0;
385
+ }
386
+ .cs .filters > input {
387
+ flex: 1;
388
+ min-width: 150px;
389
+ }
390
+ .cs .filters select {
391
+ max-width: 180px;
392
+ }
393
+ .cs .import {
394
+ background: var(--paper);
395
+ border: 1px solid var(--line);
396
+ padding: 16px 22px;
397
+ border-radius: 8px;
398
+ }
399
+ .cs .drop {
400
+ border: 1px dashed #a5b1a1;
401
+ border-radius: 7px;
402
+ padding: 22px;
403
+ text-align: center;
404
+ background: #f4f7f0;
405
+ margin: 12px 0;
406
+ }
407
+ .cs .drop input {
408
+ display: block;
409
+ margin: 14px auto;
410
+ }
411
+ .cs .drop p {
412
+ font-size: 12px;
413
+ color: var(--muted);
414
+ }
415
+ .cs .material-list article {
416
+ display: flex;
417
+ align-items: center;
418
+ gap: 14px;
419
+ padding: 8px 16px;
420
+ border-bottom: 1px solid var(--line);
421
+ background: var(--paper);
422
+ }
423
+ .cs .material-open {
424
+ display: flex;
425
+ align-items: center;
426
+ gap: 18px;
427
+ text-align: left;
428
+ border: 0;
429
+ background: transparent;
430
+ flex: 1;
431
+ min-width: 0;
432
+ }
433
+ .cs .material-open h3 {
434
+ margin: 0;
435
+ }
436
+ .cs .material-open p {
437
+ font-size: 12px;
438
+ color: var(--muted);
439
+ max-height: 40px;
440
+ overflow: hidden;
441
+ margin: 4px 0;
442
+ }
443
+ .cs .material-open img {
444
+ width: 65px;
445
+ height: 65px;
446
+ object-fit: cover;
447
+ border-radius: 5px;
448
+ }
449
+ .cs .file-icon {
450
+ display: grid;
451
+ place-items: center;
452
+ width: 65px;
453
+ height: 65px;
454
+ flex-shrink: 0;
455
+ background: #eceee6;
456
+ color: #6b7865;
457
+ font-size: 12px;
458
+ border-radius: 5px;
459
+ }
460
+ .cs .material-grid {
461
+ display: grid;
462
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
463
+ gap: 15px;
464
+ }
465
+ .cs .material-grid article {
466
+ padding: 12px;
467
+ background: var(--paper);
468
+ border: 1px solid var(--line);
469
+ border-radius: 8px;
470
+ }
471
+ .cs .material-grid .material-open {
472
+ display: block;
473
+ padding: 5px;
474
+ width: 100%;
475
+ }
476
+ .cs .material-grid img {
477
+ width: 100%;
478
+ height: 160px;
479
+ object-fit: contain;
480
+ background: #f1f2ed;
481
+ margin-bottom: 10px;
482
+ }
483
+ .cs .material-grid .file-icon {
484
+ width: 100%;
485
+ height: 100px;
486
+ margin-bottom: 10px;
487
+ }
488
+ .cs .modal-backdrop {
489
+ position: fixed;
490
+ inset: 0;
491
+ background: #17241b66;
492
+ z-index: 90;
493
+ display: flex;
494
+ align-items: center;
495
+ justify-content: center;
496
+ padding: 24px;
497
+ }
498
+ .cs .modal {
499
+ width: 680px;
500
+ max-width: 100%;
501
+ max-height: 92vh;
502
+ overflow: auto;
503
+ border-radius: 12px;
504
+ background: var(--paper);
505
+ padding: 28px;
506
+ box-shadow: 0 25px 80px #0003;
507
+ }
508
+ .cs .modal.wide {
509
+ width: 1100px;
510
+ }
511
+ .cs .preview-image {
512
+ max-width: 100%;
513
+ max-height: 350px;
514
+ display: block;
515
+ margin: auto;
516
+ }
517
+ .cs .thumb {
518
+ width: 100%;
519
+ max-height: 130px;
520
+ object-fit: contain;
521
+ background: #eee;
522
+ }
523
+ .cs .editor-grid {
524
+ display: grid;
525
+ grid-template-columns: minmax(360px, 1fr) 320px;
526
+ gap: 24px;
527
+ align-items: start;
528
+ }
529
+ .cs .paper {
530
+ background: var(--paper);
531
+ border: 1px solid var(--line);
532
+ border-radius: 8px;
533
+ padding: 24px 30px;
534
+ box-shadow: 0 3px 10px #26392b05;
535
+ min-width: 0;
536
+ }
537
+ .cs .paper-toolbar {
538
+ display: flex;
539
+ justify-content: space-between;
540
+ align-items: center;
541
+ gap: 10px;
542
+ margin-bottom: 28px;
543
+ }
544
+ .cs .tabs {
545
+ display: flex;
546
+ gap: 4px;
547
+ flex-wrap: wrap;
548
+ }
549
+ .cs .tabs button {
550
+ border: 0;
551
+ background: transparent;
552
+ padding: 6px 9px;
553
+ font-size: 12px;
554
+ }
555
+ .cs .document-title {
556
+ font:
557
+ 600 26px/1.6 Georgia,
558
+ "Songti SC",
559
+ serif !important;
560
+ border: 0 !important;
561
+ padding: 0 !important;
562
+ background: transparent !important;
563
+ width: 100%;
564
+ margin-bottom: 18px;
565
+ outline-offset: 8px;
566
+ }
567
+ .cs .body-editor {
568
+ font:
569
+ 17px/2 Georgia,
570
+ "Songti SC",
571
+ serif !important;
572
+ border: 0;
573
+ min-height: 650px;
574
+ background: transparent;
575
+ padding: 12px 0;
576
+ resize: vertical;
577
+ }
578
+ .cs .editor-aside {
579
+ display: flex;
580
+ flex-direction: column;
581
+ gap: 16px;
582
+ min-width: 0;
583
+ }
584
+ .cs .editor-aside .panel {
585
+ padding: 18px;
586
+ }
587
+ .cs .editor-aside .field {
588
+ font-size: 12px;
589
+ }
590
+ .cs .save-state {
591
+ font-size: 11px;
592
+ color: #477258;
593
+ }
594
+ .cs .selection-hint {
595
+ background: #e9f0e4;
596
+ padding: 8px;
597
+ font-size: 12px;
598
+ }
599
+ .cs .check {
600
+ display: flex;
601
+ align-items: flex-start;
602
+ gap: 10px;
603
+ margin: 14px 0;
604
+ cursor: pointer;
605
+ }
606
+ .cs .check small {
607
+ display: block;
608
+ color: var(--muted);
609
+ }
610
+ .cs .fact {
611
+ padding: 16px 0;
612
+ border-bottom: 1px solid var(--line);
613
+ }
614
+ .cs blockquote {
615
+ margin: 8px 0;
616
+ padding-left: 12px;
617
+ border-left: 2px solid #a7b89b;
618
+ color: #68745e;
619
+ font-size: 12px;
620
+ }
621
+ .cs .version {
622
+ width: 100%;
623
+ display: flex;
624
+ flex-direction: column;
625
+ text-align: left;
626
+ gap: 4px;
627
+ margin-bottom: 8px;
628
+ }
629
+ .cs .version small {
630
+ color: var(--muted);
631
+ }
632
+ .cs dl {
633
+ font-size: 12px;
634
+ display: grid;
635
+ grid-template-columns: 90px 1fr;
636
+ gap: 8px;
637
+ }
638
+ .cs dt {
639
+ color: var(--muted);
640
+ }
641
+ .cs dd {
642
+ margin: 0;
643
+ overflow-wrap: anywhere;
644
+ }
645
+ .cs .tasks {
646
+ margin-top: 32px;
647
+ }
648
+ .cs .export-preview {
649
+ width: 100%;
650
+ height: 760px;
651
+ border: 1px solid var(--line);
652
+ border-radius: 8px;
653
+ background: white;
654
+ }
655
+ .cs .export-text {
656
+ min-height: 600px;
657
+ max-height: 800px;
658
+ font-size: 15px;
659
+ line-height: 2;
660
+ }
661
+ .cs .download {
662
+ display: inline-block;
663
+ margin: 12px;
664
+ }
665
+ .cs code {
666
+ overflow-wrap: anywhere;
667
+ font-size: 12px;
668
+ }
669
+ .cs small {
670
+ font-size: 11px;
671
+ }
672
+ .cs .batch {
673
+ padding: 12px;
674
+ background: #e7eee2;
675
+ border-radius: 7px;
676
+ }
677
+ @media (max-width: 1150px) {
678
+ .cs main {
679
+ padding: 24px;
680
+ }
681
+ .cs .editor-grid {
682
+ grid-template-columns: minmax(290px, 1fr) 285px;
683
+ gap: 16px;
684
+ }
685
+ .cs .paper {
686
+ padding: 20px;
687
+ }
688
+ .cs .counts {
689
+ gap: 18px;
690
+ }
691
+ .cs h1 span {
692
+ display: none;
693
+ }
694
+ }
695
+ @media (max-width: 760px) {
696
+ .cs-header {
697
+ padding: 18px;
698
+ }
699
+ .cs nav {
700
+ padding: 8px 10px;
701
+ gap: 3px;
702
+ }
703
+ .cs main {
704
+ padding: 18px;
705
+ }
706
+ .cs .two,
707
+ .cs .editor-grid {
708
+ grid-template-columns: 1fr;
709
+ }
710
+ .cs .intro {
711
+ display: block;
712
+ }
713
+ .cs .intro h2 {
714
+ font-size: 25px;
715
+ }
716
+ .cs .counts {
717
+ margin-top: 25px;
718
+ }
719
+ .cs .section-title {
720
+ flex-wrap: wrap;
721
+ }
722
+ .cs .body-editor {
723
+ min-height: 420px;
724
+ }
725
+ .cs .modal-backdrop {
726
+ padding: 8px;
727
+ }
728
+ .cs .modal {
729
+ padding: 18px;
730
+ }
731
+ .cs button {
732
+ min-height: 44px;
733
+ }
734
+ .cs .alert,
735
+ .cs .notice {
736
+ margin: 10px;
737
+ }
738
+ .cs .editor-aside {
739
+ order: 2;
740
+ }
741
+ }
742
+ @media (prefers-reduced-motion: reduce) {
743
+ .cs * {
744
+ transition: none !important;
745
+ }
746
+ }
747
+
748
+ /* AI-first creation and editorial conversation */
749
+ .cs {
750
+ --muted: #5c625b;
751
+ }
752
+ .cs .ai-start {
753
+ max-width: 900px;
754
+ margin: 8px auto 44px;
755
+ padding: 32px;
756
+ background: var(--paper);
757
+ border: 1px solid var(--line);
758
+ border-radius: 16px;
759
+ }
760
+ .cs .ai-start h2 {
761
+ font-size: clamp(26px, 3vw, 38px);
762
+ letter-spacing: -1px;
763
+ }
764
+ .cs .ai-start > p {
765
+ color: var(--muted);
766
+ font-size: 15px;
767
+ }
768
+ .cs fieldset {
769
+ border: 0;
770
+ margin: 0;
771
+ padding: 0;
772
+ min-width: 0;
773
+ }
774
+ .cs .idea-input {
775
+ min-height: 150px;
776
+ font-size: 17px;
777
+ line-height: 1.8;
778
+ }
779
+ .cs .idea-examples,
780
+ .cs .chat-suggestions {
781
+ display: flex;
782
+ gap: 8px;
783
+ flex-wrap: wrap;
784
+ margin: 12px 0;
785
+ }
786
+ .cs .idea-examples button,
787
+ .cs .chat-suggestions button {
788
+ font-size: 12px;
789
+ min-height: 44px;
790
+ text-align: left;
791
+ }
792
+ .cs .source-picker {
793
+ margin: 20px 0;
794
+ }
795
+ .cs .source-list {
796
+ max-height: 230px;
797
+ overflow: auto;
798
+ }
799
+ .cs .start-actions {
800
+ display: flex;
801
+ align-items: flex-end;
802
+ justify-content: space-between;
803
+ gap: 16px;
804
+ }
805
+ .cs .start-actions .field {
806
+ margin: 0;
807
+ }
808
+ .cs .start-actions > button {
809
+ min-height: 48px;
810
+ padding-inline: 28px;
811
+ }
812
+ .cs .composer-note {
813
+ margin: 16px 0 0;
814
+ font-size: 12px;
815
+ color: var(--muted);
816
+ }
817
+ .cs .inline-error {
818
+ color: #9a3024;
819
+ white-space: pre-wrap;
820
+ overflow-wrap: anywhere;
821
+ padding: 12px 0;
822
+ }
823
+ .cs .generation-progress {
824
+ border: 1px solid var(--line);
825
+ border-radius: 12px;
826
+ padding: 20px;
827
+ background: #edf2e9;
828
+ margin-bottom: 20px;
829
+ }
830
+ .cs .generation-progress p {
831
+ margin: 10px 0 0;
832
+ }
833
+ .cs .generation-steps {
834
+ display: flex;
835
+ flex-wrap: wrap;
836
+ gap: 12px 24px;
837
+ padding: 0;
838
+ list-style: none;
839
+ }
840
+ .cs .generation-steps li {
841
+ display: flex;
842
+ align-items: center;
843
+ gap: 8px;
844
+ color: var(--muted);
845
+ }
846
+ .cs .generation-steps span {
847
+ width: 26px;
848
+ height: 26px;
849
+ display: inline-flex;
850
+ align-items: center;
851
+ justify-content: center;
852
+ border: 1px solid var(--line);
853
+ border-radius: 50%;
854
+ background: var(--paper);
855
+ }
856
+ .cs .generation-steps .done,
857
+ .cs .generation-steps .current {
858
+ color: var(--green);
859
+ font-weight: 600;
860
+ }
861
+ .cs .generation-steps .current span {
862
+ background: var(--green);
863
+ color: white;
864
+ }
865
+ .cs .outline-preview {
866
+ margin-bottom: 20px;
867
+ }
868
+ .cs .ai-conversation {
869
+ border-top: 3px solid var(--green);
870
+ }
871
+ .cs .conversation-history {
872
+ max-height: 480px;
873
+ overflow-y: auto;
874
+ overflow-wrap: anywhere;
875
+ margin: 16px 0;
876
+ }
877
+ .cs .conversation-history p {
878
+ white-space: pre-wrap;
879
+ font-size: 14px;
880
+ }
881
+ .cs .assistant-welcome {
882
+ padding: 14px;
883
+ background: #edf2e9;
884
+ border-radius: 8px;
885
+ }
886
+ .cs .user-message {
887
+ background: #edf2e9;
888
+ padding: 12px;
889
+ border-radius: 8px;
890
+ margin: 12px 0;
891
+ }
892
+ .cs .assistant-message {
893
+ padding: 8px 0 18px;
894
+ border-bottom: 1px solid var(--line);
895
+ }
896
+ .cs .conversation-turn b {
897
+ font-size: 12px;
898
+ color: var(--green);
899
+ }
900
+ .cs .ai-conversation form > button {
901
+ margin: 4px 4px 0 0;
902
+ min-height: 44px;
903
+ }
904
+ .cs .advanced-ai > summary {
905
+ font-weight: 600;
906
+ }
907
+ .cs .editor-aside .field {
908
+ font-size: 14px;
909
+ }
910
+ .cs summary {
911
+ min-height: 44px;
912
+ cursor: pointer;
913
+ padding-block: 10px;
914
+ }
915
+ @media (max-width: 760px) {
916
+ .cs .ai-start {
917
+ padding: 20px;
918
+ margin-top: 0;
919
+ }
920
+ .cs .start-actions {
921
+ flex-wrap: wrap;
922
+ }
923
+ .cs .start-actions > button {
924
+ width: 100%;
925
+ }
926
+ .cs-header {
927
+ flex-wrap: wrap;
928
+ gap: 12px;
929
+ }
930
+ .cs .generation-steps {
931
+ gap: 10px;
932
+ font-size: 12px;
933
+ }
934
+ .cs .editor-aside {
935
+ order: 0;
936
+ }
937
+ .cs .paper {
938
+ order: 1;
939
+ }
940
+ }