@gcsa/console-styles 0.1.2 → 0.1.4

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.
@@ -43,7 +43,8 @@
43
43
  font-size: 14px;
44
44
  line-height: 1;
45
45
  padding: 0 14px;
46
- height: 36px;
46
+ height: var(--gcsa-control-height-md);
47
+ min-height: var(--gcsa-control-height-md);
47
48
  border: 1px solid transparent;
48
49
  cursor: pointer;
49
50
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
@@ -56,22 +57,22 @@
56
57
  }
57
58
 
58
59
  .gcsa-btn--sm {
59
- height: var(--gcsa-control-height-sm, 24px);
60
- min-height: var(--gcsa-control-height-sm, 24px);
61
- font-size: 13px;
60
+ height: var(--gcsa-control-height-sm);
61
+ min-height: var(--gcsa-control-height-sm);
62
+ font-size: var(--gcsa-control-font-size-sm);
62
63
  padding: 0 12px;
63
64
  }
64
65
 
65
66
  .gcsa-btn--md {
66
- height: var(--gcsa-control-height-md, 32px);
67
- min-height: var(--gcsa-control-height-md, 32px);
68
- font-size: 14px;
67
+ height: var(--gcsa-control-height-md);
68
+ min-height: var(--gcsa-control-height-md);
69
+ font-size: var(--gcsa-control-font-size-md);
69
70
  padding: 0 14px;
70
71
  }
71
72
 
72
73
  .gcsa-btn--lg {
73
- height: var(--gcsa-control-height-lg, 40px);
74
- min-height: var(--gcsa-control-height-lg, 40px);
74
+ height: var(--gcsa-control-height-lg);
75
+ min-height: var(--gcsa-control-height-lg);
75
76
  font-size: 15px;
76
77
  }
77
78
 
@@ -314,8 +315,10 @@
314
315
 
315
316
  .gcsa-input:not(.gcsa-input-number__input),
316
317
  .gcsa-select {
317
- height: 38px;
318
- padding: 0 12px;
318
+ height: var(--gcsa-control-height-md);
319
+ min-height: var(--gcsa-control-height-md);
320
+ padding: 0 var(--gcsa-control-padding-x-md);
321
+ font-size: var(--gcsa-control-font-size-md);
319
322
  }
320
323
 
321
324
  .gcsa-textarea {
@@ -324,19 +327,19 @@
324
327
  resize: vertical;
325
328
  }
326
329
 
327
- /* ── Control sizes (Ant Design: small 24 / middle 32 / large 40) ── */
330
+ /* ── Control sizes:高度/字号只走 size 档位,勿在组件上写死 px ── */
328
331
  :root,
329
332
  [data-gcsa-theme='light'],
330
333
  [data-gcsa-theme='dark'] {
331
334
  --gcsa-control-height-sm: 24px;
332
- --gcsa-control-height-md: 32px;
335
+ --gcsa-control-height-md: 36px;
333
336
  --gcsa-control-height-lg: 40px;
334
337
  --gcsa-control-padding-x-sm: 7px;
335
- --gcsa-control-padding-x-md: 11px;
338
+ --gcsa-control-padding-x-md: 12px;
336
339
  --gcsa-control-padding-x-lg: 16px;
337
340
  --gcsa-control-font-size-sm: 12px;
338
- --gcsa-control-font-size-md: 14px;
339
- --gcsa-control-font-size-lg: 14px;
341
+ --gcsa-control-font-size-md: 13px;
342
+ --gcsa-control-font-size-lg: 13px;
340
343
  }
341
344
 
342
345
  .gcsa-text-control--sm .gcsa-input:not(.gcsa-input-number__input),
@@ -450,6 +453,19 @@
450
453
  border-color: var(--gcsa-color-destructive);
451
454
  }
452
455
 
456
+ .gcsa-input:disabled,
457
+ .gcsa-textarea:disabled,
458
+ .gcsa-select:disabled,
459
+ .gcsa-select-trigger:disabled,
460
+ .gcsa-select-trigger[data-disabled] {
461
+ opacity: 0.45;
462
+ cursor: not-allowed;
463
+ color: var(--gcsa-color-text-muted);
464
+ background: var(--gcsa-color-bg-elevated);
465
+ border-color: var(--gcsa-color-border-subtle);
466
+ box-shadow: none;
467
+ }
468
+
453
469
  .gcsa-input-group {
454
470
  display: flex;
455
471
  align-items: stretch;
@@ -1340,30 +1356,30 @@
1340
1356
  }
1341
1357
 
1342
1358
  :is([data-gcsa-theme='light'], [data-gcsa-theme='dark']) .gcsa-btn {
1343
- height: 40px;
1344
- min-height: 40px;
1359
+ height: var(--gcsa-control-height-md);
1360
+ min-height: var(--gcsa-control-height-md);
1345
1361
  box-sizing: border-box;
1346
1362
  padding-inline: 24px;
1347
1363
  border-radius: 20px;
1348
- font-size: 13px;
1364
+ font-size: var(--gcsa-control-font-size-md);
1349
1365
  letter-spacing: 0;
1350
1366
  }
1351
1367
 
1352
1368
  :is([data-gcsa-theme='light'], [data-gcsa-theme='dark']) .gcsa-btn--sm {
1353
- height: var(--gcsa-control-height-sm, 24px);
1354
- min-height: var(--gcsa-control-height-sm, 24px);
1369
+ height: var(--gcsa-control-height-sm);
1370
+ min-height: var(--gcsa-control-height-sm);
1355
1371
  padding-inline: 16px;
1356
1372
  }
1357
1373
 
1358
1374
  :is([data-gcsa-theme='light'], [data-gcsa-theme='dark']) .gcsa-btn--md {
1359
- height: var(--gcsa-control-height-md, 32px);
1360
- min-height: var(--gcsa-control-height-md, 32px);
1375
+ height: var(--gcsa-control-height-md);
1376
+ min-height: var(--gcsa-control-height-md);
1361
1377
  padding-inline: 16px;
1362
1378
  }
1363
1379
 
1364
1380
  :is([data-gcsa-theme='light'], [data-gcsa-theme='dark']) .gcsa-btn--lg {
1365
- height: var(--gcsa-control-height-lg, 40px);
1366
- min-height: var(--gcsa-control-height-lg, 40px);
1381
+ height: var(--gcsa-control-height-lg);
1382
+ min-height: var(--gcsa-control-height-lg);
1367
1383
  padding-inline: 24px;
1368
1384
  }
1369
1385
 
@@ -1400,7 +1416,7 @@
1400
1416
 
1401
1417
  /* Time inputs use the Figma field typography and preserve their native clock affordance. */
1402
1418
  :is([data-gcsa-theme='light'], [data-gcsa-theme='dark']) .gcsa-time-picker {
1403
- font-size: 14px;
1419
+ font-size: var(--gcsa-control-font-size-md);
1404
1420
  line-height: 16px;
1405
1421
  }
1406
1422
 
@@ -1463,7 +1479,7 @@
1463
1479
  }
1464
1480
 
1465
1481
  :is([data-gcsa-theme='light'], [data-gcsa-theme='dark']) .gcsa-pagination {
1466
- --gcsa-pagination-control-height: 36px;
1482
+ --gcsa-pagination-control-height: var(--gcsa-control-height-md);
1467
1483
  }
1468
1484
 
1469
1485
  :is([data-gcsa-theme='light'], [data-gcsa-theme='dark']) .gcsa-pagination__size,
@@ -1514,16 +1530,14 @@
1514
1530
 
1515
1531
  [data-gcsa-theme='dark'] .gcsa-date-picker__control,
1516
1532
  [data-gcsa-theme='dark'] .gcsa-date-range-picker__control {
1517
- min-height: 40px;
1518
- height: 40px;
1519
1533
  box-sizing: border-box;
1520
- padding-left: 16px;
1534
+ padding-left: var(--gcsa-control-padding-x-lg);
1521
1535
  border-radius: 8px;
1522
1536
  }
1523
1537
 
1524
1538
  [data-gcsa-theme='dark'] .gcsa-date-picker__control > .gcsa-date-picker__input {
1525
- height: 30px;
1526
- min-height: 30px;
1539
+ height: 26px;
1540
+ min-height: 26px;
1527
1541
  box-sizing: border-box;
1528
1542
  padding: 0;
1529
1543
  border: 0 !important;
@@ -1532,6 +1546,29 @@
1532
1546
  box-shadow: none !important;
1533
1547
  }
1534
1548
 
1549
+ [data-gcsa-theme='light'] .gcsa-cascader__trigger {
1550
+ border-color: var(--gcsa-color-border);
1551
+ background: var(--gcsa-color-bg-surface);
1552
+ color: var(--gcsa-color-text-heading);
1553
+ }
1554
+
1555
+ [data-gcsa-theme='light'] .gcsa-cascader__panel {
1556
+ border-color: var(--gcsa-color-border-subtle);
1557
+ background: var(--gcsa-color-bg-elevated, var(--gcsa-color-bg-surface));
1558
+ box-shadow: var(--gcsa-shadow-md);
1559
+ color: var(--gcsa-color-text);
1560
+ }
1561
+
1562
+ [data-gcsa-theme='light'] .gcsa-cascader__option {
1563
+ color: var(--gcsa-color-text-secondary);
1564
+ }
1565
+
1566
+ [data-gcsa-theme='light'] .gcsa-cascader__option:hover:not(:disabled),
1567
+ [data-gcsa-theme='light'] .gcsa-cascader__option--active {
1568
+ color: var(--gcsa-color-primary);
1569
+ background: var(--gcsa-color-primary-muted);
1570
+ }
1571
+
1535
1572
  [data-gcsa-theme='dark'] .gcsa-cascader__trigger {
1536
1573
  border-color: var(--gcsa-color-border);
1537
1574
  background: var(--gcsa-color-bg-input);
@@ -1741,7 +1778,7 @@
1741
1778
  min-width: 0;
1742
1779
  border-right: none;
1743
1780
  background: transparent;
1744
- --gcsa-menu-item-height: 36px;
1781
+ --gcsa-menu-item-height: var(--gcsa-control-height-md);
1745
1782
  --gcsa-menu-item-radius: 4px;
1746
1783
  --gcsa-menu-item-pad-x: 12px;
1747
1784
  --gcsa-menu-icon-size: 16px;
@@ -2064,16 +2101,16 @@
2064
2101
  }
2065
2102
  }
2066
2103
 
2067
- /* Empty */
2104
+ /* Empty — Figma 2174:3336 */
2068
2105
  .gcsa-empty {
2069
2106
  display: flex;
2070
2107
  flex-direction: column;
2071
2108
  align-items: center;
2072
2109
  box-sizing: border-box;
2073
- padding: 48px 24px;
2110
+ padding: 41px 25px;
2074
2111
  border: 1px solid var(--gcsa-color-border-subtle);
2075
2112
  border-radius: 12px;
2076
- background: var(--gcsa-color-bg-elevated);
2113
+ background: var(--gcsa-color-bg-surface);
2077
2114
  text-align: center;
2078
2115
  color: var(--gcsa-color-text-muted);
2079
2116
  }
@@ -2082,30 +2119,31 @@
2082
2119
  display: inline-flex;
2083
2120
  align-items: center;
2084
2121
  justify-content: center;
2085
- width: 48px;
2086
- height: 48px;
2122
+ width: 66px;
2123
+ height: 66px;
2124
+ margin-bottom: 0;
2087
2125
  color: var(--gcsa-color-primary);
2088
2126
  }
2089
2127
 
2090
2128
  .gcsa-empty__icon .gcsa-icon,
2091
2129
  .gcsa-empty__icon .gcsa-icon svg {
2092
- width: 29px;
2093
- height: 36px;
2130
+ width: 66px;
2131
+ height: 66px;
2094
2132
  }
2095
2133
 
2096
2134
  .gcsa-empty__title {
2097
2135
  margin: 12px 0 0;
2098
- color: var(--gcsa-color-text);
2136
+ color: rgba(255, 255, 255, 0.6);
2099
2137
  font-family: var(--gcsa-font-body);
2100
- font-size: 16px;
2138
+ font-size: 14px;
2101
2139
  font-weight: 400;
2102
2140
  line-height: 24px;
2103
2141
  }
2104
2142
 
2105
2143
  .gcsa-empty__desc {
2106
2144
  margin: 4px 0 0;
2107
- color: color-mix(in srgb, var(--gcsa-color-text) 30%, transparent);
2108
- font-size: 14px;
2145
+ color: rgba(255, 255, 255, 0.3);
2146
+ font-size: 12px;
2109
2147
  line-height: 22.4px;
2110
2148
  }
2111
2149
 
@@ -2115,8 +2153,40 @@
2115
2153
  margin-top: 8px;
2116
2154
  }
2117
2155
 
2118
- .gcsa-empty__action .gcsa-btn {
2156
+ /* Figma 2174:3336:soft primary outline pill(压过 dark primary 实心样式) */
2157
+ .gcsa-empty__action .gcsa-btn,
2158
+ .gcsa-empty__action .gcsa-btn--primary,
2159
+ .gcsa-empty__action .gcsa-btn--secondary,
2160
+ .gcsa-empty__action .gcsa-btn--ghost,
2161
+ [data-gcsa-theme='dark'] .gcsa-empty__action .gcsa-btn,
2162
+ [data-gcsa-theme='dark'] .gcsa-empty__action .gcsa-btn--primary,
2163
+ [data-gcsa-theme='dark'] .gcsa-empty__action .gcsa-btn--secondary,
2164
+ [data-gcsa-theme='dark'] .gcsa-empty__action .gcsa-btn--ghost,
2165
+ [data-gcsa-theme='light'] .gcsa-empty__action .gcsa-btn,
2166
+ [data-gcsa-theme='light'] .gcsa-empty__action .gcsa-btn--primary {
2167
+ height: 32px;
2168
+ min-height: 32px;
2169
+ padding-inline: 13px;
2119
2170
  border-radius: 20px;
2171
+ border-color: rgba(0, 187, 204, 0.32);
2172
+ background: rgba(0, 187, 204, 0.08);
2173
+ box-shadow: none;
2174
+ color: var(--gcsa-color-primary);
2175
+ font-size: 13px;
2176
+ font-weight: 600;
2177
+ line-height: 13px;
2178
+ }
2179
+
2180
+ .gcsa-empty__action .gcsa-btn:hover:not(:disabled),
2181
+ .gcsa-empty__action .gcsa-btn--primary:hover:not(:disabled),
2182
+ [data-gcsa-theme='dark'] .gcsa-empty__action .gcsa-btn:hover:not(:disabled),
2183
+ [data-gcsa-theme='dark'] .gcsa-empty__action .gcsa-btn--primary:hover:not(:disabled),
2184
+ [data-gcsa-theme='light'] .gcsa-empty__action .gcsa-btn:hover:not(:disabled),
2185
+ [data-gcsa-theme='light'] .gcsa-empty__action .gcsa-btn--primary:hover:not(:disabled) {
2186
+ border-color: rgba(0, 187, 204, 0.48);
2187
+ background: rgba(0, 187, 204, 0.14);
2188
+ box-shadow: none;
2189
+ color: var(--gcsa-color-primary);
2120
2190
  }
2121
2191
 
2122
2192
  /* Chat */
@@ -2755,7 +2825,7 @@
2755
2825
  box-sizing: border-box;
2756
2826
  overflow: hidden;
2757
2827
  border-radius: inherit;
2758
- background: color-mix(in srgb, var(--gcsa-color-text-heading, #000205) 62%, transparent);
2828
+ background: color-mix(in srgb, var(--gcsa-color-bg-base) 62%, transparent);
2759
2829
  transition: opacity 0.25s ease;
2760
2830
  opacity: 1;
2761
2831
  }
@@ -2763,7 +2833,7 @@
2763
2833
  .gcsa-loading-mask--fullscreen {
2764
2834
  position: fixed;
2765
2835
  border-radius: 0;
2766
- background: #000205;
2836
+ background: var(--gcsa-color-bg-base);
2767
2837
  }
2768
2838
 
2769
2839
  .gcsa-loading-spinner {
@@ -3508,17 +3578,19 @@
3508
3578
  display: inline-flex;
3509
3579
  align-items: center;
3510
3580
  justify-content: center;
3511
- min-height: 40px;
3512
- padding: 10px 16px;
3581
+ min-width: 96px;
3582
+ height: 24px;
3583
+ min-height: 24px;
3584
+ padding: 0 16px;
3513
3585
  margin-bottom: -1px;
3514
3586
  border: none;
3515
3587
  border-bottom: 2px solid transparent;
3516
3588
  background: transparent;
3517
3589
  color: var(--gcsa-color-text-secondary);
3518
3590
  font: inherit;
3519
- font-size: 14px;
3591
+ font-size: 13px;
3520
3592
  font-weight: 500;
3521
- line-height: 1.4;
3593
+ line-height: 16px;
3522
3594
  cursor: pointer;
3523
3595
  white-space: nowrap;
3524
3596
  transition:
@@ -3568,7 +3640,7 @@
3568
3640
  }
3569
3641
 
3570
3642
  .gcsa-tabs--soft .gcsa-tabs__trigger {
3571
- min-height: 36px;
3643
+ min-height: var(--gcsa-control-height-md);
3572
3644
  padding: 8px 14px;
3573
3645
  margin-bottom: 0;
3574
3646
  border: 1px solid transparent;
@@ -3664,16 +3736,19 @@
3664
3736
  }
3665
3737
 
3666
3738
  .gcsa-statistic__label {
3667
- font-size: 11px;
3668
- letter-spacing: 0.1em;
3669
- text-transform: uppercase;
3670
- color: var(--gcsa-color-text-muted);
3739
+ font-size: 12px;
3740
+ letter-spacing: 0;
3741
+ text-transform: none;
3742
+ color: var(--gcsa-color-text-secondary);
3743
+ font-weight: 600;
3671
3744
  }
3672
3745
 
3673
3746
  .gcsa-statistic__value {
3674
- margin-top: 6px;
3675
- font-family: var(--gcsa-font-brand);
3676
- font-size: 28px;
3747
+ margin-top: 4px;
3748
+ font-family: var(--gcsa-font-body);
3749
+ font-size: 24px;
3750
+ font-weight: 600;
3751
+ line-height: 1.2;
3677
3752
  color: var(--gcsa-color-primary);
3678
3753
  }
3679
3754
 
@@ -3949,7 +4024,7 @@
3949
4024
  .gcsa-checkbox__label,
3950
4025
  .gcsa-switch__label {
3951
4026
  color: var(--gcsa-color-text);
3952
- font-size: 14px;
4027
+ font-size: 13px;
3953
4028
  line-height: 1.4;
3954
4029
  }
3955
4030
 
@@ -3957,7 +4032,7 @@
3957
4032
  width: 18px;
3958
4033
  height: 18px;
3959
4034
  flex-shrink: 0;
3960
- border: 1px solid var(--gcsa-color-border-strong);
4035
+ border: 1px solid var(--gcsa-color-border);
3961
4036
  border-radius: 4px;
3962
4037
  background: var(--gcsa-color-bg-input);
3963
4038
  display: grid;
@@ -3971,7 +4046,8 @@
3971
4046
  .gcsa-checkbox__indicator {
3972
4047
  display: grid;
3973
4048
  place-items: center;
3974
- color: var(--gcsa-color-primary);
4049
+ /* Figma checked:主色底 + 白勾(两主题一致) */
4050
+ color: #ffffff;
3975
4051
  opacity: 0;
3976
4052
  transform: scale(0.85);
3977
4053
  transition:
@@ -3981,7 +4057,7 @@
3981
4057
 
3982
4058
  .gcsa-checkbox__box[data-state='checked'],
3983
4059
  .gcsa-checkbox__box[data-checked] {
3984
- background: var(--gcsa-color-primary-muted);
4060
+ background: var(--gcsa-color-primary);
3985
4061
  border-color: var(--gcsa-color-primary);
3986
4062
  }
3987
4063
 
@@ -4077,15 +4153,16 @@
4077
4153
  width: 100%;
4078
4154
  max-width: 100%;
4079
4155
  min-width: 0;
4080
- height: 38px;
4081
- min-height: 38px;
4082
- padding: 0 10px 0 12px;
4156
+ height: var(--gcsa-control-height-md);
4157
+ min-height: var(--gcsa-control-height-md);
4158
+ padding: 0 10px 0 var(--gcsa-control-padding-x-md);
4083
4159
  border: 1px solid var(--gcsa-color-border-subtle);
4084
4160
  border-radius: var(--gcsa-radius-sm);
4085
4161
  background: var(--gcsa-color-bg-input);
4086
4162
  color: var(--gcsa-color-text);
4087
4163
  cursor: pointer;
4088
4164
  font: inherit;
4165
+ font-size: var(--gcsa-control-font-size-md);
4089
4166
  text-align: left;
4090
4167
  outline: none;
4091
4168
  transition:
@@ -4512,7 +4589,7 @@
4512
4589
 
4513
4590
  .gcsa-radio__label {
4514
4591
  color: var(--gcsa-color-text);
4515
- font-size: 14px;
4592
+ font-size: 13px;
4516
4593
  line-height: 1.4;
4517
4594
  }
4518
4595
 
@@ -4530,9 +4607,12 @@
4530
4607
  width: 100%;
4531
4608
  max-width: 200px;
4532
4609
  min-width: 0;
4610
+ height: var(--gcsa-control-height-md);
4611
+ min-height: var(--gcsa-control-height-md);
4533
4612
  border: 1px solid var(--gcsa-color-border-subtle);
4534
4613
  border-radius: var(--gcsa-radius-sm);
4535
4614
  background: var(--gcsa-color-bg-input);
4615
+ font-size: var(--gcsa-control-font-size-md);
4536
4616
  overflow: hidden;
4537
4617
  transition:
4538
4618
  border-color var(--gcsa-motion-fast) ease,
@@ -4647,11 +4727,14 @@
4647
4727
  align-items: center;
4648
4728
  gap: 4px;
4649
4729
  width: 100%;
4650
- min-height: 38px;
4651
- padding: 0 4px 0 12px;
4730
+ min-height: var(--gcsa-control-height-md);
4731
+ height: var(--gcsa-control-height-md);
4732
+ box-sizing: border-box;
4733
+ padding: 0 4px 0 var(--gcsa-control-padding-x-md);
4652
4734
  border: 1px solid var(--gcsa-color-border-subtle);
4653
4735
  border-radius: var(--gcsa-radius-sm);
4654
4736
  background: var(--gcsa-color-bg-input);
4737
+ font-size: var(--gcsa-control-font-size-md);
4655
4738
  transition:
4656
4739
  border-color var(--gcsa-motion-fast) ease,
4657
4740
  box-shadow var(--gcsa-motion-fast) ease;
@@ -5290,7 +5373,7 @@ button.gcsa-steps__trigger { cursor: pointer; }
5290
5373
  @media (max-width: 640px) { .gcsa-steps:not(.gcsa-steps--vertical) { overflow-x: auto; padding-bottom: 4px; } .gcsa-steps:not(.gcsa-steps--vertical) .gcsa-steps__item { min-width: 150px; } }
5291
5374
 
5292
5375
  /* Cascader */
5293
- .gcsa-cascader__trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 180px; height: 40px; min-height: 40px; box-sizing: border-box; padding: 0 12px 0 16px; border: 1px solid var(--gcsa-color-border); border-radius: 8px; color: var(--gcsa-color-text-heading); background: var(--gcsa-color-bg-surface); font: inherit; line-height: 16px; text-align: start; cursor: pointer; transition: border-color var(--gcsa-motion-fast) var(--gcsa-ease-out), box-shadow var(--gcsa-motion-fast) var(--gcsa-ease-out); }
5376
+ .gcsa-cascader__trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 180px; height: var(--gcsa-control-height-md); min-height: var(--gcsa-control-height-md); box-sizing: border-box; padding: 0 12px 0 var(--gcsa-control-padding-x-lg); border: 1px solid var(--gcsa-color-border); border-radius: 8px; color: var(--gcsa-color-text-heading); background: var(--gcsa-color-bg-surface); font: inherit; font-size: var(--gcsa-control-font-size-md); line-height: 16px; text-align: start; cursor: pointer; transition: border-color var(--gcsa-motion-fast) var(--gcsa-ease-out), box-shadow var(--gcsa-motion-fast) var(--gcsa-ease-out); }
5294
5377
  .gcsa-cascader__trigger:hover:not(:disabled) { border-color: var(--gcsa-color-primary); }
5295
5378
  .gcsa-cascader__trigger[data-state='open'], .gcsa-cascader__trigger[aria-expanded='true'] { border-color: var(--gcsa-color-border-strong); box-shadow: 0 0 0 3px var(--gcsa-color-primary-muted); }
5296
5379
  .gcsa-cascader__trigger:disabled { opacity: 0.5; cursor: not-allowed; }
@@ -5299,10 +5382,10 @@ button.gcsa-steps__trigger { cursor: pointer; }
5299
5382
  .gcsa-cascader__value[data-placeholder] { color: var(--gcsa-color-text-muted); }
5300
5383
  .gcsa-cascader__trigger > .gcsa-icon { flex: 0 0 16px; color: var(--gcsa-color-text-muted); transition: transform var(--gcsa-motion-fast) var(--gcsa-ease-out); }
5301
5384
  .gcsa-cascader__trigger[data-state='open'] > .gcsa-icon, .gcsa-cascader__trigger[aria-expanded='true'] > .gcsa-icon { transform: rotate(180deg); }
5302
- .gcsa-popover:has(.gcsa-cascader__panel) { min-width: 0; max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
5385
+ .gcsa-popover:has(.gcsa-cascader__panel) { min-width: 0; max-width: none; width: max-content; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
5303
5386
  .gcsa-popover:has(.gcsa-cascader__panel) > .gcsa-popover__body { padding: 0; }
5304
- .gcsa-cascader__panel { display: flex; width: max-content; min-width: 0; max-width: min(720px, calc(100vw - 32px)); max-height: 320px; overflow: auto; padding: 6px 4px; border: 1px solid var(--gcsa-color-border-subtle); border-radius: 8px; background: var(--gcsa-color-bg-surface); box-shadow: var(--gcsa-shadow-md); }
5305
- .gcsa-cascader__column { flex: 0 0 180px; min-width: 180px; padding: 0 4px; border-inline-end: 1px solid var(--gcsa-color-border-subtle); }
5387
+ .gcsa-cascader__panel { display: flex; width: max-content; min-width: var(--reference-width, 180px); max-width: min(720px, var(--available-width, calc(100vw - 32px))); max-height: 320px; overflow: auto; padding: 6px 4px; border: 1px solid var(--gcsa-color-border-subtle); border-radius: 8px; background: var(--gcsa-color-bg-surface); box-shadow: var(--gcsa-shadow-md); color: var(--gcsa-color-text); }
5388
+ .gcsa-cascader__column { flex: 1 0 180px; min-width: 180px; padding: 0 4px; border-inline-end: 1px solid var(--gcsa-color-border-subtle); }
5306
5389
  .gcsa-cascader__column:last-child { border-inline-end: 0; }
5307
5390
  .gcsa-cascader__option { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 32px; gap: 10px; padding: 0 12px; border: 0; border-radius: 4px; color: var(--gcsa-color-text-secondary); background: transparent; font: inherit; font-size: 13px; line-height: 16px; text-align: start; cursor: pointer; transition: color var(--gcsa-motion-fast) var(--gcsa-ease-out), background var(--gcsa-motion-fast) var(--gcsa-ease-out); }
5308
5391
  .gcsa-cascader__option:hover:not(:disabled), .gcsa-cascader__option--active { color: var(--gcsa-color-primary); background: var(--gcsa-color-primary-muted); }
@@ -5320,10 +5403,11 @@ button.gcsa-steps__trigger { cursor: pointer; }
5320
5403
  .gcsa-transfer__search .gcsa-input { min-height: 32px; height: 32px; font-size: 12px; }
5321
5404
  .gcsa-transfer__list { flex: 1; min-height: 200px; max-height: 260px; overflow: auto; padding: 4px 6px 8px; }
5322
5405
  .gcsa-transfer__item { display: flex; align-items: center; width: 100%; min-height: 36px; gap: 8px; padding: 6px 8px; border: 0; border-radius: 5px; color: var(--gcsa-color-text-secondary); background: transparent; text-align: start; cursor: pointer; }
5323
- .gcsa-transfer__item:hover:not(:disabled), .gcsa-transfer__item--selected { color: var(--gcsa-color-primary); background: var(--gcsa-color-primary-muted); }
5324
- .gcsa-transfer__item:disabled { opacity: 0.45; cursor: not-allowed; }
5325
- .gcsa-transfer__check { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid var(--gcsa-color-border-strong); border-radius: 4px; color: var(--gcsa-color-text-on-surface); background: var(--gcsa-color-primary); font-size: 11px; line-height: 1; }
5326
- .gcsa-transfer__item:not(.gcsa-transfer__item--selected) .gcsa-transfer__check { color: transparent; background: transparent; }
5406
+ .gcsa-transfer__item:hover:not([aria-disabled='true']), .gcsa-transfer__item--selected { color: var(--gcsa-color-primary); background: var(--gcsa-color-primary-muted); }
5407
+ .gcsa-transfer__item[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; }
5408
+ .gcsa-transfer__check-wrap { display: inline-flex; flex: 0 0 auto; }
5409
+ .gcsa-transfer__item .gcsa-checkbox { min-height: 0; padding: 0; gap: 0; }
5410
+ .gcsa-transfer__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
5327
5411
  .gcsa-transfer__actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 8px; }
5328
5412
  .gcsa-transfer__action { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--gcsa-color-border-subtle); border-radius: 6px; color: var(--gcsa-color-text-secondary); background: var(--gcsa-color-bg-surface); font-size: 22px; line-height: 1; cursor: pointer; }
5329
5413
  .gcsa-transfer__action:hover:not(:disabled) { color: var(--gcsa-color-primary); border-color: var(--gcsa-color-primary); background: var(--gcsa-color-primary-muted); }
@@ -5358,14 +5442,15 @@ button.gcsa-steps__trigger { cursor: pointer; }
5358
5442
  flex-direction: column;
5359
5443
  align-items: center;
5360
5444
  justify-content: center;
5361
- gap: 8px;
5445
+ gap: 6px;
5362
5446
  box-sizing: border-box;
5363
5447
  width: 100%;
5364
- min-height: 123px;
5365
- padding: 17px 13px;
5366
- border: 1px dashed var(--gcsa-color-border-strong);
5367
- border-radius: 4px;
5368
- background: var(--gcsa-color-primary-muted);
5448
+ min-height: 96px;
5449
+ height: auto;
5450
+ padding: 16px 12px;
5451
+ border: 1px dashed var(--gcsa-color-border);
5452
+ border-radius: 8px;
5453
+ background: var(--gcsa-color-bg-base);
5369
5454
  cursor: pointer;
5370
5455
  transition: border-color var(--gcsa-motion-fast) ease, background var(--gcsa-motion-fast) ease;
5371
5456
  }
@@ -5373,36 +5458,37 @@ button.gcsa-steps__trigger { cursor: pointer; }
5373
5458
  .gcsa-upload__dropzone:hover,
5374
5459
  .gcsa-upload--dragging .gcsa-upload__dropzone {
5375
5460
  border-color: var(--gcsa-color-primary);
5376
- background: var(--gcsa-color-primary-muted-strong);
5461
+ background: var(--gcsa-color-primary-muted);
5377
5462
  }
5378
5463
 
5379
5464
  .gcsa-upload__icon {
5380
5465
  display: inline-flex;
5381
5466
  align-items: center;
5382
5467
  justify-content: center;
5383
- width: 32px;
5384
- height: 32px;
5468
+ width: 40px;
5469
+ height: 40px;
5385
5470
  color: var(--gcsa-color-primary);
5386
5471
  }
5387
5472
 
5388
5473
  .gcsa-upload__icon .gcsa-icon,
5389
5474
  .gcsa-upload__icon .gcsa-icon svg {
5390
- width: 23px;
5391
- height: 23px;
5475
+ width: 40px;
5476
+ height: 40px;
5392
5477
  }
5393
5478
 
5394
5479
  .gcsa-upload__title {
5395
5480
  color: var(--gcsa-color-text);
5396
- font-size: 16px;
5397
- line-height: 24px;
5481
+ font-size: 13px;
5482
+ font-weight: 600;
5483
+ line-height: 1.2;
5398
5484
  text-align: center;
5399
5485
  }
5400
5486
 
5401
5487
  .gcsa-upload__hint {
5402
5488
  margin: 0;
5403
- color: color-mix(in srgb, var(--gcsa-color-text) 30%, transparent);
5404
- font-size: 14px;
5405
- line-height: 16.8px;
5489
+ color: var(--gcsa-color-text-secondary);
5490
+ font-size: 12px;
5491
+ line-height: 1.2;
5406
5492
  text-align: center;
5407
5493
  }
5408
5494
 
@@ -6347,27 +6433,28 @@ button.gcsa-steps__trigger { cursor: pointer; }
6347
6433
  }
6348
6434
 
6349
6435
  [data-gcsa-theme='dark'] .gcsa-btn {
6350
- height: 40px;
6436
+ height: var(--gcsa-control-height-md);
6437
+ min-height: var(--gcsa-control-height-md);
6351
6438
  padding-inline: 16px;
6352
6439
  border-radius: 20px;
6353
- font-size: 13px;
6440
+ font-size: var(--gcsa-control-font-size-md);
6354
6441
  }
6355
6442
 
6356
6443
  [data-gcsa-theme='dark'] .gcsa-btn--sm {
6357
- height: var(--gcsa-control-height-sm, 24px);
6358
- min-height: var(--gcsa-control-height-sm, 24px);
6444
+ height: var(--gcsa-control-height-sm);
6445
+ min-height: var(--gcsa-control-height-sm);
6359
6446
  padding-inline: 12px;
6360
6447
  }
6361
6448
 
6362
6449
  [data-gcsa-theme='dark'] .gcsa-btn--md {
6363
- height: var(--gcsa-control-height-md, 32px);
6364
- min-height: var(--gcsa-control-height-md, 32px);
6450
+ height: var(--gcsa-control-height-md);
6451
+ min-height: var(--gcsa-control-height-md);
6365
6452
  padding-inline: 16px;
6366
6453
  }
6367
6454
 
6368
6455
  [data-gcsa-theme='dark'] .gcsa-btn--lg {
6369
- height: var(--gcsa-control-height-lg, 40px);
6370
- min-height: var(--gcsa-control-height-lg, 40px);
6456
+ height: var(--gcsa-control-height-lg);
6457
+ min-height: var(--gcsa-control-height-lg);
6371
6458
  padding-inline: 20px;
6372
6459
  }
6373
6460
 
@@ -6469,15 +6556,13 @@ button.gcsa-steps__trigger { cursor: pointer; }
6469
6556
  [data-gcsa-theme='dark'] .gcsa-table td { color: var(--gcsa-color-text); }
6470
6557
 
6471
6558
  [data-gcsa-theme='dark'] .gcsa-date-picker__control {
6472
- height: 40px;
6473
- min-height: 40px;
6474
6559
  box-sizing: border-box;
6475
- padding-left: 16px;
6560
+ padding-left: var(--gcsa-control-padding-x-lg);
6476
6561
  }
6477
6562
 
6478
6563
  [data-gcsa-theme='dark'] .gcsa-date-picker__control > .gcsa-date-picker__input {
6479
- height: 30px;
6480
- min-height: 30px;
6564
+ height: 26px;
6565
+ min-height: 26px;
6481
6566
  box-sizing: border-box;
6482
6567
  padding: 0;
6483
6568
  border: 0 !important;
@@ -6576,32 +6661,33 @@ button.gcsa-steps__trigger { cursor: pointer; }
6576
6661
  }
6577
6662
 
6578
6663
  [data-gcsa-theme='light'] .gcsa-btn {
6579
- height: 40px;
6664
+ height: var(--gcsa-control-height-md);
6665
+ min-height: var(--gcsa-control-height-md);
6580
6666
  padding: 0 16px;
6581
6667
  gap: 8px;
6582
6668
  border-radius: 20px;
6583
- font-size: 13px;
6669
+ font-size: var(--gcsa-control-font-size-md);
6584
6670
  font-weight: 600;
6585
6671
  letter-spacing: 0;
6586
6672
  }
6587
6673
 
6588
6674
  [data-gcsa-theme='light'] .gcsa-btn--sm {
6589
- height: var(--gcsa-control-height-sm, 24px);
6590
- min-height: var(--gcsa-control-height-sm, 24px);
6675
+ height: var(--gcsa-control-height-sm);
6676
+ min-height: var(--gcsa-control-height-sm);
6591
6677
  padding-inline: 16px;
6592
- font-size: 13px;
6678
+ font-size: var(--gcsa-control-font-size-sm);
6593
6679
  }
6594
6680
 
6595
6681
  [data-gcsa-theme='light'] .gcsa-btn--md {
6596
- height: var(--gcsa-control-height-md, 32px);
6597
- min-height: var(--gcsa-control-height-md, 32px);
6682
+ height: var(--gcsa-control-height-md);
6683
+ min-height: var(--gcsa-control-height-md);
6598
6684
  padding-inline: 16px;
6599
- font-size: 13px;
6685
+ font-size: var(--gcsa-control-font-size-md);
6600
6686
  }
6601
6687
 
6602
6688
  [data-gcsa-theme='light'] .gcsa-btn--lg {
6603
- height: var(--gcsa-control-height-lg, 40px);
6604
- min-height: var(--gcsa-control-height-lg, 40px);
6689
+ height: var(--gcsa-control-height-lg);
6690
+ min-height: var(--gcsa-control-height-lg);
6605
6691
  padding-inline: 24px;
6606
6692
  font-size: 14px;
6607
6693
  }
@@ -6779,7 +6865,7 @@ button.gcsa-steps__trigger { cursor: pointer; }
6779
6865
  min-height: 128px;
6780
6866
  box-sizing: border-box;
6781
6867
  padding: 41px 25px;
6782
- background: #ffffff;
6868
+ background: var(--gcsa-color-bg-surface);
6783
6869
  border-color: rgba(3, 4, 7, 0.08);
6784
6870
  border-radius: 12px;
6785
6871
  }
@@ -6793,15 +6879,17 @@ button.gcsa-steps__trigger { cursor: pointer; }
6793
6879
 
6794
6880
  [data-gcsa-theme='light'] .gcsa-empty__title {
6795
6881
  margin: 12px 0 0;
6882
+ color: rgba(15, 23, 42, 0.6);
6796
6883
  font-family: var(--gcsa-font-body);
6797
- font-size: 16px;
6884
+ font-size: 14px;
6798
6885
  font-weight: 400;
6799
6886
  line-height: 24px;
6800
6887
  }
6801
6888
 
6802
6889
  [data-gcsa-theme='light'] .gcsa-empty__desc {
6803
6890
  margin-top: 4px;
6804
- font-size: 14px;
6891
+ color: rgba(15, 23, 42, 0.3);
6892
+ font-size: 12px;
6805
6893
  line-height: 22.4px;
6806
6894
  }
6807
6895
 
@@ -6906,37 +6994,31 @@ button.gcsa-steps__trigger { cursor: pointer; }
6906
6994
  }
6907
6995
 
6908
6996
  [data-gcsa-theme='light'] .gcsa-input-number {
6909
- height: 40px;
6910
- min-height: 40px;
6911
6997
  box-sizing: border-box;
6912
6998
  border-color: var(--gcsa-color-border);
6913
6999
  border-radius: 8px;
6914
7000
  }
6915
7001
 
6916
7002
  :is([data-gcsa-theme='light'], [data-gcsa-theme='dark']) .gcsa-input-number {
6917
- height: 40px;
6918
- min-height: 40px;
6919
7003
  box-sizing: border-box;
6920
7004
  }
6921
7005
 
6922
7006
  [data-gcsa-theme='light'] .gcsa-input-number__btn {
6923
- min-height: 38px;
7007
+ min-height: 34px;
6924
7008
  background: #ffffff;
6925
7009
  }
6926
7010
 
6927
7011
  [data-gcsa-theme='light'] .gcsa-date-picker__control {
6928
- height: 40px;
6929
- min-height: 40px;
6930
7012
  box-sizing: border-box;
6931
- padding-left: 16px;
7013
+ padding-left: var(--gcsa-control-padding-x-lg);
6932
7014
  border-color: var(--gcsa-color-border);
6933
7015
  border-radius: 8px;
6934
7016
  background: #ffffff;
6935
7017
  }
6936
7018
 
6937
7019
  [data-gcsa-theme='light'] .gcsa-date-picker__control > .gcsa-date-picker__input {
6938
- height: 30px;
6939
- min-height: 30px;
7020
+ height: 26px;
7021
+ min-height: 26px;
6940
7022
  box-sizing: border-box;
6941
7023
  padding: 0;
6942
7024
  border: 0 !important;
@@ -7071,24 +7153,24 @@ button.gcsa-steps__trigger { cursor: pointer; }
7071
7153
  }
7072
7154
 
7073
7155
  [data-gcsa-theme='dark'] .gcsa-upload__dropzone {
7074
- background: rgba(0, 187, 204, 0.08);
7075
- border-color: rgba(0, 187, 204, 0.32);
7156
+ background: var(--gcsa-color-bg-base);
7157
+ border-color: var(--gcsa-color-border);
7076
7158
  }
7077
7159
 
7078
7160
  [data-gcsa-theme='dark'] .gcsa-upload__dropzone:hover,
7079
7161
  [data-gcsa-theme='dark'] .gcsa-upload--dragging .gcsa-upload__dropzone {
7080
- background: rgba(0, 187, 204, 0.14);
7081
7162
  border-color: var(--gcsa-color-primary);
7163
+ background: var(--gcsa-color-primary-muted);
7082
7164
  }
7083
7165
 
7084
7166
  [data-gcsa-theme='light'] .gcsa-upload__dropzone {
7085
- background: rgba(0, 187, 204, 0.08);
7086
- border-color: rgba(0, 187, 204, 0.32);
7167
+ background: var(--gcsa-color-bg-elevated);
7168
+ border-color: var(--gcsa-color-border);
7087
7169
  }
7088
7170
 
7089
7171
  [data-gcsa-theme='light'] .gcsa-upload__dropzone:hover,
7090
7172
  [data-gcsa-theme='light'] .gcsa-upload--dragging .gcsa-upload__dropzone {
7091
- background: rgba(0, 187, 204, 0.14);
7173
+ background: var(--gcsa-color-primary-muted);
7092
7174
  border-color: var(--gcsa-color-primary);
7093
7175
  }
7094
7176
 
@@ -7150,13 +7232,14 @@ button.gcsa-steps__trigger { cursor: pointer; }
7150
7232
  align-items: center;
7151
7233
  gap: 4px;
7152
7234
  width: 100%;
7153
- min-height: 40px;
7154
- height: 40px;
7235
+ min-height: var(--gcsa-control-height-md);
7236
+ height: var(--gcsa-control-height-md);
7155
7237
  box-sizing: border-box;
7156
- padding: 0 4px 0 16px;
7238
+ padding: 0 4px 0 var(--gcsa-control-padding-x-lg);
7157
7239
  border: 1px solid var(--gcsa-color-border);
7158
7240
  border-radius: 8px;
7159
7241
  background: var(--gcsa-color-bg-input);
7242
+ font-size: var(--gcsa-control-font-size-md);
7160
7243
  transition:
7161
7244
  border-color var(--gcsa-motion-fast) ease,
7162
7245
  box-shadow var(--gcsa-motion-fast) ease;