@conscia-labs/design-system 0.3.4 → 0.4.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.
@@ -1,5 +1,5 @@
1
1
  type ConsciaAppearance = "light" | "dark" | "system";
2
- type ConsciaDensity = "compact" | "comfortable";
2
+ type ConsciaDensity = "compact" | "comfortable" | "operational";
3
3
  declare const appearanceOptions: ConsciaAppearance[];
4
4
  declare const densityOptions: ConsciaDensity[];
5
5
  declare function applyConsciaPreferences(root: HTMLElement, appearance: ConsciaAppearance, density: ConsciaDensity, systemDark?: boolean): void;
@@ -3,7 +3,7 @@ import {
3
3
  appearanceOptions,
4
4
  applyConsciaPreferences,
5
5
  densityOptions
6
- } from "../chunk-D5LYROOM.js";
6
+ } from "../chunk-YNQWIH6V.js";
7
7
  export {
8
8
  appearanceOptions,
9
9
  applyConsciaPreferences,
@@ -185,16 +185,51 @@
185
185
  --ds-section-title: 1.0625rem;
186
186
  --ds-body: 0.9375rem;
187
187
  --ds-metadata: 0.8125rem;
188
+ --ds-body-line-height: 1.5;
189
+ --ds-title-weight: 600;
190
+ --ds-title-tracking: 0;
191
+ --ds-title-line-height: 1.25;
192
+ --ds-section-title-weight: 600;
193
+ --ds-section-title-line-height: 1.25;
194
+ --ds-ui-text-size: 0.875rem;
195
+ --ds-ui-line-height: 1.25rem;
196
+ --ds-navigation-label-size: 0.875rem;
197
+ --ds-navigation-label-line-height: 1.25rem;
198
+ --ds-control-text-size: 0.875rem;
199
+ --ds-control-text-line-height: 1.25rem;
200
+ --ds-button-text-size: 0.875rem;
201
+ --ds-button-text-line-height: 1.25rem;
202
+ --ds-button-text-weight: 500;
188
203
  --ds-menu-item-size: 0.75rem;
189
204
  --ds-menu-label-size: 0.6875rem;
205
+ --ds-menu-item-line-height: 1.25rem;
206
+ --ds-menu-label-line-height: 1rem;
207
+ --ds-eyebrow-size: 0.6875rem;
208
+ --ds-eyebrow-line-height: 1rem;
209
+ --ds-eyebrow-weight: 600;
210
+ --ds-eyebrow-tracking: 0.04em;
211
+ --ds-card-title-size: 0.875rem;
212
+ --ds-card-title-line-height: 1.25rem;
213
+ --ds-card-title-weight: 600;
214
+ --ds-table-head-size: 0.8125rem;
215
+ --ds-table-head-line-height: 1rem;
216
+ --ds-table-head-weight: 600;
217
+ --ds-table-head-tracking: 0;
190
218
  --ds-radius-control: 0.375rem;
191
219
  --ds-radius-surface: 0.5rem;
192
220
  --ds-shadow-raised: 0 1px 2px rgb(20 12 21 / 6%);
193
221
  --ds-shadow-floating: 0 12px 28px rgb(20 12 21 / 10%);
194
222
  --ds-focus-ring: 0 0 0 3px color-mix(in oklab, var(--ring) 26%, transparent);
223
+ --ds-workbench-global-rail-width: 4.5rem;
224
+ --ds-workbench-secondary-rail-width: 18.375rem;
225
+ --ds-workbench-inspector-width: 19rem;
226
+ --ds-workbench-inspector-padding-x: 1.625rem;
227
+ --ds-workbench-inspector-padding-top: 2.1875rem;
228
+ --ds-workbench-inspector-padding-bottom: 1.875rem;
229
+ --ds-workbench-min-height: 38.75rem;
195
230
  }
196
231
 
197
- :root[data-density="compact"] {
232
+ [data-density="compact"] {
198
233
  --ds-space-inline: 0.375rem;
199
234
  --ds-space-control: 0.5rem;
200
235
  --ds-space-field: 1rem;
@@ -228,15 +263,74 @@
228
263
  --ds-metadata: 0.75rem;
229
264
  }
230
265
 
266
+ /*
267
+ * Operational density is an explicit opt-in preset for information-dense
268
+ * admin, catalog, connector, chat, and workspace-like interfaces. It keeps
269
+ * comfortable density as the default and leaves the existing compact preset
270
+ * available for consumers that already depend on it.
271
+ */
272
+ [data-density="operational"] {
273
+ --ds-space-control: 0.5rem;
274
+ --ds-space-group: 1rem;
275
+ --ds-space-section: 1.5rem;
276
+ --ds-space-page: 2rem;
277
+ --ds-control-height: 2.25rem;
278
+ --ds-control-height-sm: 1.875rem;
279
+ --ds-control-height-lg: 2.5rem;
280
+ --ds-control-padding-x: 0.875rem;
281
+ --ds-sidebar-item-height: 2rem;
282
+ --ds-sidebar-group-gap: 0.375rem;
283
+ --ds-sidebar-label-gap: 0.25rem;
284
+ --ds-sidebar-group-label-size: 0.6875rem;
285
+ --ds-sidebar-group-label-line-height: 0.9375rem;
286
+ --ds-surface-padding: 1rem;
287
+ --ds-table-header-height: 2rem;
288
+ --ds-row-height: 2.5rem;
289
+ --ds-field-gap: 1rem;
290
+ --ds-field-label-gap: 0.375rem;
291
+ --ds-page-title: clamp(1.5625rem, 3vw, 2.125rem);
292
+ --ds-display-title: clamp(1.875rem, 3.5vw, 2.75rem);
293
+ --ds-section-title: 1rem;
294
+ --ds-body: 0.8125rem;
295
+ --ds-metadata: 0.75rem;
296
+ --ds-body-line-height: 1.45;
297
+ --ds-title-weight: 650;
298
+ --ds-title-tracking: -0.04em;
299
+ --ds-title-line-height: 1.08;
300
+ --ds-section-title-weight: 650;
301
+ --ds-section-title-line-height: 1.12;
302
+ --ds-ui-text-size: 0.8125rem;
303
+ --ds-ui-line-height: 1.125rem;
304
+ --ds-navigation-label-size: 0.8125rem;
305
+ --ds-navigation-label-line-height: 1.125rem;
306
+ --ds-control-text-size: 0.8125rem;
307
+ --ds-control-text-line-height: 1.125rem;
308
+ --ds-button-text-size: 0.8125rem;
309
+ --ds-button-text-line-height: 1.125rem;
310
+ --ds-button-text-weight: 600;
311
+ --ds-menu-item-line-height: 1.0625rem;
312
+ --ds-menu-label-line-height: 0.9375rem;
313
+ --ds-eyebrow-line-height: 0.9375rem;
314
+ --ds-eyebrow-weight: 650;
315
+ --ds-eyebrow-tracking: 0.06em;
316
+ --ds-card-title-size: 0.8125rem;
317
+ --ds-card-title-line-height: 1.125rem;
318
+ --ds-card-title-weight: 650;
319
+ --ds-table-head-size: 0.6875rem;
320
+ --ds-table-head-line-height: 0.9375rem;
321
+ --ds-table-head-weight: 650;
322
+ --ds-table-head-tracking: 0.06em;
323
+ }
324
+
231
325
  :root.dark,
232
326
  :root[data-appearance="dark"] {
233
327
  color-scheme: dark;
234
- --background: #111214;
235
- --foreground: #f7f7f8;
236
- --card: #191a1e;
237
- --card-foreground: #f7f7f8;
238
- --popover: #202126;
239
- --popover-foreground: #f7f7f8;
328
+ --background: #17191c;
329
+ --foreground: #eff1f4;
330
+ --card: #1d2024;
331
+ --card-foreground: #eff1f4;
332
+ --popover: #2c2f36;
333
+ --popover-foreground: #eff1f4;
240
334
  --brand: #6b7cff;
241
335
  --brand-foreground: #ffffff;
242
336
  --brand-secondary: #a3d6cf;
@@ -247,39 +341,39 @@
247
341
  --primary-foreground: #ffffff;
248
342
  --secondary: #f3f4f5;
249
343
  --secondary-foreground: #17181b;
250
- --muted: #25272d;
251
- --muted-foreground: #c5c7cf;
344
+ --muted: #282b31;
345
+ --muted-foreground: #b3bac5;
252
346
  --accent: #5965cc;
253
347
  --accent-hover: #5f6bd2;
254
348
  --accent-active: #505bb8;
255
349
  --accent-background: #252a46;
256
350
  --accent-foreground: #ffffff;
257
- --selection-background: #272a35;
258
- --selection-border: #555e92;
351
+ --selection-background: #2a2e3b;
352
+ --selection-border: #5c669b;
259
353
  --selection-indicator: #7c86df;
260
- --selection-foreground: #f2f3f8;
354
+ --selection-foreground: #edf0f7;
261
355
  --destructive: #ffa1a8;
262
- --border: rgb(255 255 255 / 15%);
263
- --input: rgb(255 255 255 / 15%);
356
+ --border: rgb(255 255 255 / 12%);
357
+ --input: rgb(255 255 255 / 12%);
264
358
  --ring: #7c86df;
265
359
  --canvas: var(--background);
266
360
  --surface: var(--card);
267
- --surface-muted: #25272d;
268
- --surface-raised: #1d1f24;
269
- --surface-floating: #22242a;
270
- --surface-overlay: #282a31;
361
+ --surface-muted: #282b31;
362
+ --surface-raised: #24272c;
363
+ --surface-floating: #2c2f36;
364
+ --surface-overlay: #31343a;
271
365
  --surface-control: var(--surface-raised);
272
366
  --surface-control-hover: var(--surface-muted);
273
367
  --text-primary: var(--foreground);
274
- --text-secondary: #e7e8eb;
275
- --text-supporting: #c5c7cf;
276
- --text-muted: #989ba5;
277
- --text-disabled: #696c75;
278
- --text-inverse: #17181b;
368
+ --text-secondary: #d4d8df;
369
+ --text-supporting: #b3bac5;
370
+ --text-muted: #929aa7;
371
+ --text-disabled: #747b87;
372
+ --text-inverse: #17191c;
279
373
  --text-link: #aeb6ef;
280
- --border-subtle: rgb(255 255 255 / 8%);
281
- --border-default: rgb(255 255 255 / 13%);
282
- --border-strong: rgb(255 255 255 / 22%);
374
+ --border-subtle: rgb(255 255 255 / 7%);
375
+ --border-default: rgb(255 255 255 / 11%);
376
+ --border-strong: rgb(255 255 255 / 18%);
283
377
  --border-focus: var(--ring);
284
378
  --information: #8ed4df;
285
379
  --information-background: #163238;
@@ -298,9 +392,9 @@
298
392
  --danger-border: #9d3c48;
299
393
  --danger-foreground: #ffe8e9;
300
394
  --neutral: #a7a9b3;
301
- --neutral-background: #25272d;
302
- --neutral-border: rgb(255 255 255 / 14%);
303
- --neutral-foreground: #f3f4f5;
395
+ --neutral-background: #282b31;
396
+ --neutral-border: rgb(255 255 255 / 12%);
397
+ --neutral-foreground: #e5e8ed;
304
398
  --sidebar: #151116;
305
399
  --sidebar-foreground: #ffffff;
306
400
  --sidebar-accent: rgb(255 255 255 / 7%);
@@ -321,8 +415,8 @@
321
415
  --sidebar-group-label: color-mix(in oklab, var(--sidebar-foreground) 72%, transparent);
322
416
  --sidebar-group-count: color-mix(in oklab, var(--sidebar-foreground) 62%, transparent);
323
417
  --sidebar-focus-ring: var(--ring);
324
- --ds-shadow-raised: 0 1px 2px rgb(0 0 0 / 28%);
325
- --ds-shadow-floating: 0 16px 32px rgb(0 0 0 / 34%);
418
+ --ds-shadow-raised: 0 1px 2px rgb(0 0 0 / 24%);
419
+ --ds-shadow-floating: 0 16px 32px rgb(0 0 0 / 30%);
326
420
  }
327
421
 
328
422
  /*
@@ -452,6 +546,94 @@
452
546
  --font-sans: var(--font-sans);
453
547
  }
454
548
 
549
+ @utility ds-type-body {
550
+ font-size: var(--ds-body);
551
+ line-height: var(--ds-body-line-height);
552
+ }
553
+
554
+ @utility ds-type-ui {
555
+ font-size: var(--ds-ui-text-size);
556
+ line-height: var(--ds-ui-line-height);
557
+ }
558
+
559
+ @utility ds-type-control {
560
+ font-size: var(--ds-control-text-size);
561
+ line-height: var(--ds-control-text-line-height);
562
+ }
563
+
564
+ @utility ds-type-button {
565
+ font-size: var(--ds-button-text-size);
566
+ font-weight: var(--ds-button-text-weight);
567
+ line-height: var(--ds-button-text-line-height);
568
+ }
569
+
570
+ @utility ds-type-navigation {
571
+ font-size: var(--ds-navigation-label-size);
572
+ line-height: var(--ds-navigation-label-line-height);
573
+ }
574
+
575
+ @utility ds-type-display-title {
576
+ font-size: var(--ds-display-title);
577
+ font-weight: var(--ds-title-weight);
578
+ letter-spacing: var(--ds-title-tracking);
579
+ line-height: var(--ds-title-line-height);
580
+ }
581
+
582
+ @utility ds-type-page-title {
583
+ font-size: var(--ds-page-title);
584
+ font-weight: var(--ds-title-weight);
585
+ letter-spacing: var(--ds-title-tracking);
586
+ line-height: var(--ds-title-line-height);
587
+ }
588
+
589
+ @utility ds-type-section-title {
590
+ font-size: var(--ds-section-title);
591
+ font-weight: var(--ds-section-title-weight);
592
+ letter-spacing: var(--ds-title-tracking);
593
+ line-height: var(--ds-section-title-line-height);
594
+ }
595
+
596
+ @utility ds-type-metadata {
597
+ font-size: var(--ds-metadata);
598
+ line-height: var(--ds-menu-label-line-height);
599
+ }
600
+
601
+ @utility ds-type-menu-item {
602
+ font-size: var(--ds-menu-item-size);
603
+ line-height: var(--ds-menu-item-line-height);
604
+ }
605
+
606
+ @utility ds-type-menu-label {
607
+ font-size: var(--ds-menu-label-size);
608
+ line-height: var(--ds-menu-label-line-height);
609
+ }
610
+
611
+ @utility ds-type-eyebrow {
612
+ font-size: var(--ds-eyebrow-size);
613
+ font-weight: var(--ds-eyebrow-weight);
614
+ letter-spacing: var(--ds-eyebrow-tracking);
615
+ line-height: var(--ds-eyebrow-line-height);
616
+ }
617
+
618
+ @utility ds-type-label {
619
+ font-size: var(--ds-field-label-size);
620
+ font-weight: 500;
621
+ line-height: var(--ds-field-label-line-height);
622
+ }
623
+
624
+ @utility ds-type-card-title {
625
+ font-size: var(--ds-card-title-size);
626
+ font-weight: var(--ds-card-title-weight);
627
+ line-height: var(--ds-card-title-line-height);
628
+ }
629
+
630
+ @utility ds-type-table-head {
631
+ font-size: var(--ds-table-head-size);
632
+ font-weight: var(--ds-table-head-weight);
633
+ letter-spacing: var(--ds-table-head-tracking);
634
+ line-height: var(--ds-table-head-line-height);
635
+ }
636
+
455
637
  @layer base {
456
638
  * {
457
639
  border-color: var(--border);
@@ -469,7 +651,7 @@
469
651
  font-family: var(--font-sans);
470
652
  font-size: var(--ds-body);
471
653
  font-weight: 400;
472
- line-height: 1.5;
654
+ line-height: var(--ds-body-line-height);
473
655
  text-rendering: optimizeLegibility;
474
656
  }
475
657
 
@@ -478,8 +660,8 @@
478
660
  h3,
479
661
  h4 {
480
662
  color: var(--foreground);
481
- font-weight: 600;
482
- letter-spacing: 0;
663
+ font-weight: var(--ds-title-weight);
664
+ letter-spacing: var(--ds-title-tracking);
483
665
  }
484
666
 
485
667
  button,
@@ -506,6 +688,370 @@
506
688
  }
507
689
 
508
690
  @layer components {
691
+ [data-slot="workbench-shell"] {
692
+ display: grid;
693
+ grid-template-columns: var(--ds-workbench-global-rail-width) var(--ds-workbench-secondary-rail-width) minmax(0, 1fr) var(--ds-workbench-inspector-width);
694
+ height: 100svh;
695
+ min-height: var(--ds-workbench-min-height);
696
+ overflow: hidden;
697
+ background: var(--canvas);
698
+ color: var(--text-primary);
699
+ font-family: var(--font-sans);
700
+ font-size: var(--ds-body);
701
+ line-height: var(--ds-body-line-height);
702
+ }
703
+
704
+ [data-slot="workbench-rail"] {
705
+ min-height: 0;
706
+ background: var(--surface);
707
+ }
708
+
709
+ [data-slot="workbench-rail"][data-variant="global"] {
710
+ display: flex;
711
+ flex-direction: column;
712
+ align-items: center;
713
+ border-right: 1px solid var(--border-subtle);
714
+ padding: 1.0625rem 0.5rem 0.875rem;
715
+ }
716
+
717
+ [data-slot="workbench-rail"][data-variant="secondary"] {
718
+ display: flex;
719
+ min-width: 0;
720
+ flex-direction: column;
721
+ overflow: hidden;
722
+ border-right: 1px solid var(--border-subtle);
723
+ padding: 1.0625rem 0.9375rem 0.875rem;
724
+ }
725
+
726
+ [data-slot="workbench-main"] {
727
+ display: flex;
728
+ min-width: 0;
729
+ min-height: 0;
730
+ flex-direction: column;
731
+ background: var(--canvas);
732
+ }
733
+
734
+ [data-slot="workbench-inspector"] {
735
+ min-height: 0;
736
+ overflow-y: auto;
737
+ border-left: 1px solid var(--border-subtle);
738
+ background: var(--surface-muted);
739
+ padding: var(--ds-workbench-inspector-padding-top) var(--ds-workbench-inspector-padding-x) var(--ds-workbench-inspector-padding-bottom);
740
+ scrollbar-width: thin;
741
+ }
742
+
743
+ [data-slot="workbench-mobile-toolbar"],
744
+ [data-slot="workbench-backdrop"] {
745
+ display: none;
746
+ }
747
+
748
+ [data-slot="workbench-section"] {
749
+ padding: 1.5rem 0;
750
+ border-bottom: 1px solid var(--border-subtle);
751
+ }
752
+
753
+ [data-slot="workbench-section"]:first-child {
754
+ padding-top: 1.375rem;
755
+ }
756
+
757
+ [data-slot="workbench-section"]:last-child {
758
+ border-bottom: 0;
759
+ }
760
+
761
+ [data-slot="workbench-section-header"] {
762
+ display: flex;
763
+ align-items: baseline;
764
+ justify-content: space-between;
765
+ gap: 0.9375rem;
766
+ }
767
+
768
+ [data-slot="workbench-section-heading"] {
769
+ display: flex;
770
+ align-items: baseline;
771
+ gap: 0.5625rem;
772
+ min-width: 0;
773
+ }
774
+
775
+ [data-slot="workbench-section-heading"] h2 {
776
+ margin: 0;
777
+ font-size: var(--ds-section-title);
778
+ font-weight: var(--ds-section-title-weight);
779
+ letter-spacing: -0.025em;
780
+ line-height: var(--ds-section-title-line-height);
781
+ }
782
+
783
+ [data-slot="workbench-section-heading"] span {
784
+ color: var(--text-muted);
785
+ font-size: var(--ds-menu-label-size);
786
+ }
787
+
788
+ [data-slot="workbench-section-action"] {
789
+ color: var(--brand);
790
+ font-size: var(--ds-menu-item-size);
791
+ }
792
+
793
+ [data-slot="resource-row"] {
794
+ display: flex;
795
+ min-width: 0;
796
+ min-height: 3.625rem;
797
+ align-items: center;
798
+ gap: 0.75rem;
799
+ padding: 0.5rem 0;
800
+ border-bottom: 1px solid var(--border-subtle);
801
+ color: var(--text-primary);
802
+ text-decoration: none;
803
+ transition: color 160ms ease, background-color 160ms ease;
804
+ }
805
+
806
+ [data-slot="resource-row"]:last-child {
807
+ border-bottom: 0;
808
+ }
809
+
810
+ [data-slot="resource-row"]:hover,
811
+ [data-slot="resource-row"]:focus-visible {
812
+ color: var(--brand);
813
+ }
814
+
815
+ [data-slot="resource-row"]:focus-visible {
816
+ outline: none;
817
+ box-shadow: var(--ds-focus-ring);
818
+ }
819
+
820
+ [data-slot="resource-row"] > svg:last-child {
821
+ width: 0.9375rem;
822
+ height: 0.9375rem;
823
+ flex: 0 0 auto;
824
+ color: var(--text-muted);
825
+ stroke-width: 1.6;
826
+ transition: color 160ms ease, transform 160ms ease;
827
+ }
828
+
829
+ [data-slot="resource-row"]:hover > svg:last-child,
830
+ [data-slot="resource-row"]:focus-visible > svg:last-child {
831
+ color: var(--brand);
832
+ transform: translateX(2px);
833
+ }
834
+
835
+ [data-slot="resource-row"][data-selected="true"] {
836
+ color: var(--selection-foreground);
837
+ }
838
+
839
+ [data-slot="resource-row-icon"] {
840
+ display: grid;
841
+ width: 1.875rem;
842
+ height: 1.875rem;
843
+ flex: 0 0 auto;
844
+ place-items: center;
845
+ border: 1px solid var(--border-subtle);
846
+ border-radius: var(--ds-radius-control);
847
+ background: var(--surface-muted);
848
+ color: var(--text-supporting);
849
+ }
850
+
851
+ [data-slot="resource-row-icon"] svg {
852
+ width: 0.9375rem;
853
+ height: 0.9375rem;
854
+ stroke-width: 1.5;
855
+ }
856
+
857
+ [data-slot="resource-row-content"] {
858
+ display: flex;
859
+ min-width: 0;
860
+ flex: 1;
861
+ flex-direction: column;
862
+ gap: 0.125rem;
863
+ }
864
+
865
+ [data-slot="resource-row-title"],
866
+ [data-slot="resource-row-description"] {
867
+ overflow: hidden;
868
+ text-overflow: ellipsis;
869
+ white-space: nowrap;
870
+ }
871
+
872
+ [data-slot="resource-row-title"] {
873
+ color: currentColor;
874
+ font-size: var(--ds-ui-text-size);
875
+ font-weight: 600;
876
+ line-height: 1.25;
877
+ }
878
+
879
+ [data-slot="resource-row-description"],
880
+ [data-slot="resource-row-meta"] {
881
+ color: var(--text-supporting);
882
+ font-size: var(--ds-metadata);
883
+ line-height: 1.3;
884
+ }
885
+
886
+ [data-slot="resource-row-meta"] {
887
+ flex: 0 0 auto;
888
+ white-space: nowrap;
889
+ }
890
+
891
+ [data-slot="workbench-inspector-section"] {
892
+ padding: 1.5625rem 0;
893
+ border-bottom: 1px solid var(--border-subtle);
894
+ }
895
+
896
+ [data-slot="workbench-inspector-section"]:first-of-type {
897
+ padding-top: 2.25rem;
898
+ }
899
+
900
+ [data-slot="workbench-inspector-section"]:last-child {
901
+ border-bottom: 0;
902
+ }
903
+
904
+ [data-slot="workbench-inspector-label"] {
905
+ display: flex;
906
+ align-items: center;
907
+ justify-content: space-between;
908
+ gap: 0.625rem;
909
+ margin-bottom: 0.9375rem;
910
+ }
911
+
912
+ [data-slot="workbench-inspector-label"] h3 {
913
+ margin: 0;
914
+ color: var(--text-supporting);
915
+ font-size: var(--ds-menu-label-size);
916
+ font-weight: 700;
917
+ letter-spacing: 0.14em;
918
+ line-height: 1.2;
919
+ text-transform: uppercase;
920
+ }
921
+
922
+ [data-slot="identity-row"] {
923
+ display: flex;
924
+ min-width: 0;
925
+ align-items: center;
926
+ gap: 0.625rem;
927
+ }
928
+
929
+ [data-slot="identity-row"] + [data-slot="identity-row"] {
930
+ margin-top: 0.875rem;
931
+ }
932
+
933
+ [data-slot="identity-avatar"] {
934
+ display: grid;
935
+ width: 1.875rem;
936
+ height: 1.875rem;
937
+ flex: 0 0 auto;
938
+ place-items: center;
939
+ border-radius: 999px;
940
+ background: var(--brand-secondary-background);
941
+ color: var(--brand-secondary);
942
+ font-size: var(--ds-menu-label-size);
943
+ font-weight: 700;
944
+ }
945
+
946
+ [data-slot="identity-copy"] {
947
+ display: flex;
948
+ min-width: 0;
949
+ flex-direction: column;
950
+ gap: 0.125rem;
951
+ }
952
+
953
+ [data-slot="identity-copy"] strong,
954
+ [data-slot="identity-copy"] small {
955
+ overflow: hidden;
956
+ text-overflow: ellipsis;
957
+ white-space: nowrap;
958
+ }
959
+
960
+ [data-slot="identity-copy"] strong {
961
+ font-size: var(--ds-ui-text-size);
962
+ font-weight: 600;
963
+ }
964
+
965
+ [data-slot="identity-copy"] small {
966
+ color: var(--text-supporting);
967
+ font-size: var(--ds-metadata);
968
+ }
969
+
970
+ [data-slot="identity-row"][data-compact="true"] [data-slot="identity-avatar"] {
971
+ width: 1.75rem;
972
+ height: 1.75rem;
973
+ background: var(--surface-muted);
974
+ }
975
+
976
+ @media (max-width: 75rem) {
977
+ [data-slot="workbench-shell"] {
978
+ grid-template-columns: 4rem 16.25rem minmax(0, 1fr) 17.5rem;
979
+ }
980
+
981
+ [data-slot="workbench-inspector"] {
982
+ padding-inline: 1.3125rem;
983
+ }
984
+ }
985
+
986
+ @media (max-width: 63.75rem) {
987
+ [data-slot="workbench-shell"] {
988
+ grid-template-columns: 4rem 16.25rem minmax(0, 1fr);
989
+ }
990
+
991
+ [data-slot="workbench-inspector"] {
992
+ display: none;
993
+ }
994
+ }
995
+
996
+ @media (max-width: 47.5rem) {
997
+ [data-slot="workbench-shell"] {
998
+ display: block;
999
+ min-height: 100svh;
1000
+ height: 100svh;
1001
+ }
1002
+
1003
+ [data-slot="workbench-rail"][data-variant="global"] {
1004
+ display: none;
1005
+ }
1006
+
1007
+ [data-slot="workbench-rail"][data-variant="secondary"] {
1008
+ position: fixed;
1009
+ z-index: 30;
1010
+ inset-block: 0;
1011
+ left: 0;
1012
+ display: flex;
1013
+ width: min(19.625rem, calc(100vw - 2.8125rem));
1014
+ transform: translateX(-105%);
1015
+ box-shadow: 0.875rem 0 2.1875rem rgb(20 12 21 / 16%);
1016
+ transition: transform 190ms ease;
1017
+ }
1018
+
1019
+ [data-slot="workbench-rail"][data-variant="secondary"][data-open="true"] {
1020
+ transform: translateX(0);
1021
+ }
1022
+
1023
+ [data-slot="workbench-main"] {
1024
+ height: 100svh;
1025
+ }
1026
+
1027
+ [data-slot="workbench-mobile-toolbar"] {
1028
+ display: flex;
1029
+ min-height: 3.25rem;
1030
+ align-items: center;
1031
+ gap: 0.5rem;
1032
+ border-bottom: 1px solid var(--border-subtle);
1033
+ background: var(--surface);
1034
+ padding-inline: 0.9375rem;
1035
+ }
1036
+
1037
+ [data-slot="workbench-backdrop"][data-open="true"] {
1038
+ position: fixed;
1039
+ z-index: 20;
1040
+ inset: 0;
1041
+ display: block;
1042
+ width: 100%;
1043
+ height: 100%;
1044
+ border: 0;
1045
+ background: rgb(20 12 21 / 20%);
1046
+ }
1047
+ }
1048
+
1049
+ @media (prefers-reduced-motion: reduce) {
1050
+ [data-slot="workbench-rail"][data-variant="secondary"] {
1051
+ transition: none;
1052
+ }
1053
+ }
1054
+
509
1055
  [data-slot="tabs-list"][data-scroll-position="start"],
510
1056
  [data-slot="navigation-tabs-list"][data-scroll-position="start"] {
511
1057
  mask-image: linear-gradient(