@lec-space/liquidglass 1.0.0 → 1.1.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.
Files changed (71) hide show
  1. package/README.md +5 -3
  2. package/dist/button-DSXdLDuQ.js +1051 -0
  3. package/dist/button-EFLg6M7I.cjs +1 -0
  4. package/dist/index.cjs +2 -2
  5. package/dist/index.js +5798 -1307
  6. package/dist/styles.css +3300 -3
  7. package/dist/types/accordion.d.ts +33 -0
  8. package/dist/types/aspect-ratio.d.ts +10 -0
  9. package/dist/types/autocomplete.d.ts +41 -0
  10. package/dist/types/avatar-group.d.ts +16 -0
  11. package/dist/types/box.d.ts +12 -0
  12. package/dist/types/breadcrumbs.d.ts +31 -0
  13. package/dist/types/button-group.d.ts +12 -0
  14. package/dist/types/calendar.d.ts +23 -0
  15. package/dist/types/checkbox-group.d.ts +39 -0
  16. package/dist/types/close-button.d.ts +11 -0
  17. package/dist/types/color-area.d.ts +15 -0
  18. package/dist/types/color-field.d.ts +15 -0
  19. package/dist/types/color-picker.d.ts +21 -0
  20. package/dist/types/color-slider.d.ts +21 -0
  21. package/dist/types/color-swatch-picker.d.ts +24 -0
  22. package/dist/types/color-swatch.d.ts +15 -0
  23. package/dist/types/combo-box.d.ts +37 -0
  24. package/dist/types/config-provider.d.ts +38 -0
  25. package/dist/types/confirm.d.ts +22 -0
  26. package/dist/types/container.d.ts +12 -0
  27. package/dist/types/date-field.d.ts +25 -0
  28. package/dist/types/date-picker.d.ts +29 -0
  29. package/dist/types/description.d.ts +8 -0
  30. package/dist/types/disclosure-group.d.ts +18 -0
  31. package/dist/types/disclosure.d.ts +31 -0
  32. package/dist/types/field-error.d.ts +12 -0
  33. package/dist/types/fieldset.d.ts +12 -0
  34. package/dist/types/flex.d.ts +32 -0
  35. package/dist/types/form.d.ts +12 -0
  36. package/dist/types/grid.d.ts +30 -0
  37. package/dist/types/index.d.ts +54 -0
  38. package/dist/types/input-group.d.ts +22 -0
  39. package/dist/types/input-otp.d.ts +29 -0
  40. package/dist/types/input.d.ts +2 -0
  41. package/dist/types/internal/color.d.ts +29 -0
  42. package/dist/types/internal/form-context.d.ts +5 -0
  43. package/dist/types/internal/layout-style.d.ts +62 -0
  44. package/dist/types/internal/schedule-utils.d.ts +32 -0
  45. package/dist/types/kbd.d.ts +13 -0
  46. package/dist/types/label.d.ts +12 -0
  47. package/dist/types/link.d.ts +19 -0
  48. package/dist/types/list-box.d.ts +39 -0
  49. package/dist/types/loading-overlay.d.ts +17 -0
  50. package/dist/types/mention.d.ts +44 -0
  51. package/dist/types/meter.d.ts +28 -0
  52. package/dist/types/number-field.d.ts +25 -0
  53. package/dist/types/progress-circle.d.ts +20 -0
  54. package/dist/types/radio-group.d.ts +39 -0
  55. package/dist/types/range-calendar.d.ts +24 -0
  56. package/dist/types/schedule-calendar.d.ts +103 -0
  57. package/dist/types/scroll-shadow.d.ts +16 -0
  58. package/dist/types/section.d.ts +10 -0
  59. package/dist/types/separator.d.ts +13 -0
  60. package/dist/types/steps.d.ts +30 -0
  61. package/dist/types/surface.d.ts +17 -0
  62. package/dist/types/tag-group.d.ts +40 -0
  63. package/dist/types/tags-input.d.ts +29 -0
  64. package/dist/types/time-field.d.ts +25 -0
  65. package/dist/types/toggle-button-group.d.ts +24 -0
  66. package/dist/types/toggle-button.d.ts +27 -0
  67. package/dist/workspace.cjs +1 -1
  68. package/dist/workspace.js +1 -1
  69. package/package.json +1 -1
  70. package/dist/button-BCSOcrTI.cjs +0 -1
  71. package/dist/button-SXD_7EGY.js +0 -970
package/dist/styles.css CHANGED
@@ -816,7 +816,9 @@
816
816
  color: var(--lg-muted);
817
817
  }
818
818
 
819
- .lg-input input::-webkit-search-cancel-button {
819
+ .lg-input input::-webkit-search-cancel-button,
820
+ .lg-input input::-ms-reveal,
821
+ .lg-input input::-ms-clear {
820
822
  display: none;
821
823
  }
822
824
 
@@ -837,7 +839,8 @@
837
839
  height: 100%;
838
840
  }
839
841
 
840
- .lg-input-clear {
842
+ .lg-input-clear,
843
+ .lg-input-toggle {
841
844
  display: grid;
842
845
  flex: none;
843
846
  place-items: center;
@@ -850,6 +853,13 @@
850
853
  color: var(--lg-muted);
851
854
  background: none;
852
855
  cursor: pointer;
856
+ transition: color 160ms ease, background-color 160ms ease;
857
+ }
858
+
859
+ .lg-input-clear:hover,
860
+ .lg-input-toggle:hover {
861
+ color: var(--lg-foreground);
862
+ background-color: var(--lg-fill-subtle);
853
863
  }
854
864
 
855
865
  .lg-input-clear svg {
@@ -857,6 +867,11 @@
857
867
  height: 14px;
858
868
  }
859
869
 
870
+ .lg-input-toggle svg {
871
+ width: 16px;
872
+ height: 16px;
873
+ }
874
+
860
875
  .lg-input:has(input:disabled) {
861
876
  opacity: var(--lg-disabled-opacity);
862
877
  cursor: not-allowed;
@@ -2500,6 +2515,138 @@
2500
2515
  .lg-tag .lg-dismiss {
2501
2516
  margin-inline-end: -5px;
2502
2517
  }
2518
+
2519
+ /* ── @提及胶囊(Mention / MentionGroup) ── */
2520
+ .lg-mention {
2521
+ --lg-mention-color: var(--lg-accent, #0a84ff);
2522
+ display: inline-flex;
2523
+ align-items: center;
2524
+ gap: 5px;
2525
+ max-width: 100%;
2526
+ box-sizing: border-box;
2527
+ height: 28px;
2528
+ padding: 2px 9px 2px 3px;
2529
+ border: 0;
2530
+ border-radius: 999px;
2531
+ font: inherit;
2532
+ font-size: 12.5px;
2533
+ line-height: 1;
2534
+ vertical-align: middle;
2535
+ color: color-mix(in srgb, var(--lg-mention-color) 76%, var(--lg-foreground));
2536
+ background-color: color-mix(in srgb, var(--lg-mention-color) 11%, transparent);
2537
+ box-shadow: inset 0 0 0 0.5px
2538
+ color-mix(in srgb, var(--lg-mention-color) 28%, transparent);
2539
+ transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
2540
+ }
2541
+ .lg-mention[data-size="small"] {
2542
+ height: 22px;
2543
+ padding: 2px 7px 2px 2px;
2544
+ gap: 4px;
2545
+ font-size: 11.5px;
2546
+ }
2547
+ .lg-mention[data-mention-tone="neutral"] {
2548
+ --lg-mention-color: var(--lg-secondary, #64748b);
2549
+ color: var(--lg-foreground);
2550
+ }
2551
+ .lg-mention[data-mention-tone="success"] {
2552
+ --lg-mention-color: #16a34a;
2553
+ }
2554
+ .lg-mention[data-mention-tone="warning"] {
2555
+ --lg-mention-color: #d97706;
2556
+ }
2557
+ .lg-mention-interactive {
2558
+ cursor: pointer;
2559
+ }
2560
+ .lg-mention-interactive:hover {
2561
+ background-color: color-mix(in srgb, var(--lg-mention-color) 18%, transparent);
2562
+ box-shadow: inset 0 0 0 0.5px
2563
+ color-mix(in srgb, var(--lg-mention-color) 46%, transparent);
2564
+ }
2565
+ .lg-mention-interactive:active {
2566
+ transform: scale(0.97);
2567
+ }
2568
+ .lg-mention-avatar {
2569
+ display: inline-flex;
2570
+ align-items: center;
2571
+ justify-content: center;
2572
+ width: 22px;
2573
+ height: 22px;
2574
+ border-radius: 50%;
2575
+ overflow: hidden;
2576
+ flex: none;
2577
+ background: color-mix(in srgb, var(--lg-mention-color) 20%, transparent);
2578
+ color: color-mix(in srgb, var(--lg-mention-color) 85%, var(--lg-foreground));
2579
+ font-size: 11px;
2580
+ font-weight: 650;
2581
+ }
2582
+ .lg-mention[data-size="small"] .lg-mention-avatar {
2583
+ width: 18px;
2584
+ height: 18px;
2585
+ font-size: 10px;
2586
+ }
2587
+ .lg-mention-avatar img {
2588
+ width: 100%;
2589
+ height: 100%;
2590
+ object-fit: cover;
2591
+ display: block;
2592
+ }
2593
+ .lg-mention-label {
2594
+ display: inline-flex;
2595
+ align-items: baseline;
2596
+ min-width: 0;
2597
+ font-weight: 560;
2598
+ }
2599
+ .lg-mention-prefix {
2600
+ opacity: 0.72;
2601
+ margin-inline-end: 0.5px;
2602
+ }
2603
+ .lg-mention-name {
2604
+ overflow: hidden;
2605
+ text-overflow: ellipsis;
2606
+ white-space: nowrap;
2607
+ }
2608
+ .lg-mention-role {
2609
+ display: inline-flex;
2610
+ align-items: center;
2611
+ padding: 1px 5px;
2612
+ border-radius: 999px;
2613
+ font-size: 10px;
2614
+ font-weight: 600;
2615
+ color: color-mix(in srgb, var(--lg-mention-color) 86%, var(--lg-foreground));
2616
+ background: color-mix(in srgb, var(--lg-mention-color) 14%, transparent);
2617
+ flex: none;
2618
+ }
2619
+ .lg-mention-badge {
2620
+ display: inline-flex;
2621
+ align-items: center;
2622
+ justify-content: center;
2623
+ flex: none;
2624
+ }
2625
+ .lg-mention-group {
2626
+ display: inline-flex;
2627
+ align-items: center;
2628
+ flex-wrap: wrap;
2629
+ gap: 6px;
2630
+ }
2631
+ .lg-mention-overflow {
2632
+ display: inline-flex;
2633
+ align-items: center;
2634
+ justify-content: center;
2635
+ height: 28px;
2636
+ padding: 0 8px;
2637
+ border-radius: 999px;
2638
+ font-size: 11.5px;
2639
+ font-weight: 600;
2640
+ color: var(--lg-secondary);
2641
+ background-color: color-mix(in srgb, var(--lg-secondary, #64748b) 12%, transparent);
2642
+ box-shadow: inset 0 0 0 0.5px
2643
+ color-mix(in srgb, var(--lg-secondary, #64748b) 24%, transparent);
2644
+ }
2645
+ .lg-mention-overflow[data-size="small"] {
2646
+ height: 22px;
2647
+ padding: 0 6px;
2648
+ font-size: 11px;
2649
+ }
2503
2650
  .lg-badge {
2504
2651
  position: relative;
2505
2652
  display: inline-flex;
@@ -3733,7 +3880,7 @@
3733
3880
  opacity: var(--lg-disabled-opacity);
3734
3881
  }
3735
3882
  .lg-button:focus-visible, .lg-select-trigger:focus-visible,
3736
- .lg-input-clear:focus-visible, .lg-dismiss:focus-visible,
3883
+ .lg-input-clear:focus-visible, .lg-input-toggle:focus-visible, .lg-dismiss:focus-visible,
3737
3884
  .lg-table-scroll:focus-visible,
3738
3885
  .lg-floating:focus-visible, .lg-tabs-panel:focus-visible {
3739
3886
  outline: 2px solid var(--lg-focus-color);
@@ -3802,3 +3949,3153 @@
3802
3949
  background: Canvas;
3803
3950
  }
3804
3951
  }
3952
+
3953
+
3954
+ /* ==========================================================================
3955
+ HeroUI 同步组件液态玻璃样式(精修版)
3956
+ 统一玻璃材质、柔光内边、干净焦点环(防宿主全局 :focus-visible 双框冲突)与明暗对比
3957
+ ========================================================================== */
3958
+
3959
+ :where(
3960
+ .lg-surface,
3961
+ .lg-separator,
3962
+ .lg-link,
3963
+ .lg-kbd,
3964
+ .lg-close-button,
3965
+ .lg-scroll-shadow,
3966
+ .lg-button-group,
3967
+ .lg-avatar-group,
3968
+ .lg-breadcrumbs,
3969
+ .lg-tag-group,
3970
+ .lg-meter,
3971
+ .lg-progress-circle,
3972
+ .lg-disclosure,
3973
+ .lg-accordion,
3974
+ .lg-listbox,
3975
+ .lg-label,
3976
+ .lg-description,
3977
+ .lg-fieldset,
3978
+ .lg-form,
3979
+ .lg-choice-group,
3980
+ .lg-input-group,
3981
+ .lg-number-field,
3982
+ .lg-otp,
3983
+ .lg-combobox,
3984
+ .lg-autocomplete,
3985
+ .lg-calendar-card,
3986
+ .lg-date-field,
3987
+ .lg-date-picker,
3988
+ .lg-color-picker,
3989
+ .lg-color-field,
3990
+ .lg-color-slider
3991
+ ) {
3992
+ font-family: var(--lg-font-family);
3993
+ font-optical-sizing: auto;
3994
+ box-sizing: border-box;
3995
+ }
3996
+
3997
+ /* 屏蔽复合控件内部子输入框被宿主全局 :focus-visible 画上直角外框,焦点由外层玻璃胶囊统一承载 */
3998
+ .lg-combobox .lg-combobox-input:focus,
3999
+ .lg-combobox .lg-combobox-input:focus-visible,
4000
+ .lg-number-field .lg-number-input:focus,
4001
+ .lg-number-field .lg-number-input:focus-visible,
4002
+ .lg-color-field .lg-color-field-input:focus,
4003
+ .lg-color-field .lg-color-field-input:focus-visible,
4004
+ .lg-autocomplete-search input:focus,
4005
+ .lg-autocomplete-search input:focus-visible,
4006
+ .lg-input-group .lg-input-group-control input:focus,
4007
+ .lg-input-group .lg-input-group-control input:focus-visible,
4008
+ .lg-input-group .lg-input-group-control .lg-input:has(input:focus-visible),
4009
+ .lg-otp .lg-otp-input:focus,
4010
+ .lg-otp .lg-otp-input:focus-visible,
4011
+ .lg-date-field .lg-date-segment:focus,
4012
+ .lg-date-field .lg-date-segment:focus-visible {
4013
+ outline: none;
4014
+ }
4015
+
4016
+ .lg-option-check {
4017
+ display: inline-flex;
4018
+ align-items: center;
4019
+ justify-content: center;
4020
+ width: 16px;
4021
+ height: 16px;
4022
+ color: var(--lg-tab-accent);
4023
+ flex-shrink: 0;
4024
+ }
4025
+ .lg-option-check svg {
4026
+ width: 15px;
4027
+ height: 15px;
4028
+ }
4029
+
4030
+ /* Surface */
4031
+ .lg-surface {
4032
+ color: var(--lg-foreground);
4033
+ min-width: 0;
4034
+ transition:
4035
+ background-color var(--lg-duration-fast) var(--lg-ease),
4036
+ box-shadow var(--lg-duration-fast) var(--lg-ease);
4037
+ }
4038
+ .lg-surface[data-variant="default"] {
4039
+ background: var(--lg-surface);
4040
+ -webkit-backdrop-filter: blur(14px) saturate(1.3);
4041
+ backdrop-filter: blur(14px) saturate(1.3);
4042
+ box-shadow:
4043
+ inset 0 1px 0 rgb(255 255 255 / 0.45),
4044
+ 0 4px 18px -6px var(--lg-shadow);
4045
+ }
4046
+ .lg-surface[data-variant="secondary"] {
4047
+ background: color-mix(in srgb, var(--lg-surface) 74%, var(--lg-fill-subtle));
4048
+ -webkit-backdrop-filter: blur(10px);
4049
+ backdrop-filter: blur(10px);
4050
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28);
4051
+ }
4052
+ .lg-surface[data-variant="tertiary"] {
4053
+ background: var(--lg-fill-subtle);
4054
+ }
4055
+ .lg-surface[data-variant="transparent"] {
4056
+ background: transparent;
4057
+ }
4058
+ [data-theme="dark"] .lg-surface[data-variant="default"] {
4059
+ box-shadow:
4060
+ inset 0 1px 0 rgb(255 255 255 / 0.08),
4061
+ 0 8px 24px -8px rgb(0 0 0 / 0.45);
4062
+ }
4063
+ [data-theme="dark"] .lg-surface[data-variant="secondary"] {
4064
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
4065
+ }
4066
+ .lg-surface[data-bordered] {
4067
+ border: 1px solid var(--lg-surface-edge);
4068
+ }
4069
+ .lg-surface[data-variant="glass"][data-bordered] {
4070
+ border-color: transparent;
4071
+ }
4072
+ .lg-surface[data-padding="none"] { padding: 0; }
4073
+ .lg-surface[data-padding="small"] { padding: var(--lg-space-3); }
4074
+ .lg-surface[data-padding="regular"] { padding: var(--lg-space-4); }
4075
+ .lg-surface[data-padding="large"] { padding: var(--lg-space-5); }
4076
+ .lg-surface[data-radius="none"] { border-radius: 0; }
4077
+ .lg-surface[data-radius="small"] { border-radius: var(--lg-radius-item); }
4078
+ .lg-surface[data-radius="regular"] { border-radius: var(--lg-radius-panel); }
4079
+ .lg-surface[data-radius="large"] { border-radius: 28px; }
4080
+
4081
+ /* Separator */
4082
+ .lg-separator {
4083
+ flex-shrink: 0;
4084
+ position: relative;
4085
+ }
4086
+ .lg-separator[data-orientation="horizontal"] {
4087
+ width: 100%;
4088
+ height: 1px;
4089
+ background: var(--lg-separator);
4090
+ }
4091
+ .lg-separator[data-orientation="horizontal"][data-variant="fade"] {
4092
+ background: linear-gradient(
4093
+ 90deg,
4094
+ transparent,
4095
+ var(--lg-separator) 18%,
4096
+ var(--lg-separator) 82%,
4097
+ transparent
4098
+ );
4099
+ }
4100
+ .lg-separator[data-orientation="vertical"] {
4101
+ width: 1px;
4102
+ align-self: stretch;
4103
+ min-height: 16px;
4104
+ background: var(--lg-separator);
4105
+ }
4106
+ .lg-separator[data-orientation="vertical"][data-variant="fade"] {
4107
+ background: linear-gradient(
4108
+ 180deg,
4109
+ transparent,
4110
+ var(--lg-separator) 18%,
4111
+ var(--lg-separator) 82%,
4112
+ transparent
4113
+ );
4114
+ }
4115
+ .lg-separator[data-labeled] {
4116
+ height: auto;
4117
+ background: none;
4118
+ display: flex;
4119
+ align-items: center;
4120
+ gap: 12px;
4121
+ }
4122
+ .lg-separator[data-labeled]::before,
4123
+ .lg-separator[data-labeled]::after {
4124
+ content: "";
4125
+ flex: 1;
4126
+ height: 1px;
4127
+ background: var(--lg-separator);
4128
+ }
4129
+ .lg-separator[data-labeled][data-variant="fade"]::before {
4130
+ background: linear-gradient(90deg, transparent, var(--lg-separator));
4131
+ }
4132
+ .lg-separator[data-labeled][data-variant="fade"]::after {
4133
+ background: linear-gradient(90deg, var(--lg-separator), transparent);
4134
+ }
4135
+ .lg-separator-label {
4136
+ font-size: var(--lg-font-size-small);
4137
+ color: var(--lg-muted);
4138
+ white-space: nowrap;
4139
+ }
4140
+
4141
+ /* Link */
4142
+ .lg-link {
4143
+ display: inline-flex;
4144
+ align-items: center;
4145
+ gap: 5px;
4146
+ font-size: var(--lg-font-size);
4147
+ line-height: 1.45;
4148
+ font-weight: 500;
4149
+ text-decoration: none;
4150
+ border-radius: 6px;
4151
+ cursor: pointer;
4152
+ transition:
4153
+ opacity var(--lg-duration-fast) var(--lg-ease),
4154
+ color var(--lg-duration-fast) var(--lg-ease);
4155
+ }
4156
+ .lg-link[data-tone="accent"] { color: var(--lg-tab-accent); }
4157
+ .lg-link[data-tone="foreground"] { color: var(--lg-foreground); }
4158
+ .lg-link[data-tone="muted"] { color: var(--lg-muted); }
4159
+ .lg-link[data-tone="danger"] { color: var(--lg-destructive-ink); }
4160
+ .lg-link[data-underline="always"] {
4161
+ text-decoration: underline;
4162
+ text-underline-offset: 3px;
4163
+ text-decoration-thickness: 1.2px;
4164
+ }
4165
+ .lg-link[data-underline="hover"]:hover:not([data-disabled]) {
4166
+ text-decoration: underline;
4167
+ text-underline-offset: 3px;
4168
+ text-decoration-thickness: 1.2px;
4169
+ }
4170
+ .lg-link:hover:not([data-disabled]) { opacity: 0.78; }
4171
+ .lg-link[data-disabled] {
4172
+ opacity: var(--lg-disabled-opacity);
4173
+ cursor: not-allowed;
4174
+ }
4175
+ .lg-link:focus-visible {
4176
+ outline: 2px solid var(--lg-focus-color);
4177
+ outline-offset: 3px;
4178
+ }
4179
+ .lg-link-icon,
4180
+ .lg-link-external {
4181
+ display: inline-flex;
4182
+ align-items: center;
4183
+ width: 14px;
4184
+ height: 14px;
4185
+ flex-shrink: 0;
4186
+ }
4187
+
4188
+ /* Kbd */
4189
+ .lg-kbd {
4190
+ display: inline-flex;
4191
+ align-items: center;
4192
+ gap: 3px;
4193
+ height: 24px;
4194
+ padding: 0 7px;
4195
+ border-radius: 7px;
4196
+ font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
4197
+ font-size: 12px;
4198
+ font-weight: 550;
4199
+ letter-spacing: 0.01em;
4200
+ line-height: 1;
4201
+ color: var(--lg-foreground);
4202
+ font-variant-numeric: tabular-nums;
4203
+ white-space: nowrap;
4204
+ user-select: none;
4205
+ }
4206
+ .lg-kbd[data-size="small"] {
4207
+ height: 20px;
4208
+ padding: 0 5.5px;
4209
+ font-size: 11px;
4210
+ border-radius: 6px;
4211
+ }
4212
+ .lg-kbd[data-variant="glass"] {
4213
+ background: linear-gradient(
4214
+ 180deg,
4215
+ color-mix(in srgb, var(--lg-sheet-opaque) 92%, transparent),
4216
+ color-mix(in srgb, var(--lg-surface) 92%, transparent)
4217
+ );
4218
+ border: 1px solid var(--lg-surface-edge);
4219
+ box-shadow:
4220
+ inset 0 1px 0 rgb(255 255 255 / 0.55),
4221
+ 0 1.5px 0 var(--lg-separator),
4222
+ 0 2px 5px var(--lg-shadow);
4223
+ }
4224
+ [data-theme="dark"] .lg-kbd[data-variant="glass"] {
4225
+ box-shadow:
4226
+ inset 0 1px 0 rgb(255 255 255 / 0.14),
4227
+ 0 1.5px 0 rgb(0 0 0 / 0.55),
4228
+ 0 2px 6px rgb(0 0 0 / 0.35);
4229
+ }
4230
+ .lg-kbd[data-variant="subtle"] {
4231
+ background: var(--lg-fill-subtle);
4232
+ border: 1px solid transparent;
4233
+ }
4234
+ .lg-kbd-abbr {
4235
+ text-decoration: none;
4236
+ font-style: normal;
4237
+ }
4238
+
4239
+ /* CloseButton */
4240
+ .lg-close-button {
4241
+ display: inline-flex;
4242
+ align-items: center;
4243
+ justify-content: center;
4244
+ border: 0;
4245
+ padding: 0;
4246
+ border-radius: 999px;
4247
+ color: var(--lg-foreground);
4248
+ cursor: pointer;
4249
+ flex-shrink: 0;
4250
+ transition:
4251
+ background-color var(--lg-duration-fast) var(--lg-ease),
4252
+ color var(--lg-duration-fast) var(--lg-ease),
4253
+ opacity var(--lg-duration-fast) var(--lg-ease);
4254
+ }
4255
+ .lg-close-button[data-size="small"] { width: 28px; height: 28px; }
4256
+ .lg-close-button[data-size="regular"] { width: 34px; height: 34px; }
4257
+ .lg-close-button[data-size="large"] { width: 42px; height: 42px; }
4258
+ .lg-close-button svg { width: 15px; height: 15px; }
4259
+ .lg-close-button[data-size="small"] svg { width: 13px; height: 13px; }
4260
+ .lg-close-button[data-size="large"] svg { width: 18px; height: 18px; }
4261
+ .lg-close-button[data-variant="subtle"] {
4262
+ background: var(--lg-fill-subtle);
4263
+ }
4264
+ .lg-close-button[data-variant="subtle"]:hover:not(:disabled) {
4265
+ background: var(--lg-highlight);
4266
+ }
4267
+ .lg-close-button:disabled {
4268
+ opacity: var(--lg-disabled-opacity);
4269
+ cursor: not-allowed;
4270
+ }
4271
+ .lg-close-button:focus-visible {
4272
+ outline: 2px solid var(--lg-focus-color);
4273
+ outline-offset: 2px;
4274
+ }
4275
+
4276
+ /* ScrollShadow */
4277
+ .lg-scroll-shadow {
4278
+ position: relative;
4279
+ overflow: auto;
4280
+ max-width: 100%;
4281
+ --lg-scroll-shadow-size: 40px;
4282
+ }
4283
+ .lg-scroll-shadow[data-orientation="vertical"] {
4284
+ overflow-x: hidden;
4285
+ overflow-y: auto;
4286
+ }
4287
+ .lg-scroll-shadow[data-orientation="horizontal"] {
4288
+ overflow-x: auto;
4289
+ overflow-y: hidden;
4290
+ }
4291
+ .lg-scroll-shadow[data-hide-scrollbar] {
4292
+ scrollbar-width: none;
4293
+ }
4294
+ .lg-scroll-shadow[data-hide-scrollbar]::-webkit-scrollbar {
4295
+ display: none;
4296
+ }
4297
+ .lg-scroll-shadow[data-top-scroll]:not([data-bottom-scroll]) {
4298
+ -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--lg-scroll-shadow-size));
4299
+ mask-image: linear-gradient(to bottom, transparent, #000 var(--lg-scroll-shadow-size));
4300
+ }
4301
+ .lg-scroll-shadow[data-bottom-scroll]:not([data-top-scroll]) {
4302
+ -webkit-mask-image: linear-gradient(to top, transparent, #000 var(--lg-scroll-shadow-size));
4303
+ mask-image: linear-gradient(to top, transparent, #000 var(--lg-scroll-shadow-size));
4304
+ }
4305
+ .lg-scroll-shadow[data-top-scroll][data-bottom-scroll] {
4306
+ -webkit-mask-image: linear-gradient(
4307
+ to bottom,
4308
+ transparent,
4309
+ #000 var(--lg-scroll-shadow-size),
4310
+ #000 calc(100% - var(--lg-scroll-shadow-size)),
4311
+ transparent
4312
+ );
4313
+ mask-image: linear-gradient(
4314
+ to bottom,
4315
+ transparent,
4316
+ #000 var(--lg-scroll-shadow-size),
4317
+ #000 calc(100% - var(--lg-scroll-shadow-size)),
4318
+ transparent
4319
+ );
4320
+ }
4321
+ .lg-scroll-shadow[data-left-scroll]:not([data-right-scroll]) {
4322
+ -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--lg-scroll-shadow-size));
4323
+ mask-image: linear-gradient(to right, transparent, #000 var(--lg-scroll-shadow-size));
4324
+ }
4325
+ .lg-scroll-shadow[data-right-scroll]:not([data-left-scroll]) {
4326
+ -webkit-mask-image: linear-gradient(to left, transparent, #000 var(--lg-scroll-shadow-size));
4327
+ mask-image: linear-gradient(to left, transparent, #000 var(--lg-scroll-shadow-size));
4328
+ }
4329
+ .lg-scroll-shadow[data-left-scroll][data-right-scroll] {
4330
+ -webkit-mask-image: linear-gradient(
4331
+ to right,
4332
+ transparent,
4333
+ #000 var(--lg-scroll-shadow-size),
4334
+ #000 calc(100% - var(--lg-scroll-shadow-size)),
4335
+ transparent
4336
+ );
4337
+ mask-image: linear-gradient(
4338
+ to right,
4339
+ transparent,
4340
+ #000 var(--lg-scroll-shadow-size),
4341
+ #000 calc(100% - var(--lg-scroll-shadow-size)),
4342
+ transparent
4343
+ );
4344
+ }
4345
+
4346
+ /* ButtonGroup & ToggleButton & ToggleButtonGroup */
4347
+ .lg-button-group {
4348
+ display: inline-flex;
4349
+ align-items: center;
4350
+ max-width: 100%;
4351
+ flex-wrap: nowrap;
4352
+ }
4353
+ .lg-button-group[data-orientation="vertical"] {
4354
+ flex-direction: column;
4355
+ align-items: stretch;
4356
+ }
4357
+ .lg-button-group[data-full-width] {
4358
+ display: flex;
4359
+ width: 100%;
4360
+ }
4361
+ .lg-button-group[data-full-width] > .lg-button {
4362
+ flex: 1;
4363
+ }
4364
+ .lg-button-group:not([data-attached]) {
4365
+ gap: 8px;
4366
+ flex-wrap: wrap;
4367
+ }
4368
+ .lg-button-group[data-attached] {
4369
+ border-radius: var(--lg-radius-control);
4370
+ padding: 3px;
4371
+ gap: 3px;
4372
+ }
4373
+ .lg-button-group[data-attached][data-orientation="vertical"] {
4374
+ border-radius: 18px;
4375
+ }
4376
+ .lg-button-group[data-attached] > .lg-button {
4377
+ height: calc(var(--lg-control-height) - 6px);
4378
+ min-height: 0;
4379
+ box-shadow: none;
4380
+ background: transparent;
4381
+ -webkit-backdrop-filter: none;
4382
+ backdrop-filter: none;
4383
+ border-radius: 999px;
4384
+ }
4385
+ .lg-button-group[data-attached] > .lg-button[data-size="small"] {
4386
+ height: calc(var(--lg-control-height-small) - 4px);
4387
+ }
4388
+ .lg-button-group[data-attached] > .lg-button[data-icon="only"] {
4389
+ width: calc(var(--lg-control-height) - 6px);
4390
+ padding: 0;
4391
+ }
4392
+ .lg-button-group[data-attached] > .lg-button::before,
4393
+ .lg-button-group[data-attached] > .lg-button::after {
4394
+ display: none;
4395
+ }
4396
+ .lg-button-group[data-attached] > .lg-button:hover:not(:disabled):not([data-selected]):not([data-variant="filled"]) {
4397
+ background: var(--lg-fill-subtle);
4398
+ }
4399
+ .lg-button-group[data-attached] > .lg-button[data-variant="filled"],
4400
+ .lg-button-group[data-attached] > .lg-toggle-button[data-selected],
4401
+ .lg-toggle-button[data-selected] {
4402
+ background: color-mix(
4403
+ in srgb,
4404
+ var(--lg-tint, var(--lg-fill)) var(--lg-fill-alpha),
4405
+ transparent
4406
+ );
4407
+ color: #fff;
4408
+ box-shadow:
4409
+ inset 0 1px 0 rgb(255 255 255 / 0.28),
4410
+ 0 2px 8px color-mix(in srgb, var(--lg-tint, var(--lg-fill)) 30%, transparent);
4411
+ }
4412
+ .lg-button-group[data-attached] > .lg-toggle-button[data-selected]:hover:not(:disabled),
4413
+ .lg-toggle-button[data-selected]:hover:not(:disabled) {
4414
+ background: color-mix(
4415
+ in srgb,
4416
+ var(--lg-tint, var(--lg-fill)) 88%,
4417
+ #000
4418
+ );
4419
+ }
4420
+ .lg-button-group[data-attached][data-orientation="vertical"] > .lg-button {
4421
+ border-radius: 13px;
4422
+ justify-content: flex-start;
4423
+ padding-inline: 14px;
4424
+ }
4425
+
4426
+ /* AvatarGroup */
4427
+ .lg-avatar-group {
4428
+ display: inline-flex;
4429
+ align-items: center;
4430
+ flex-wrap: nowrap;
4431
+ }
4432
+ .lg-avatar-group-item {
4433
+ display: inline-flex;
4434
+ position: relative;
4435
+ transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
4436
+ }
4437
+ .lg-avatar-group-item + .lg-avatar-group-item {
4438
+ margin-inline-start: -10px;
4439
+ }
4440
+ .lg-avatar-group[data-spacing="tight"] .lg-avatar-group-item + .lg-avatar-group-item {
4441
+ margin-inline-start: -14px;
4442
+ }
4443
+ .lg-avatar-group[data-spacing="loose"] .lg-avatar-group-item + .lg-avatar-group-item {
4444
+ margin-inline-start: -5px;
4445
+ }
4446
+ .lg-avatar-group-item:hover {
4447
+ transform: translateY(-3px) scale(1.04);
4448
+ z-index: 2;
4449
+ }
4450
+ .lg-avatar-group-item .lg-avatar {
4451
+ box-shadow:
4452
+ 0 0 0 2px var(--lg-sheet-opaque),
4453
+ 0 2px 8px var(--lg-shadow);
4454
+ }
4455
+ .lg-avatar-overflow {
4456
+ font-size: 12px;
4457
+ font-weight: 600;
4458
+ color: var(--lg-foreground);
4459
+ }
4460
+
4461
+ /* Breadcrumbs */
4462
+ .lg-breadcrumbs {
4463
+ max-width: 100%;
4464
+ color: var(--lg-foreground);
4465
+ }
4466
+ .lg-breadcrumbs[data-variant="glass"] {
4467
+ display: inline-flex;
4468
+ padding: 5px 12px;
4469
+ border-radius: 999px;
4470
+ }
4471
+ .lg-breadcrumbs-list {
4472
+ display: flex;
4473
+ flex-wrap: wrap;
4474
+ align-items: center;
4475
+ gap: 2px;
4476
+ list-style: none;
4477
+ margin: 0;
4478
+ padding: 0;
4479
+ }
4480
+ .lg-breadcrumbs-item {
4481
+ display: inline-flex;
4482
+ align-items: center;
4483
+ gap: 2px;
4484
+ min-width: 0;
4485
+ }
4486
+ .lg-breadcrumbs-link,
4487
+ .lg-breadcrumbs-current,
4488
+ .lg-breadcrumbs-ellipsis {
4489
+ display: inline-flex;
4490
+ align-items: center;
4491
+ gap: 5px;
4492
+ font-size: var(--lg-font-size);
4493
+ line-height: 1.4;
4494
+ border: 0;
4495
+ background: transparent;
4496
+ padding: 4px 8px;
4497
+ border-radius: 999px;
4498
+ text-decoration: none;
4499
+ }
4500
+ .lg-breadcrumbs[data-size="small"] :is(.lg-breadcrumbs-link, .lg-breadcrumbs-current, .lg-breadcrumbs-ellipsis) {
4501
+ font-size: var(--lg-font-size-small);
4502
+ }
4503
+ .lg-breadcrumbs-link,
4504
+ .lg-breadcrumbs-ellipsis {
4505
+ color: var(--lg-muted);
4506
+ cursor: pointer;
4507
+ transition:
4508
+ background-color var(--lg-duration-fast) var(--lg-ease),
4509
+ color var(--lg-duration-fast) var(--lg-ease);
4510
+ }
4511
+ .lg-breadcrumbs-link:hover:not(:disabled),
4512
+ .lg-breadcrumbs-ellipsis:hover {
4513
+ color: var(--lg-foreground);
4514
+ background: var(--lg-fill-subtle);
4515
+ }
4516
+ .lg-breadcrumbs-link:disabled {
4517
+ opacity: var(--lg-disabled-opacity);
4518
+ cursor: not-allowed;
4519
+ }
4520
+ .lg-breadcrumbs-current {
4521
+ color: var(--lg-foreground);
4522
+ font-weight: 600;
4523
+ }
4524
+ .lg-breadcrumbs-separator {
4525
+ display: inline-flex;
4526
+ align-items: center;
4527
+ color: var(--lg-muted);
4528
+ opacity: 0.55;
4529
+ font-size: 12px;
4530
+ }
4531
+ .lg-breadcrumbs-separator svg,
4532
+ .lg-breadcrumbs-icon svg {
4533
+ width: 14px;
4534
+ height: 14px;
4535
+ }
4536
+ .lg-breadcrumbs-icon {
4537
+ display: inline-flex;
4538
+ align-items: center;
4539
+ }
4540
+ .lg-breadcrumbs-link:focus-visible,
4541
+ .lg-breadcrumbs-ellipsis:focus-visible {
4542
+ outline: 2px solid var(--lg-focus-color);
4543
+ outline-offset: 2px;
4544
+ }
4545
+
4546
+ /* TagGroup */
4547
+ .lg-tag-group {
4548
+ display: flex;
4549
+ flex-direction: column;
4550
+ gap: 8px;
4551
+ max-width: 100%;
4552
+ }
4553
+ .lg-tag-group-list {
4554
+ display: flex;
4555
+ flex-wrap: wrap;
4556
+ gap: 8px;
4557
+ align-items: center;
4558
+ }
4559
+ .lg-tag-group-item {
4560
+ --lg-tag-active-bg: rgb(32 36 44 / 0.88);
4561
+ --lg-tag-active-fg: #fff;
4562
+ }
4563
+ .lg-tag-group-item[data-tone="info"] {
4564
+ --lg-tag-active-bg: #005fc9;
4565
+ }
4566
+ .lg-tag-group-item[data-tone="success"] {
4567
+ --lg-tag-active-bg: #147d4a;
4568
+ }
4569
+ .lg-tag-group-item[data-tone="warning"] {
4570
+ --lg-tag-active-bg: #b4690e;
4571
+ }
4572
+ .lg-tag-group-item[data-tone="danger"] {
4573
+ --lg-tag-active-bg: #c62938;
4574
+ }
4575
+ [data-theme="dark"] .lg-tag-group-item[data-tone="neutral"] {
4576
+ --lg-tag-active-bg: rgb(245 246 250 / 0.9);
4577
+ --lg-tag-active-fg: #14161a;
4578
+ }
4579
+ [data-theme="dark"] .lg-tag-group-item[data-tone="info"] {
4580
+ --lg-tag-active-bg: #0a74e6;
4581
+ }
4582
+ [data-theme="dark"] .lg-tag-group-item[data-tone="success"] {
4583
+ --lg-tag-active-bg: #179458;
4584
+ }
4585
+ [data-theme="dark"] .lg-tag-group-item[data-tone="warning"] {
4586
+ --lg-tag-active-bg: #c67a12;
4587
+ }
4588
+ [data-theme="dark"] .lg-tag-group-item[data-tone="danger"] {
4589
+ --lg-tag-active-bg: #d93545;
4590
+ }
4591
+ .lg-tag-group-item.lg-tag-selectable {
4592
+ cursor: pointer;
4593
+ user-select: none;
4594
+ transition:
4595
+ background-color var(--lg-duration-fast) var(--lg-ease),
4596
+ color var(--lg-duration-fast) var(--lg-ease),
4597
+ box-shadow var(--lg-duration-fast) var(--lg-ease),
4598
+ transform var(--lg-duration-fast) var(--lg-ease);
4599
+ }
4600
+ .lg-tag-group-item.lg-tag-selectable:hover:not([data-disabled]):not([data-selected]) {
4601
+ background-color: color-mix(in srgb, var(--lg-status) 20%, transparent);
4602
+ box-shadow:
4603
+ inset 0 0 0 0.5px color-mix(in srgb, var(--lg-status) 40%, transparent),
4604
+ 0 2px 8px color-mix(in srgb, var(--lg-status) 14%, transparent);
4605
+ }
4606
+ .lg-tag-group-item.lg-tag-selectable[data-selected] {
4607
+ background-color: var(--lg-tag-active-bg);
4608
+ color: var(--lg-tag-active-fg);
4609
+ box-shadow:
4610
+ inset 0 1px 0 rgb(255 255 255 / 0.25),
4611
+ 0 3px 10px color-mix(in srgb, var(--lg-tag-active-bg) 34%, transparent);
4612
+ }
4613
+ .lg-tag-group-item.lg-tag-selectable[data-selected] .lg-tag-close {
4614
+ color: var(--lg-tag-active-fg);
4615
+ }
4616
+ .lg-tag-close {
4617
+ display: inline-flex;
4618
+ align-items: center;
4619
+ justify-content: center;
4620
+ width: 18px;
4621
+ height: 18px;
4622
+ margin-inline-end: -4px;
4623
+ padding: 0;
4624
+ border: 0;
4625
+ border-radius: 999px;
4626
+ background: transparent;
4627
+ color: inherit;
4628
+ opacity: 0.72;
4629
+ cursor: pointer;
4630
+ flex-shrink: 0;
4631
+ transition:
4632
+ opacity var(--lg-duration-fast) var(--lg-ease),
4633
+ background-color var(--lg-duration-fast) var(--lg-ease);
4634
+ }
4635
+ .lg-tag-close svg {
4636
+ width: 11px;
4637
+ height: 11px;
4638
+ }
4639
+ .lg-tag-close:hover {
4640
+ opacity: 1;
4641
+ background: rgb(128 128 128 / 0.2);
4642
+ }
4643
+ .lg-tag-group-item[data-selected] .lg-tag-close:hover {
4644
+ background: rgb(255 255 255 / 0.22);
4645
+ }
4646
+ .lg-tag-group-item[data-disabled] {
4647
+ opacity: var(--lg-disabled-opacity);
4648
+ cursor: not-allowed;
4649
+ }
4650
+ .lg-tag-group-item:focus-visible {
4651
+ outline: 2px solid var(--lg-focus-color);
4652
+ outline-offset: 2px;
4653
+ }
4654
+ .lg-tag-group[data-size="small"] .lg-tag-group-item {
4655
+ min-height: 24px;
4656
+ padding: 2px 9px;
4657
+ font-size: 12px;
4658
+ }
4659
+ .lg-tag-group-empty {
4660
+ font-size: var(--lg-font-size-small);
4661
+ color: var(--lg-muted);
4662
+ }
4663
+
4664
+ /* Meter */
4665
+ .lg-meter {
4666
+ display: flex;
4667
+ flex-direction: column;
4668
+ gap: 7px;
4669
+ width: 100%;
4670
+ min-width: 0;
4671
+ }
4672
+ .lg-meter-header {
4673
+ display: flex;
4674
+ align-items: baseline;
4675
+ justify-content: space-between;
4676
+ gap: 12px;
4677
+ font-size: 13px;
4678
+ }
4679
+ .lg-meter-label {
4680
+ color: var(--lg-foreground);
4681
+ font-weight: 550;
4682
+ }
4683
+ .lg-meter-value {
4684
+ color: var(--lg-muted);
4685
+ font-variant-numeric: tabular-nums;
4686
+ }
4687
+ .lg-meter-track {
4688
+ position: relative;
4689
+ width: 100%;
4690
+ height: 8px;
4691
+ border-radius: 999px;
4692
+ background: var(--lg-rail);
4693
+ box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.08);
4694
+ overflow: hidden;
4695
+ }
4696
+ .lg-meter[data-size="small"] .lg-meter-track { height: 5px; }
4697
+ .lg-meter[data-size="large"] .lg-meter-track { height: 12px; }
4698
+ .lg-meter-fill {
4699
+ display: block;
4700
+ height: 100%;
4701
+ width: calc(var(--lg-meter, 0) * 100%);
4702
+ border-radius: inherit;
4703
+ background: linear-gradient(
4704
+ 90deg,
4705
+ color-mix(in srgb, var(--lg-fill) 88%, #fff),
4706
+ var(--lg-fill)
4707
+ );
4708
+ transition:
4709
+ width var(--lg-duration) var(--lg-ease),
4710
+ background-color var(--lg-duration) var(--lg-ease);
4711
+ }
4712
+ .lg-meter[data-tone="success"] .lg-meter-fill {
4713
+ background: linear-gradient(90deg, color-mix(in srgb, var(--lg-on) 85%, #fff), var(--lg-on));
4714
+ }
4715
+ .lg-meter[data-tone="warning"] .lg-meter-fill {
4716
+ background: linear-gradient(90deg, #fbbf24, #f59e0b);
4717
+ }
4718
+ .lg-meter[data-tone="danger"] .lg-meter-fill {
4719
+ background: linear-gradient(90deg, #ef4444, var(--lg-destructive));
4720
+ }
4721
+
4722
+ /* ProgressCircle */
4723
+ .lg-progress-circle {
4724
+ display: inline-flex;
4725
+ flex-direction: column;
4726
+ align-items: center;
4727
+ gap: 6px;
4728
+ color: var(--lg-foreground);
4729
+ }
4730
+ .lg-progress-circle-ring {
4731
+ position: relative;
4732
+ width: var(--lg-circle-size, 44px);
4733
+ height: var(--lg-circle-size, 44px);
4734
+ display: inline-flex;
4735
+ align-items: center;
4736
+ justify-content: center;
4737
+ }
4738
+ .lg-progress-circle-ring svg {
4739
+ transform: rotate(-90deg);
4740
+ display: block;
4741
+ }
4742
+ .lg-progress-circle[data-indeterminate] .lg-progress-circle-ring svg {
4743
+ animation: lg-circle-spin 950ms linear infinite;
4744
+ }
4745
+ @keyframes lg-circle-spin {
4746
+ to { transform: rotate(270deg); }
4747
+ }
4748
+ .lg-progress-circle-track {
4749
+ fill: none;
4750
+ stroke: var(--lg-rail);
4751
+ }
4752
+ .lg-progress-circle-indicator {
4753
+ fill: none;
4754
+ stroke: var(--lg-fill);
4755
+ stroke-linecap: round;
4756
+ transition: stroke-dashoffset var(--lg-duration) var(--lg-ease);
4757
+ }
4758
+ .lg-progress-circle[data-tone="success"] .lg-progress-circle-indicator { stroke: var(--lg-on); }
4759
+ .lg-progress-circle[data-tone="warning"] .lg-progress-circle-indicator { stroke: #f59e0b; }
4760
+ .lg-progress-circle[data-tone="danger"] .lg-progress-circle-indicator { stroke: var(--lg-destructive); }
4761
+ .lg-progress-circle-value {
4762
+ position: absolute;
4763
+ font-size: 11px;
4764
+ font-weight: 600;
4765
+ font-variant-numeric: tabular-nums;
4766
+ color: var(--lg-foreground);
4767
+ }
4768
+ .lg-progress-circle-label {
4769
+ font-size: var(--lg-font-size-small);
4770
+ color: var(--lg-muted);
4771
+ }
4772
+
4773
+ /* Disclosure & DisclosureGroup & Accordion */
4774
+ .lg-disclosure {
4775
+ width: 100%;
4776
+ border-radius: 18px;
4777
+ color: var(--lg-foreground);
4778
+ }
4779
+ .lg-disclosure-trigger {
4780
+ border-radius: inherit;
4781
+ }
4782
+ .lg-disclosure[data-variant="surface"] {
4783
+ background: var(--lg-surface);
4784
+ border: 1px solid var(--lg-surface-edge);
4785
+ -webkit-backdrop-filter: blur(14px);
4786
+ backdrop-filter: blur(14px);
4787
+ box-shadow:
4788
+ inset 0 1px 0 rgb(255 255 255 / 0.4),
4789
+ 0 4px 16px -6px var(--lg-shadow);
4790
+ }
4791
+ .lg-disclosure[data-variant="ghost"] {
4792
+ background: transparent;
4793
+ border-radius: 12px;
4794
+ }
4795
+ .lg-disclosure-group {
4796
+ display: flex;
4797
+ flex-direction: column;
4798
+ gap: 10px;
4799
+ width: 100%;
4800
+ }
4801
+ .lg-disclosure-trigger,
4802
+ .lg-accordion-trigger {
4803
+ width: 100%;
4804
+ display: flex;
4805
+ align-items: center;
4806
+ gap: 12px;
4807
+ padding: 14px 16px;
4808
+ border: 0;
4809
+ background: transparent;
4810
+ color: var(--lg-foreground);
4811
+ text-align: start;
4812
+ cursor: pointer;
4813
+ font: inherit;
4814
+ transition: background-color var(--lg-duration-fast) var(--lg-ease);
4815
+ }
4816
+ .lg-disclosure-trigger:hover:not(:disabled),
4817
+ .lg-accordion-trigger:hover:not(:disabled) {
4818
+ background: var(--lg-fill-subtle);
4819
+ }
4820
+ .lg-disclosure-trigger:focus-visible,
4821
+ .lg-accordion-trigger:focus-visible {
4822
+ outline: 2px solid var(--lg-focus-color);
4823
+ outline-offset: -2px;
4824
+ }
4825
+ .lg-disclosure-trigger:disabled,
4826
+ .lg-accordion-trigger:disabled {
4827
+ opacity: var(--lg-disabled-opacity);
4828
+ cursor: not-allowed;
4829
+ }
4830
+ .lg-disclosure-icon,
4831
+ .lg-accordion-icon {
4832
+ display: inline-flex;
4833
+ align-items: center;
4834
+ justify-content: center;
4835
+ width: 28px;
4836
+ height: 28px;
4837
+ border-radius: 9px;
4838
+ background: color-mix(in srgb, var(--lg-tab-accent) 12%, transparent);
4839
+ color: var(--lg-tab-accent);
4840
+ flex-shrink: 0;
4841
+ }
4842
+ .lg-disclosure-heading,
4843
+ .lg-accordion-titles {
4844
+ flex: 1;
4845
+ min-width: 0;
4846
+ display: flex;
4847
+ flex-direction: column;
4848
+ gap: 2px;
4849
+ }
4850
+ .lg-disclosure-title,
4851
+ .lg-accordion-title {
4852
+ font-size: var(--lg-font-size);
4853
+ font-weight: 600;
4854
+ line-height: 1.4;
4855
+ }
4856
+ .lg-disclosure-description,
4857
+ .lg-accordion-subtitle {
4858
+ font-size: var(--lg-font-size-small);
4859
+ color: var(--lg-muted);
4860
+ line-height: 1.4;
4861
+ }
4862
+ .lg-disclosure-chevron,
4863
+ .lg-accordion-chevron {
4864
+ width: 16px;
4865
+ height: 16px;
4866
+ flex-shrink: 0;
4867
+ color: var(--lg-muted);
4868
+ transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
4869
+ }
4870
+ .lg-disclosure[data-open] .lg-disclosure-chevron,
4871
+ .lg-accordion-item[data-open] .lg-accordion-chevron {
4872
+ transform: rotate(180deg);
4873
+ }
4874
+ .lg-disclosure-panel,
4875
+ .lg-accordion-panel {
4876
+ display: grid;
4877
+ grid-template-rows: 0fr;
4878
+ opacity: 0;
4879
+ transition:
4880
+ grid-template-rows 280ms cubic-bezier(0.32, 0.72, 0, 1),
4881
+ opacity 200ms cubic-bezier(0.32, 0.72, 0, 1);
4882
+ }
4883
+ .lg-disclosure-panel[data-open],
4884
+ .lg-accordion-panel[data-open] {
4885
+ grid-template-rows: 1fr;
4886
+ opacity: 1;
4887
+ }
4888
+ .lg-disclosure-panel-inner,
4889
+ .lg-accordion-panel-inner {
4890
+ overflow: hidden;
4891
+ min-height: 0;
4892
+ }
4893
+ .lg-disclosure-content,
4894
+ .lg-accordion-content {
4895
+ padding: 0 16px 16px;
4896
+ font-size: var(--lg-font-size);
4897
+ line-height: 1.65;
4898
+ color: var(--lg-secondary);
4899
+ transform: translateY(-4px);
4900
+ transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
4901
+ }
4902
+ .lg-disclosure-panel[data-open] .lg-disclosure-content,
4903
+ .lg-accordion-panel[data-open] .lg-accordion-content {
4904
+ transform: translateY(0);
4905
+ }
4906
+ .lg-accordion {
4907
+ width: 100%;
4908
+ border-radius: var(--lg-radius-panel);
4909
+ color: var(--lg-foreground);
4910
+ overflow: hidden;
4911
+ }
4912
+ .lg-accordion[data-variant="surface"] {
4913
+ background: var(--lg-surface);
4914
+ border: 1px solid var(--lg-surface-edge);
4915
+ -webkit-backdrop-filter: blur(14px);
4916
+ backdrop-filter: blur(14px);
4917
+ box-shadow:
4918
+ inset 0 1px 0 rgb(255 255 255 / 0.4),
4919
+ 0 4px 18px -6px var(--lg-shadow);
4920
+ }
4921
+ .lg-accordion[data-variant="separated"] {
4922
+ display: flex;
4923
+ flex-direction: column;
4924
+ gap: 10px;
4925
+ overflow: visible;
4926
+ }
4927
+ .lg-accordion[data-variant="separated"] .lg-accordion-item {
4928
+ border-radius: 18px;
4929
+ overflow: hidden;
4930
+ }
4931
+ .lg-accordion:not([data-variant="separated"]) .lg-accordion-item + .lg-accordion-item {
4932
+ border-top: 1px solid var(--lg-separator);
4933
+ }
4934
+ .lg-accordion-heading {
4935
+ margin: 0;
4936
+ font-size: inherit;
4937
+ font-weight: inherit;
4938
+ }
4939
+
4940
+ /* ListBox */
4941
+ .lg-listbox {
4942
+ width: 100%;
4943
+ min-width: 0;
4944
+ padding: 6px;
4945
+ border-radius: var(--lg-radius-panel);
4946
+ color: var(--lg-foreground);
4947
+ display: flex;
4948
+ flex-direction: column;
4949
+ gap: 2px;
4950
+ }
4951
+ .lg-listbox[data-variant="surface"] {
4952
+ background: var(--lg-surface);
4953
+ border: 1px solid var(--lg-surface-edge);
4954
+ -webkit-backdrop-filter: blur(14px);
4955
+ backdrop-filter: blur(14px);
4956
+ }
4957
+ .lg-listbox:focus-visible {
4958
+ outline: 2px solid var(--lg-focus-color);
4959
+ outline-offset: 2px;
4960
+ }
4961
+ .lg-listbox-group {
4962
+ padding: 8px 10px 4px;
4963
+ font-size: 11px;
4964
+ font-weight: 600;
4965
+ letter-spacing: 0.04em;
4966
+ color: var(--lg-muted);
4967
+ }
4968
+ .lg-listbox-option {
4969
+ display: flex;
4970
+ align-items: center;
4971
+ gap: 10px;
4972
+ padding: 9px 12px;
4973
+ border-radius: var(--lg-radius-item);
4974
+ cursor: pointer;
4975
+ user-select: none;
4976
+ transition: background-color var(--lg-duration-fast) var(--lg-ease);
4977
+ }
4978
+ .lg-listbox-option[data-active] {
4979
+ background: var(--lg-fill-subtle);
4980
+ }
4981
+ .lg-listbox-option[data-selected] {
4982
+ background: color-mix(in srgb, var(--lg-fill) 13%, transparent);
4983
+ }
4984
+ .lg-listbox-option[data-tone="danger"] {
4985
+ color: var(--lg-destructive-ink);
4986
+ }
4987
+ .lg-listbox-option[aria-disabled="true"] {
4988
+ opacity: var(--lg-disabled-opacity);
4989
+ cursor: not-allowed;
4990
+ }
4991
+ .lg-listbox-icon {
4992
+ display: inline-flex;
4993
+ align-items: center;
4994
+ flex-shrink: 0;
4995
+ color: var(--lg-muted);
4996
+ }
4997
+ .lg-listbox-option[data-tone="danger"] .lg-listbox-icon {
4998
+ color: var(--lg-destructive-ink);
4999
+ }
5000
+ .lg-listbox-body {
5001
+ flex: 1;
5002
+ min-width: 0;
5003
+ display: flex;
5004
+ flex-direction: column;
5005
+ gap: 2px;
5006
+ }
5007
+ .lg-listbox-label {
5008
+ font-size: var(--lg-font-size);
5009
+ line-height: 1.35;
5010
+ font-weight: 500;
5011
+ }
5012
+ .lg-listbox-description {
5013
+ font-size: var(--lg-font-size-small);
5014
+ color: var(--lg-muted);
5015
+ line-height: 1.35;
5016
+ }
5017
+ .lg-listbox-trailing {
5018
+ font-size: var(--lg-font-size-small);
5019
+ color: var(--lg-muted);
5020
+ flex-shrink: 0;
5021
+ }
5022
+ .lg-listbox-check {
5023
+ display: inline-flex;
5024
+ align-items: center;
5025
+ justify-content: center;
5026
+ width: 16px;
5027
+ height: 16px;
5028
+ color: var(--lg-tab-accent);
5029
+ flex-shrink: 0;
5030
+ }
5031
+ .lg-listbox-check svg {
5032
+ width: 15px;
5033
+ height: 15px;
5034
+ }
5035
+ .lg-listbox-empty {
5036
+ padding: 16px 12px;
5037
+ text-align: center;
5038
+ font-size: var(--lg-font-size-small);
5039
+ color: var(--lg-muted);
5040
+ }
5041
+
5042
+ /* Label, Description, Fieldset, Form */
5043
+ .lg-label {
5044
+ display: inline-flex;
5045
+ align-items: center;
5046
+ gap: 4px;
5047
+ font-size: var(--lg-font-size);
5048
+ font-weight: 550;
5049
+ color: var(--lg-foreground);
5050
+ line-height: 1.4;
5051
+ }
5052
+ .lg-label[data-size="small"] {
5053
+ font-size: var(--lg-font-size-small);
5054
+ }
5055
+ .lg-label[data-disabled] {
5056
+ opacity: var(--lg-disabled-opacity);
5057
+ }
5058
+ .lg-label-required {
5059
+ color: var(--lg-destructive-ink);
5060
+ margin-inline-start: 2px;
5061
+ }
5062
+ .lg-description {
5063
+ margin: 0;
5064
+ font-size: var(--lg-font-size-small);
5065
+ color: var(--lg-muted);
5066
+ line-height: 1.5;
5067
+ }
5068
+ .lg-description[data-disabled] {
5069
+ opacity: var(--lg-disabled-opacity);
5070
+ }
5071
+ .lg-fieldset {
5072
+ margin: 0;
5073
+ padding: 0;
5074
+ border: 0;
5075
+ min-width: 0;
5076
+ width: 100%;
5077
+ color: var(--lg-foreground);
5078
+ }
5079
+ .lg-fieldset[data-variant="surface"] {
5080
+ padding: 18px;
5081
+ border-radius: var(--lg-radius-panel);
5082
+ background: var(--lg-surface);
5083
+ border: 1px solid var(--lg-surface-edge);
5084
+ -webkit-backdrop-filter: blur(14px);
5085
+ backdrop-filter: blur(14px);
5086
+ }
5087
+ .lg-fieldset[data-variant="glass"] {
5088
+ padding: 18px;
5089
+ border-radius: var(--lg-radius-panel);
5090
+ }
5091
+ .lg-fieldset[data-disabled] {
5092
+ opacity: var(--lg-disabled-opacity);
5093
+ }
5094
+ .lg-fieldset-legend {
5095
+ padding: 0;
5096
+ margin-bottom: 6px;
5097
+ font-size: 15px;
5098
+ font-weight: 600;
5099
+ color: var(--lg-foreground);
5100
+ }
5101
+ .lg-fieldset-description {
5102
+ margin: 0 0 14px;
5103
+ font-size: var(--lg-font-size-small);
5104
+ color: var(--lg-muted);
5105
+ line-height: 1.5;
5106
+ }
5107
+ .lg-fieldset-body {
5108
+ display: flex;
5109
+ flex-direction: column;
5110
+ gap: 14px;
5111
+ }
5112
+ .lg-form {
5113
+ display: flex;
5114
+ flex-direction: column;
5115
+ width: 100%;
5116
+ min-width: 0;
5117
+ }
5118
+ .lg-form[data-gap="small"] { gap: 12px; }
5119
+ .lg-form[data-gap="regular"] { gap: 16px; }
5120
+ .lg-form[data-gap="large"] { gap: 24px; }
5121
+
5122
+ /* CheckboxGroup & RadioGroup */
5123
+ .lg-choice-group {
5124
+ display: flex;
5125
+ flex-direction: column;
5126
+ gap: 8px;
5127
+ width: 100%;
5128
+ min-width: 0;
5129
+ }
5130
+ .lg-choice-group-list {
5131
+ display: flex;
5132
+ flex-direction: column;
5133
+ gap: 10px;
5134
+ }
5135
+ .lg-choice-group[data-orientation="horizontal"] .lg-choice-group-list {
5136
+ flex-direction: row;
5137
+ flex-wrap: wrap;
5138
+ gap: 12px 18px;
5139
+ }
5140
+ .lg-choice-card {
5141
+ padding: 12px 14px;
5142
+ border-radius: 16px;
5143
+ background: var(--lg-surface);
5144
+ -webkit-backdrop-filter: blur(12px);
5145
+ backdrop-filter: blur(12px);
5146
+ border: 1px solid var(--lg-surface-edge);
5147
+ box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
5148
+ transition:
5149
+ border-color var(--lg-duration-fast) var(--lg-ease),
5150
+ background-color var(--lg-duration-fast) var(--lg-ease),
5151
+ box-shadow var(--lg-duration-fast) var(--lg-ease);
5152
+ }
5153
+ .lg-choice-card:hover:not([data-disabled]) {
5154
+ border-color: color-mix(in srgb, var(--lg-fill) 45%, var(--lg-surface-edge));
5155
+ }
5156
+ .lg-choice-card[data-selected] {
5157
+ border-color: var(--lg-fill);
5158
+ background: color-mix(in srgb, var(--lg-fill) 10%, var(--lg-surface));
5159
+ box-shadow:
5160
+ inset 0 1px 0 rgb(255 255 255 / 0.4),
5161
+ 0 4px 16px -4px color-mix(in srgb, var(--lg-fill) 24%, transparent);
5162
+ }
5163
+ .lg-choice-card[data-disabled] {
5164
+ opacity: var(--lg-disabled-opacity);
5165
+ }
5166
+
5167
+ /* InputGroup */
5168
+ .lg-input-group {
5169
+ display: inline-flex;
5170
+ align-items: center;
5171
+ width: 100%;
5172
+ min-width: 0;
5173
+ height: var(--lg-control-height);
5174
+ border-radius: var(--lg-radius-control);
5175
+ color: var(--lg-foreground);
5176
+ overflow: hidden;
5177
+ transition: background-color 200ms ease;
5178
+ }
5179
+ .lg-input-group[data-size="small"] { height: var(--lg-control-height-small); }
5180
+ .lg-input-group[data-size="large"] { height: var(--lg-control-height-large); }
5181
+ .lg-input-group:focus-within:not([data-variant="filled"]) {
5182
+ background-color: var(--lg-glass-active);
5183
+ }
5184
+ .lg-input-group[data-variant="filled"] {
5185
+ background: var(--lg-fill-subtle);
5186
+ -webkit-backdrop-filter: none;
5187
+ backdrop-filter: none;
5188
+ box-shadow: none;
5189
+ }
5190
+ .lg-input-group[data-variant="filled"]::before {
5191
+ display: none;
5192
+ }
5193
+ .lg-input-group[data-invalid] {
5194
+ outline: 2px solid var(--lg-destructive-ink);
5195
+ outline-offset: 2px;
5196
+ }
5197
+ .lg-input-group:has(input:focus-visible) {
5198
+ outline: 2px solid var(--lg-focus-color);
5199
+ outline-offset: 2px;
5200
+ }
5201
+ .lg-input-group[data-disabled] {
5202
+ opacity: var(--lg-disabled-opacity);
5203
+ }
5204
+ .lg-input-group-control {
5205
+ flex: 1;
5206
+ min-width: 0;
5207
+ height: 100%;
5208
+ display: flex;
5209
+ align-items: center;
5210
+ }
5211
+ .lg-input-group-control > input,
5212
+ .lg-input-group-control > .lg-input {
5213
+ width: 100%;
5214
+ min-width: 0;
5215
+ height: 100%;
5216
+ border: 0;
5217
+ background: transparent;
5218
+ box-shadow: none;
5219
+ outline: none;
5220
+ -webkit-backdrop-filter: none;
5221
+ backdrop-filter: none;
5222
+ padding-inline: 12px;
5223
+ color: var(--lg-foreground);
5224
+ font: inherit;
5225
+ font-size: var(--lg-font-size);
5226
+ }
5227
+ .lg-input-group-control > .lg-input:focus-within {
5228
+ background: transparent;
5229
+ }
5230
+ .lg-input-group-control > .lg-input::before,
5231
+ .lg-input-group-control > .lg-input::after {
5232
+ display: none;
5233
+ }
5234
+ .lg-input-group-affix {
5235
+ display: inline-flex;
5236
+ align-items: center;
5237
+ padding-inline: 12px;
5238
+ color: var(--lg-muted);
5239
+ font-size: var(--lg-font-size-small);
5240
+ flex-shrink: 0;
5241
+ }
5242
+ .lg-input-group-affix + .lg-input-group-control > .lg-input,
5243
+ .lg-input-group-affix + .lg-input-group-control > input {
5244
+ padding-inline-start: 0;
5245
+ }
5246
+ .lg-input-group-affix svg {
5247
+ width: 16px;
5248
+ height: 16px;
5249
+ }
5250
+ .lg-input-group-addon {
5251
+ display: inline-flex;
5252
+ align-items: center;
5253
+ align-self: stretch;
5254
+ padding: 0 13px;
5255
+ font-size: var(--lg-font-size-small);
5256
+ font-weight: 500;
5257
+ color: var(--lg-muted);
5258
+ background: color-mix(in srgb, var(--lg-fill-subtle) 85%, transparent);
5259
+ white-space: nowrap;
5260
+ flex-shrink: 0;
5261
+ }
5262
+ .lg-input-group-addon-before {
5263
+ border-inline-end: 1px solid var(--lg-separator);
5264
+ }
5265
+ .lg-input-group-addon-after {
5266
+ border-inline-start: 1px solid var(--lg-separator);
5267
+ }
5268
+
5269
+ /* NumberField */
5270
+ .lg-number-field {
5271
+ display: inline-flex;
5272
+ align-items: center;
5273
+ width: 100%;
5274
+ max-width: 220px;
5275
+ height: var(--lg-control-height);
5276
+ border-radius: var(--lg-radius-control);
5277
+ color: var(--lg-foreground);
5278
+ padding: 3px;
5279
+ transition: background-color 200ms ease;
5280
+ }
5281
+ .lg-number-field[data-size="small"] { height: var(--lg-control-height-small); }
5282
+ .lg-number-field[data-size="large"] { height: var(--lg-control-height-large); }
5283
+ .lg-number-field:focus-within:not([data-variant="filled"]) {
5284
+ background-color: var(--lg-glass-active);
5285
+ }
5286
+ .lg-number-field[data-variant="filled"] {
5287
+ background: var(--lg-fill-subtle);
5288
+ }
5289
+ .lg-number-field:has(input:focus-visible) {
5290
+ outline: 2px solid var(--lg-focus-color);
5291
+ outline-offset: 2px;
5292
+ }
5293
+ .lg-number-field[data-disabled] {
5294
+ opacity: var(--lg-disabled-opacity);
5295
+ }
5296
+ .lg-number-input {
5297
+ flex: 1;
5298
+ min-width: 0;
5299
+ height: 100%;
5300
+ border: 0;
5301
+ background: transparent;
5302
+ color: var(--lg-foreground);
5303
+ text-align: center;
5304
+ font: inherit;
5305
+ font-size: var(--lg-font-size);
5306
+ font-weight: 500;
5307
+ font-variant-numeric: tabular-nums;
5308
+ outline: none;
5309
+ padding: 0 6px;
5310
+ }
5311
+ .lg-number-step {
5312
+ width: 32px;
5313
+ height: 32px;
5314
+ border: 0;
5315
+ border-radius: 999px;
5316
+ background: transparent;
5317
+ color: var(--lg-foreground);
5318
+ cursor: pointer;
5319
+ display: inline-flex;
5320
+ align-items: center;
5321
+ justify-content: center;
5322
+ flex-shrink: 0;
5323
+ transition:
5324
+ background-color var(--lg-duration-fast) var(--lg-ease),
5325
+ transform 120ms ease;
5326
+ }
5327
+ .lg-number-step svg {
5328
+ width: 14px;
5329
+ height: 14px;
5330
+ }
5331
+ .lg-number-field[data-size="small"] .lg-number-step {
5332
+ width: 26px;
5333
+ height: 26px;
5334
+ }
5335
+ .lg-number-step:hover:not(:disabled) {
5336
+ background: var(--lg-fill-subtle);
5337
+ }
5338
+ .lg-number-step:active:not(:disabled) {
5339
+ transform: scale(0.92);
5340
+ }
5341
+ .lg-number-step:disabled {
5342
+ opacity: 0.32;
5343
+ cursor: not-allowed;
5344
+ }
5345
+
5346
+ /* InputOTP */
5347
+ .lg-otp {
5348
+ display: inline-flex;
5349
+ align-items: center;
5350
+ gap: 10px;
5351
+ max-width: 100%;
5352
+ flex-wrap: wrap;
5353
+ }
5354
+ .lg-otp-slot {
5355
+ display: inline-flex;
5356
+ align-items: center;
5357
+ justify-content: center;
5358
+ width: 44px;
5359
+ height: 48px;
5360
+ border-radius: 14px;
5361
+ color: var(--lg-foreground);
5362
+ transition: background-color 200ms ease;
5363
+ }
5364
+ .lg-otp[data-size="small"] .lg-otp-slot {
5365
+ width: 36px;
5366
+ height: 40px;
5367
+ border-radius: 11px;
5368
+ }
5369
+ .lg-otp[data-size="large"] .lg-otp-slot {
5370
+ width: 50px;
5371
+ height: 56px;
5372
+ border-radius: 16px;
5373
+ }
5374
+ .lg-otp-input {
5375
+ width: 100%;
5376
+ height: 100%;
5377
+ padding: 0;
5378
+ border: 0;
5379
+ background: transparent;
5380
+ color: inherit;
5381
+ text-align: center;
5382
+ font: inherit;
5383
+ font-size: 18px;
5384
+ font-weight: 600;
5385
+ font-variant-numeric: tabular-nums;
5386
+ outline: none;
5387
+ caret-color: var(--lg-focus-color);
5388
+ }
5389
+ .lg-otp[data-size="small"] .lg-otp-input {
5390
+ font-size: 15px;
5391
+ }
5392
+ .lg-otp[data-size="large"] .lg-otp-input {
5393
+ font-size: 20px;
5394
+ }
5395
+ .lg-otp-slot:focus-within {
5396
+ background-color: var(--lg-glass-active);
5397
+ }
5398
+ .lg-otp-slot:has(input:focus-visible) {
5399
+ outline: 2px solid var(--lg-focus-color);
5400
+ outline-offset: 3px;
5401
+ }
5402
+ .lg-otp[data-invalid] .lg-otp-slot {
5403
+ outline: 2px solid var(--lg-destructive-ink);
5404
+ outline-offset: 2px;
5405
+ }
5406
+ .lg-otp[data-disabled] {
5407
+ opacity: var(--lg-disabled-opacity);
5408
+ }
5409
+ .lg-otp-separator {
5410
+ color: var(--lg-muted);
5411
+ font-weight: 500;
5412
+ opacity: 0.6;
5413
+ user-select: none;
5414
+ }
5415
+
5416
+ /* ComboBox & Autocomplete */
5417
+ .lg-combobox,
5418
+ .lg-autocomplete {
5419
+ display: flex;
5420
+ flex-direction: column;
5421
+ gap: 6px;
5422
+ width: 100%;
5423
+ max-width: 340px;
5424
+ min-width: 0;
5425
+ }
5426
+ .lg-combobox-control {
5427
+ display: flex;
5428
+ align-items: center;
5429
+ height: var(--lg-control-height);
5430
+ border-radius: var(--lg-radius-control);
5431
+ padding-inline: 16px 6px;
5432
+ gap: 2px;
5433
+ transition: background-color 200ms ease;
5434
+ }
5435
+ .lg-combobox[data-size="small"] .lg-combobox-control {
5436
+ height: var(--lg-control-height-small);
5437
+ }
5438
+ .lg-combobox[data-size="large"] .lg-combobox-control {
5439
+ height: var(--lg-control-height-large);
5440
+ }
5441
+ .lg-combobox-control:focus-within {
5442
+ background-color: var(--lg-glass-active);
5443
+ }
5444
+ .lg-combobox-control:has(input:focus-visible) {
5445
+ outline: 2px solid var(--lg-focus-color);
5446
+ outline-offset: 2px;
5447
+ }
5448
+ .lg-combobox-control[data-invalid] {
5449
+ outline: 2px solid var(--lg-destructive-ink);
5450
+ outline-offset: 2px;
5451
+ }
5452
+ .lg-combobox-input {
5453
+ flex: 1;
5454
+ min-width: 0;
5455
+ height: 100%;
5456
+ padding: 0;
5457
+ border: 0;
5458
+ background: transparent;
5459
+ color: var(--lg-foreground);
5460
+ font: inherit;
5461
+ font-size: var(--lg-font-size);
5462
+ outline: none;
5463
+ }
5464
+ .lg-combobox-input::placeholder {
5465
+ color: var(--lg-muted);
5466
+ }
5467
+ .lg-combobox-clear,
5468
+ .lg-combobox-trigger {
5469
+ width: 28px;
5470
+ height: 28px;
5471
+ padding: 0;
5472
+ border: 0;
5473
+ border-radius: 999px;
5474
+ background: transparent;
5475
+ color: var(--lg-muted);
5476
+ display: inline-flex;
5477
+ align-items: center;
5478
+ justify-content: center;
5479
+ cursor: pointer;
5480
+ flex-shrink: 0;
5481
+ transition:
5482
+ color var(--lg-duration-fast) var(--lg-ease),
5483
+ background-color var(--lg-duration-fast) var(--lg-ease);
5484
+ }
5485
+ .lg-combobox-clear:hover:not(:disabled),
5486
+ .lg-combobox-trigger:hover:not(:disabled) {
5487
+ color: var(--lg-foreground);
5488
+ background: var(--lg-fill-subtle);
5489
+ }
5490
+ .lg-combobox-clear svg {
5491
+ width: 13px;
5492
+ height: 13px;
5493
+ }
5494
+ .lg-combobox-trigger svg {
5495
+ width: 15px;
5496
+ height: 15px;
5497
+ }
5498
+ .lg-combobox-option-text {
5499
+ display: flex;
5500
+ flex-direction: column;
5501
+ gap: 2px;
5502
+ min-width: 0;
5503
+ }
5504
+ .lg-combobox-option-text small {
5505
+ font-size: 12px;
5506
+ color: var(--lg-muted);
5507
+ }
5508
+ .lg-autocomplete-control {
5509
+ position: relative;
5510
+ display: flex;
5511
+ align-items: center;
5512
+ }
5513
+ .lg-autocomplete-trigger {
5514
+ width: 100%;
5515
+ }
5516
+ .lg-autocomplete-clear {
5517
+ position: absolute;
5518
+ inset-inline-end: 32px;
5519
+ }
5520
+ .lg-autocomplete-popover {
5521
+ padding: 8px;
5522
+ display: flex;
5523
+ flex-direction: column;
5524
+ gap: 6px;
5525
+ }
5526
+ .lg-autocomplete-search {
5527
+ display: flex;
5528
+ align-items: center;
5529
+ gap: 8px;
5530
+ height: 36px;
5531
+ padding: 0 12px;
5532
+ border-radius: 12px;
5533
+ background: var(--lg-fill-subtle);
5534
+ color: var(--lg-muted);
5535
+ transition: box-shadow var(--lg-duration-fast) var(--lg-ease);
5536
+ }
5537
+ .lg-autocomplete-search:focus-within {
5538
+ box-shadow: inset 0 0 0 1.5px var(--lg-focus-color);
5539
+ }
5540
+ .lg-autocomplete-search svg {
5541
+ width: 15px;
5542
+ height: 15px;
5543
+ flex-shrink: 0;
5544
+ }
5545
+ .lg-autocomplete-search input {
5546
+ flex: 1;
5547
+ min-width: 0;
5548
+ height: 100%;
5549
+ border: 0;
5550
+ background: transparent;
5551
+ color: var(--lg-foreground);
5552
+ font: inherit;
5553
+ font-size: var(--lg-font-size);
5554
+ outline: none;
5555
+ }
5556
+ .lg-autocomplete-search input::-webkit-search-cancel-button {
5557
+ display: none;
5558
+ }
5559
+ .lg-autocomplete-list {
5560
+ max-height: 240px;
5561
+ overflow-y: auto;
5562
+ display: flex;
5563
+ flex-direction: column;
5564
+ gap: 2px;
5565
+ }
5566
+
5567
+ /* Calendar & RangeCalendar & DateField & DatePicker & TimeField */
5568
+ .lg-calendar-card {
5569
+ display: inline-block;
5570
+ max-width: 100%;
5571
+ padding: 14px;
5572
+ border-radius: var(--lg-radius-panel);
5573
+ color: var(--lg-foreground);
5574
+ overflow-x: auto;
5575
+ }
5576
+ .lg-calendar-card[data-variant="plain"] {
5577
+ padding: 4px;
5578
+ border-radius: 0;
5579
+ }
5580
+ .lg-calendar-card[data-disabled] {
5581
+ opacity: var(--lg-disabled-opacity);
5582
+ }
5583
+ .lg-date-picker {
5584
+ display: inline-flex;
5585
+ flex-direction: column;
5586
+ gap: 6px;
5587
+ max-width: 100%;
5588
+ }
5589
+ .lg-date-picker-popover {
5590
+ padding: 10px;
5591
+ }
5592
+ .lg-date-field-wrap {
5593
+ display: inline-flex;
5594
+ flex-direction: column;
5595
+ gap: 6px;
5596
+ max-width: 100%;
5597
+ }
5598
+ .lg-date-field {
5599
+ display: inline-flex;
5600
+ align-items: center;
5601
+ gap: 2px;
5602
+ height: var(--lg-control-height);
5603
+ padding: 0 14px;
5604
+ border-radius: var(--lg-radius-control);
5605
+ color: var(--lg-foreground);
5606
+ font-variant-numeric: tabular-nums;
5607
+ font-size: var(--lg-font-size);
5608
+ transition: background-color 200ms ease;
5609
+ }
5610
+ .lg-date-field[data-size="small"] { height: var(--lg-control-height-small); }
5611
+ .lg-date-field[data-size="large"] { height: var(--lg-control-height-large); }
5612
+ .lg-date-field:focus-within {
5613
+ background-color: var(--lg-glass-active);
5614
+ }
5615
+ .lg-date-field:has(.lg-date-segment:focus-visible) {
5616
+ outline: 2px solid var(--lg-focus-color);
5617
+ outline-offset: 2px;
5618
+ }
5619
+ .lg-date-field[data-disabled] { opacity: var(--lg-disabled-opacity); }
5620
+ .lg-date-field[data-invalid] {
5621
+ outline: 2px solid var(--lg-destructive-ink);
5622
+ outline-offset: 2px;
5623
+ }
5624
+ .lg-date-segment {
5625
+ padding: 3px 6px;
5626
+ border-radius: 8px;
5627
+ outline: none;
5628
+ cursor: default;
5629
+ user-select: none;
5630
+ font-weight: 500;
5631
+ transition:
5632
+ background-color var(--lg-duration-fast) var(--lg-ease),
5633
+ color var(--lg-duration-fast) var(--lg-ease);
5634
+ }
5635
+ .lg-date-segment:hover:not(:focus) {
5636
+ background: var(--lg-fill-subtle);
5637
+ }
5638
+ .lg-date-segment[data-placeholder] {
5639
+ color: var(--lg-muted);
5640
+ font-weight: 400;
5641
+ }
5642
+ .lg-date-segment:focus,
5643
+ .lg-date-segment:focus-visible {
5644
+ background: var(--lg-fill);
5645
+ color: #fff;
5646
+ }
5647
+ .lg-date-literal {
5648
+ color: var(--lg-muted);
5649
+ opacity: 0.65;
5650
+ user-select: none;
5651
+ }
5652
+ .lg-time-period {
5653
+ margin-inline-start: 4px;
5654
+ cursor: pointer;
5655
+ font-size: 13px;
5656
+ }
5657
+
5658
+ /* Color Suite: ColorSwatch / ColorSwatchPicker / ColorArea / ColorSlider / ColorField / ColorPicker */
5659
+ .lg-color-swatch {
5660
+ display: inline-block;
5661
+ position: relative;
5662
+ width: var(--lg-swatch-size, 28px);
5663
+ height: var(--lg-swatch-size, 28px);
5664
+ border-radius: 999px;
5665
+ overflow: hidden;
5666
+ flex-shrink: 0;
5667
+ background-image:
5668
+ linear-gradient(45deg, rgb(128 128 128 / 0.2) 25%, transparent 25%),
5669
+ linear-gradient(-45deg, rgb(128 128 128 / 0.2) 25%, transparent 25%),
5670
+ linear-gradient(45deg, transparent 75%, rgb(128 128 128 / 0.2) 75%),
5671
+ linear-gradient(-45deg, transparent 75%, rgb(128 128 128 / 0.2) 75%);
5672
+ background-size: 10px 10px;
5673
+ background-position: 0 0, 0 5px, 5px -5px, -5px 0;
5674
+ box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
5675
+ }
5676
+ .lg-color-swatch[data-shape="rounded"] {
5677
+ border-radius: 8px;
5678
+ }
5679
+ .lg-color-swatch-fill {
5680
+ position: absolute;
5681
+ inset: 0;
5682
+ background: var(--lg-swatch-color, transparent);
5683
+ }
5684
+ .lg-color-swatch[data-selected] {
5685
+ box-shadow:
5686
+ inset 0 0 0 1px rgb(255 255 255 / 0.7),
5687
+ 0 0 0 2px var(--lg-sheet-opaque),
5688
+ 0 0 0 4px var(--lg-focus-color);
5689
+ }
5690
+ .lg-color-swatch-picker {
5691
+ display: flex;
5692
+ flex-wrap: wrap;
5693
+ gap: 8px;
5694
+ align-items: center;
5695
+ }
5696
+ .lg-color-swatch-option {
5697
+ border: 0;
5698
+ padding: 0;
5699
+ background: transparent;
5700
+ border-radius: 999px;
5701
+ display: inline-flex;
5702
+ cursor: pointer;
5703
+ transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
5704
+ }
5705
+ .lg-color-swatch-option:hover:not(:disabled) {
5706
+ transform: scale(1.1);
5707
+ }
5708
+ .lg-color-swatch-option:focus-visible {
5709
+ outline: 2px solid var(--lg-focus-color);
5710
+ outline-offset: 3px;
5711
+ }
5712
+ .lg-color-swatch-option:disabled {
5713
+ opacity: var(--lg-disabled-opacity);
5714
+ cursor: not-allowed;
5715
+ }
5716
+
5717
+ .lg-color-area {
5718
+ position: relative;
5719
+ width: 244px;
5720
+ max-width: 100%;
5721
+ height: 156px;
5722
+ border-radius: 14px;
5723
+ background-color: var(--lg-color-hue, #005fc9);
5724
+ background-image:
5725
+ linear-gradient(to top, #000, transparent),
5726
+ linear-gradient(to right, #fff, transparent);
5727
+ box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
5728
+ cursor: crosshair;
5729
+ touch-action: none;
5730
+ user-select: none;
5731
+ }
5732
+ .lg-color-area:focus-visible {
5733
+ outline: 2px solid var(--lg-focus-color);
5734
+ outline-offset: 3px;
5735
+ }
5736
+ .lg-color-area[data-disabled] {
5737
+ opacity: var(--lg-disabled-opacity);
5738
+ cursor: not-allowed;
5739
+ }
5740
+ .lg-color-area-thumb {
5741
+ position: absolute;
5742
+ left: var(--lg-color-x, 50%);
5743
+ top: var(--lg-color-y, 50%);
5744
+ width: 18px;
5745
+ height: 18px;
5746
+ border-radius: 999px;
5747
+ transform: translate(-50%, -50%);
5748
+ background: var(--lg-color-current, #005fc9);
5749
+ border: 2.5px solid #fff;
5750
+ box-shadow: 0 2px 6px rgb(0 0 0 / 0.42);
5751
+ pointer-events: none;
5752
+ }
5753
+
5754
+ .lg-color-slider {
5755
+ display: flex;
5756
+ flex-direction: column;
5757
+ gap: 6px;
5758
+ width: 244px;
5759
+ max-width: 100%;
5760
+ }
5761
+ .lg-color-slider-header {
5762
+ display: flex;
5763
+ align-items: baseline;
5764
+ justify-content: space-between;
5765
+ font-size: 12px;
5766
+ }
5767
+ .lg-color-slider-label {
5768
+ color: var(--lg-foreground);
5769
+ font-weight: 550;
5770
+ }
5771
+ .lg-color-slider-value {
5772
+ color: var(--lg-muted);
5773
+ font-variant-numeric: tabular-nums;
5774
+ }
5775
+ .lg-color-slider-track {
5776
+ position: relative;
5777
+ width: 100%;
5778
+ height: 16px;
5779
+ border-radius: 999px;
5780
+ cursor: pointer;
5781
+ touch-action: none;
5782
+ user-select: none;
5783
+ background-image:
5784
+ linear-gradient(45deg, rgb(128 128 128 / 0.2) 25%, transparent 25%),
5785
+ linear-gradient(-45deg, rgb(128 128 128 / 0.2) 25%, transparent 25%),
5786
+ linear-gradient(45deg, transparent 75%, rgb(128 128 128 / 0.2) 75%),
5787
+ linear-gradient(-45deg, transparent 75%, rgb(128 128 128 / 0.2) 75%);
5788
+ background-size: 8px 8px;
5789
+ background-position: 0 0, 0 4px, 4px -4px, -4px 0;
5790
+ box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
5791
+ }
5792
+ .lg-color-slider-track:focus-visible {
5793
+ outline: 2px solid var(--lg-focus-color);
5794
+ outline-offset: 3px;
5795
+ }
5796
+ .lg-color-slider-gradient {
5797
+ position: absolute;
5798
+ inset: 0;
5799
+ border-radius: inherit;
5800
+ background: var(--lg-color-track);
5801
+ }
5802
+ .lg-color-slider-thumb {
5803
+ position: absolute;
5804
+ top: 50%;
5805
+ left: calc(9px + (100% - 18px) * var(--lg-color-ratio, 0));
5806
+ width: 18px;
5807
+ height: 18px;
5808
+ border-radius: 999px;
5809
+ transform: translate(-50%, -50%);
5810
+ background: var(--lg-color-thumb, #fff);
5811
+ border: 2.5px solid #fff;
5812
+ box-shadow: 0 2px 6px rgb(0 0 0 / 0.4);
5813
+ pointer-events: none;
5814
+ }
5815
+ .lg-color-slider[data-disabled] {
5816
+ opacity: var(--lg-disabled-opacity);
5817
+ }
5818
+ .lg-color-slider[data-disabled] .lg-color-slider-track {
5819
+ cursor: not-allowed;
5820
+ }
5821
+
5822
+ .lg-color-field {
5823
+ display: inline-flex;
5824
+ align-items: center;
5825
+ gap: 10px;
5826
+ width: 100%;
5827
+ max-width: 244px;
5828
+ height: var(--lg-control-height);
5829
+ padding: 0 12px;
5830
+ border-radius: var(--lg-radius-control);
5831
+ color: var(--lg-foreground);
5832
+ transition: background-color 200ms ease;
5833
+ }
5834
+ .lg-color-field[data-size="small"] { height: var(--lg-control-height-small); }
5835
+ .lg-color-field[data-size="large"] { height: var(--lg-control-height-large); }
5836
+ .lg-color-field:focus-within {
5837
+ background-color: var(--lg-glass-active);
5838
+ }
5839
+ .lg-color-field:has(input:focus-visible) {
5840
+ outline: 2px solid var(--lg-focus-color);
5841
+ outline-offset: 2px;
5842
+ }
5843
+ .lg-color-field[data-invalid] {
5844
+ outline: 2px solid var(--lg-destructive-ink);
5845
+ outline-offset: 2px;
5846
+ }
5847
+ .lg-color-field[data-disabled] {
5848
+ opacity: var(--lg-disabled-opacity);
5849
+ }
5850
+ .lg-color-field-input {
5851
+ flex: 1;
5852
+ min-width: 0;
5853
+ height: 100%;
5854
+ padding: 0;
5855
+ border: 0;
5856
+ background: transparent;
5857
+ color: var(--lg-foreground);
5858
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
5859
+ font-size: 13px;
5860
+ font-weight: 500;
5861
+ outline: none;
5862
+ }
5863
+
5864
+ .lg-color-picker {
5865
+ display: inline-flex;
5866
+ }
5867
+ .lg-color-picker-trigger {
5868
+ gap: 8px;
5869
+ }
5870
+ .lg-color-picker-label {
5871
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
5872
+ font-size: 13px;
5873
+ }
5874
+ .lg-color-picker-popover {
5875
+ --lg-transparency: 0.04;
5876
+ background-color: color-mix(in srgb, var(--lg-sheet-opaque) 92%, transparent);
5877
+ -webkit-backdrop-filter: blur(24px) saturate(1.4);
5878
+ backdrop-filter: blur(24px) saturate(1.4);
5879
+ padding: 16px;
5880
+ display: flex;
5881
+ flex-direction: column;
5882
+ gap: 12px;
5883
+ width: 276px;
5884
+ max-width: calc(100vw - 24px);
5885
+ }
5886
+ .lg-color-picker-popover .lg-color-area,
5887
+ .lg-color-picker-popover .lg-color-slider,
5888
+ .lg-color-picker-popover .lg-color-field {
5889
+ width: 100%;
5890
+ max-width: 100%;
5891
+ }
5892
+ .lg-color-picker-popover .lg-color-field {
5893
+ background: var(--lg-fill-subtle);
5894
+ box-shadow: none;
5895
+ -webkit-backdrop-filter: none;
5896
+ backdrop-filter: none;
5897
+ }
5898
+ .lg-color-picker-popover .lg-color-field::before,
5899
+ .lg-color-picker-popover .lg-color-field::after {
5900
+ display: none;
5901
+ }
5902
+ .lg-color-picker-popover .lg-color-swatch-picker {
5903
+ padding: 4px 2px;
5904
+ justify-content: space-between;
5905
+ }
5906
+ .lg-color-picker-sliders {
5907
+ display: flex;
5908
+ flex-direction: column;
5909
+ gap: 10px;
5910
+ }
5911
+
5912
+ @media (prefers-reduced-motion: reduce) {
5913
+ .lg-progress-circle[data-indeterminate] .lg-progress-circle-ring svg {
5914
+ animation: none;
5915
+ }
5916
+ .lg-disclosure-panel,
5917
+ .lg-accordion-panel,
5918
+ .lg-disclosure-content,
5919
+ .lg-accordion-content,
5920
+ .lg-disclosure-chevron,
5921
+ .lg-accordion-chevron {
5922
+ transition: none !important;
5923
+ }
5924
+ }
5925
+ @media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
5926
+ .lg-surface, .lg-accordion, .lg-disclosure, .lg-listbox, .lg-fieldset, .lg-choice-card {
5927
+ background-color: var(--lg-sheet-opaque);
5928
+ backdrop-filter: none;
5929
+ -webkit-backdrop-filter: none;
5930
+ }
5931
+ }
5932
+
5933
+
5934
+ /* ==========================================================================
5935
+ ScheduleCalendar(飞书风格液态玻璃日程日历工作台)
5936
+ ========================================================================== */
5937
+ .lg-schedule {
5938
+ display: flex;
5939
+ width: 100%;
5940
+ min-width: 0;
5941
+ min-height: 620px;
5942
+ border-radius: var(--lg-radius-panel);
5943
+ border: 1px solid var(--lg-surface-edge);
5944
+ background: color-mix(in srgb, var(--lg-sheet-opaque) 88%, transparent);
5945
+ -webkit-backdrop-filter: blur(18px) saturate(1.3);
5946
+ backdrop-filter: blur(18px) saturate(1.3);
5947
+ box-shadow:
5948
+ inset 0 1px 0 rgb(255 255 255 / 0.45),
5949
+ 0 12px 32px -12px var(--lg-shadow);
5950
+ color: var(--lg-foreground);
5951
+ font-family: var(--lg-font-family);
5952
+ overflow: hidden;
5953
+ }
5954
+ [data-theme="dark"] .lg-schedule {
5955
+ background: color-mix(in srgb, var(--lg-sheet-opaque) 90%, transparent);
5956
+ box-shadow:
5957
+ inset 0 1px 0 rgb(255 255 255 / 0.08),
5958
+ 0 16px 36px -12px rgb(0 0 0 / 0.5);
5959
+ }
5960
+
5961
+ /* 左侧工作台栏 */
5962
+ .lg-schedule-sidebar {
5963
+ width: 232px;
5964
+ flex-shrink: 0;
5965
+ display: flex;
5966
+ flex-direction: column;
5967
+ gap: 14px;
5968
+ padding: 14px 12px;
5969
+ border-inline-end: 1px solid var(--lg-separator);
5970
+ background: color-mix(in srgb, var(--lg-fill-subtle) 42%, transparent);
5971
+ overflow-y: auto;
5972
+ }
5973
+
5974
+ /* 迷你月历 */
5975
+ .lg-schedule-mini {
5976
+ display: flex;
5977
+ flex-direction: column;
5978
+ gap: 6px;
5979
+ }
5980
+ .lg-schedule-mini-header {
5981
+ display: flex;
5982
+ align-items: center;
5983
+ justify-content: space-between;
5984
+ padding: 0 4px;
5985
+ }
5986
+ .lg-schedule-mini-title {
5987
+ font-size: 13px;
5988
+ font-weight: 600;
5989
+ color: var(--lg-foreground);
5990
+ }
5991
+ .lg-schedule-mini-nav {
5992
+ display: inline-flex;
5993
+ gap: 2px;
5994
+ }
5995
+ .lg-schedule-mini-nav button {
5996
+ width: 24px;
5997
+ height: 24px;
5998
+ padding: 0;
5999
+ border: 0;
6000
+ border-radius: 7px;
6001
+ background: transparent;
6002
+ color: var(--lg-muted);
6003
+ display: inline-flex;
6004
+ align-items: center;
6005
+ justify-content: center;
6006
+ cursor: pointer;
6007
+ }
6008
+ .lg-schedule-mini-nav button:hover {
6009
+ background: var(--lg-fill-subtle);
6010
+ color: var(--lg-foreground);
6011
+ }
6012
+ .lg-schedule-mini-nav svg {
6013
+ width: 14px;
6014
+ height: 14px;
6015
+ }
6016
+ .lg-schedule-mini-weekdays {
6017
+ display: grid;
6018
+ grid-template-columns: repeat(7, 1fr);
6019
+ text-align: center;
6020
+ font-size: 11px;
6021
+ color: var(--lg-muted);
6022
+ padding: 2px 0;
6023
+ }
6024
+ .lg-schedule-mini-grid {
6025
+ display: grid;
6026
+ grid-template-columns: repeat(7, 1fr);
6027
+ gap: 2px 0;
6028
+ }
6029
+ .lg-schedule-mini-day {
6030
+ width: 26px;
6031
+ height: 26px;
6032
+ margin-inline: auto;
6033
+ padding: 0;
6034
+ border: 0;
6035
+ border-radius: 999px;
6036
+ background: transparent;
6037
+ color: var(--lg-foreground);
6038
+ font-size: 11.5px;
6039
+ font-variant-numeric: tabular-nums;
6040
+ cursor: pointer;
6041
+ display: inline-flex;
6042
+ align-items: center;
6043
+ justify-content: center;
6044
+ transition: background-color 140ms ease, color 140ms ease;
6045
+ }
6046
+ .lg-schedule-mini-day[data-outside] {
6047
+ color: var(--lg-muted);
6048
+ opacity: 0.45;
6049
+ }
6050
+ .lg-schedule-mini-day:hover:not([data-today]) {
6051
+ background: var(--lg-fill-subtle);
6052
+ }
6053
+ .lg-schedule-mini-day[data-selected]:not([data-today]) {
6054
+ background: color-mix(in srgb, var(--lg-fill) 16%, transparent);
6055
+ color: var(--lg-tab-accent);
6056
+ font-weight: 600;
6057
+ }
6058
+ .lg-schedule-mini-day[data-today] {
6059
+ background: var(--lg-fill);
6060
+ color: #fff;
6061
+ font-weight: 600;
6062
+ }
6063
+
6064
+ /* 侧栏搜索框 */
6065
+ .lg-schedule-search {
6066
+ display: flex;
6067
+ align-items: center;
6068
+ gap: 7px;
6069
+ height: 32px;
6070
+ padding: 0 10px;
6071
+ border-radius: 10px;
6072
+ background: color-mix(in srgb, var(--lg-sheet-opaque) 72%, var(--lg-fill-subtle));
6073
+ border: 1px solid var(--lg-surface-edge);
6074
+ color: var(--lg-muted);
6075
+ }
6076
+ .lg-schedule-search:focus-within {
6077
+ border-color: var(--lg-focus-color);
6078
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--lg-focus-color) 18%, transparent);
6079
+ }
6080
+ .lg-schedule-search svg {
6081
+ width: 14px;
6082
+ height: 14px;
6083
+ flex-shrink: 0;
6084
+ }
6085
+ .lg-schedule-search input {
6086
+ flex: 1;
6087
+ min-width: 0;
6088
+ height: 100%;
6089
+ border: 0;
6090
+ background: transparent;
6091
+ color: var(--lg-foreground);
6092
+ font: inherit;
6093
+ font-size: 12.5px;
6094
+ outline: none;
6095
+ }
6096
+ .lg-schedule-search input:focus,
6097
+ .lg-schedule-search input:focus-visible {
6098
+ outline: none;
6099
+ }
6100
+ .lg-schedule-search input::-webkit-search-cancel-button {
6101
+ display: none;
6102
+ }
6103
+
6104
+ /* 多日历分组列表 */
6105
+ .lg-schedule-calendars {
6106
+ display: flex;
6107
+ flex-direction: column;
6108
+ gap: 14px;
6109
+ }
6110
+ .lg-schedule-cal-group {
6111
+ display: flex;
6112
+ flex-direction: column;
6113
+ gap: 4px;
6114
+ }
6115
+ .lg-schedule-cal-group-title {
6116
+ padding: 2px 4px;
6117
+ font-size: 11.5px;
6118
+ font-weight: 600;
6119
+ color: var(--lg-muted);
6120
+ }
6121
+ .lg-schedule-cal-list {
6122
+ display: flex;
6123
+ flex-direction: column;
6124
+ gap: 2px;
6125
+ }
6126
+ .lg-schedule-cal-item {
6127
+ position: relative;
6128
+ display: flex;
6129
+ align-items: center;
6130
+ gap: 8px;
6131
+ padding: 5px 6px;
6132
+ border-radius: 8px;
6133
+ cursor: pointer;
6134
+ user-select: none;
6135
+ transition: background-color 140ms ease;
6136
+ }
6137
+ .lg-schedule-cal-item:hover {
6138
+ background: var(--lg-fill-subtle);
6139
+ }
6140
+ .lg-schedule-cal-item[data-disabled] {
6141
+ opacity: var(--lg-disabled-opacity);
6142
+ cursor: not-allowed;
6143
+ }
6144
+ .lg-schedule-cal-item input {
6145
+ position: absolute;
6146
+ opacity: 0;
6147
+ width: 1px;
6148
+ height: 1px;
6149
+ pointer-events: none;
6150
+ }
6151
+ .lg-schedule-cal-box {
6152
+ width: 15px;
6153
+ height: 15px;
6154
+ border-radius: 4px;
6155
+ flex-shrink: 0;
6156
+ display: inline-flex;
6157
+ align-items: center;
6158
+ justify-content: center;
6159
+ border: 1.5px solid var(--lg-cal-color, var(--lg-fill));
6160
+ background: transparent;
6161
+ color: #fff;
6162
+ transition: background-color 140ms ease;
6163
+ }
6164
+ .lg-schedule-cal-box[data-checked] {
6165
+ background: var(--lg-cal-color, var(--lg-fill));
6166
+ }
6167
+ .lg-schedule-cal-box svg {
6168
+ width: 11px;
6169
+ height: 11px;
6170
+ }
6171
+ .lg-schedule-cal-item:has(input:focus-visible) {
6172
+ outline: 2px solid var(--lg-focus-color);
6173
+ outline-offset: -1px;
6174
+ }
6175
+ .lg-schedule-cal-name {
6176
+ font-size: 12.5px;
6177
+ color: var(--lg-foreground);
6178
+ overflow: hidden;
6179
+ text-overflow: ellipsis;
6180
+ white-space: nowrap;
6181
+ }
6182
+ .lg-schedule-sidebar-footer {
6183
+ margin-top: auto;
6184
+ padding-top: 8px;
6185
+ border-top: 1px solid var(--lg-separator);
6186
+ }
6187
+
6188
+ /* 主日程区域与顶栏 */
6189
+ .lg-schedule-main {
6190
+ flex: 1;
6191
+ min-width: 0;
6192
+ display: flex;
6193
+ flex-direction: column;
6194
+ }
6195
+ .lg-schedule-toolbar {
6196
+ display: flex;
6197
+ align-items: center;
6198
+ justify-content: space-between;
6199
+ gap: 10px;
6200
+ flex-wrap: wrap;
6201
+ padding: 10px 14px;
6202
+ border-bottom: 1px solid var(--lg-separator);
6203
+ }
6204
+ .lg-schedule-toolbar-left,
6205
+ .lg-schedule-toolbar-right {
6206
+ display: flex;
6207
+ align-items: center;
6208
+ gap: 8px;
6209
+ flex-wrap: wrap;
6210
+ }
6211
+ .lg-schedule-nav-arrows {
6212
+ display: inline-flex;
6213
+ align-items: center;
6214
+ gap: 2px;
6215
+ }
6216
+ .lg-schedule-icon-btn {
6217
+ width: 30px;
6218
+ height: 30px;
6219
+ padding: 0;
6220
+ border: 0;
6221
+ border-radius: 9px;
6222
+ background: transparent;
6223
+ color: var(--lg-muted);
6224
+ display: inline-flex;
6225
+ align-items: center;
6226
+ justify-content: center;
6227
+ cursor: pointer;
6228
+ transition: background-color 140ms ease, color 140ms ease;
6229
+ }
6230
+ .lg-schedule-icon-btn:hover {
6231
+ background: var(--lg-fill-subtle);
6232
+ color: var(--lg-foreground);
6233
+ }
6234
+ .lg-schedule-icon-btn:focus-visible {
6235
+ outline: 2px solid var(--lg-focus-color);
6236
+ outline-offset: 2px;
6237
+ }
6238
+ .lg-schedule-icon-btn svg {
6239
+ width: 16px;
6240
+ height: 16px;
6241
+ }
6242
+ .lg-schedule-heading {
6243
+ margin: 0;
6244
+ font-size: 16px;
6245
+ font-weight: 600;
6246
+ letter-spacing: -0.01em;
6247
+ color: var(--lg-foreground);
6248
+ font-variant-numeric: tabular-nums;
6249
+ }
6250
+
6251
+ /* 日/周/月 视图切换器 */
6252
+ .lg-schedule-view-switch {
6253
+ display: inline-flex;
6254
+ align-items: center;
6255
+ padding: 2px;
6256
+ border-radius: 10px;
6257
+ background: var(--lg-fill-subtle);
6258
+ border: 1px solid var(--lg-surface-edge);
6259
+ }
6260
+ .lg-schedule-view-btn {
6261
+ min-width: 36px;
6262
+ height: 26px;
6263
+ padding: 0 10px;
6264
+ border: 0;
6265
+ border-radius: 8px;
6266
+ background: transparent;
6267
+ color: var(--lg-muted);
6268
+ font: inherit;
6269
+ font-size: 12.5px;
6270
+ font-weight: 500;
6271
+ cursor: pointer;
6272
+ transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
6273
+ }
6274
+ .lg-schedule-view-btn:hover:not([data-active]) {
6275
+ color: var(--lg-foreground);
6276
+ }
6277
+ .lg-schedule-view-btn[data-active] {
6278
+ background: color-mix(in srgb, var(--lg-fill) 14%, var(--lg-sheet-opaque));
6279
+ color: var(--lg-tab-accent);
6280
+ font-weight: 600;
6281
+ box-shadow: 0 1px 3px var(--lg-shadow);
6282
+ }
6283
+ .lg-schedule-view-btn:focus-visible {
6284
+ outline: 2px solid var(--lg-focus-color);
6285
+ outline-offset: 1px;
6286
+ }
6287
+
6288
+ /* 月视图 */
6289
+ .lg-schedule-month {
6290
+ flex: 1;
6291
+ min-height: 0;
6292
+ display: flex;
6293
+ flex-direction: column;
6294
+ overflow-x: auto;
6295
+ }
6296
+ .lg-schedule-weekday-row {
6297
+ display: grid;
6298
+ grid-template-columns: repeat(7, minmax(0, 1fr));
6299
+ min-width: 560px;
6300
+ border-bottom: 1px solid var(--lg-separator);
6301
+ }
6302
+ .lg-schedule-weekday-cell {
6303
+ padding: 7px 10px;
6304
+ font-size: 12px;
6305
+ font-weight: 500;
6306
+ color: var(--lg-muted);
6307
+ }
6308
+ .lg-schedule-weekday-cell[data-today] {
6309
+ color: var(--lg-tab-accent);
6310
+ font-weight: 600;
6311
+ }
6312
+ .lg-schedule-month-grid {
6313
+ flex: 1;
6314
+ min-width: 560px;
6315
+ display: grid;
6316
+ grid-template-columns: repeat(7, minmax(0, 1fr));
6317
+ grid-template-rows: repeat(var(--lg-month-rows, 5), minmax(108px, 1fr));
6318
+ }
6319
+ .lg-schedule-day-cell {
6320
+ display: flex;
6321
+ flex-direction: column;
6322
+ gap: 3px;
6323
+ padding: 5px 5px 6px;
6324
+ min-width: 0;
6325
+ border-inline-end: 1px solid var(--lg-separator);
6326
+ border-bottom: 1px solid var(--lg-separator);
6327
+ cursor: pointer;
6328
+ transition: background-color 140ms ease;
6329
+ }
6330
+ .lg-schedule-day-cell:nth-child(7n) {
6331
+ border-inline-end: 0;
6332
+ }
6333
+ .lg-schedule-day-cell:hover {
6334
+ background: color-mix(in srgb, var(--lg-fill-subtle) 55%, transparent);
6335
+ }
6336
+ .lg-schedule-day-cell[data-today] {
6337
+ background: color-mix(in srgb, var(--lg-fill) 7%, var(--lg-fill-subtle));
6338
+ }
6339
+ .lg-schedule-day-cell[data-outside] .lg-schedule-day-num {
6340
+ color: var(--lg-muted);
6341
+ opacity: 0.55;
6342
+ }
6343
+ .lg-schedule-day-header {
6344
+ display: flex;
6345
+ align-items: center;
6346
+ justify-content: flex-start;
6347
+ padding: 0 3px 2px;
6348
+ }
6349
+ .lg-schedule-day-num {
6350
+ display: inline-flex;
6351
+ align-items: center;
6352
+ justify-content: center;
6353
+ min-width: 22px;
6354
+ height: 22px;
6355
+ padding: 0 4px;
6356
+ border-radius: 999px;
6357
+ font-size: 12.5px;
6358
+ font-weight: 550;
6359
+ font-variant-numeric: tabular-nums;
6360
+ color: var(--lg-foreground);
6361
+ }
6362
+ .lg-schedule-day-num[data-today] {
6363
+ background: var(--lg-fill);
6364
+ color: #fff;
6365
+ font-weight: 600;
6366
+ }
6367
+ .lg-schedule-day-events {
6368
+ display: flex;
6369
+ flex-direction: column;
6370
+ gap: 2px;
6371
+ min-width: 0;
6372
+ }
6373
+
6374
+ /* 飞书同款日程条目:全天色条胶囊 + 时段圆点行 */
6375
+ .lg-schedule-event {
6376
+ display: flex;
6377
+ align-items: center;
6378
+ gap: 5px;
6379
+ width: 100%;
6380
+ min-width: 0;
6381
+ height: 21px;
6382
+ padding: 0 5px;
6383
+ border: 0;
6384
+ border-radius: 5px;
6385
+ background: transparent;
6386
+ color: var(--lg-foreground);
6387
+ font: inherit;
6388
+ font-size: 11.5px;
6389
+ line-height: 1;
6390
+ text-align: start;
6391
+ cursor: pointer;
6392
+ transition: background-color 120ms ease, opacity 120ms ease;
6393
+ }
6394
+ .lg-schedule-event:focus-visible {
6395
+ outline: 2px solid var(--lg-focus-color);
6396
+ outline-offset: -1px;
6397
+ }
6398
+ .lg-schedule-event[data-past] {
6399
+ opacity: 0.55;
6400
+ }
6401
+ .lg-schedule-event[data-past]:hover {
6402
+ opacity: 0.9;
6403
+ }
6404
+ .lg-schedule-event[data-declined] .lg-schedule-event-title {
6405
+ text-decoration: line-through;
6406
+ opacity: 0.7;
6407
+ }
6408
+ .lg-schedule-event-timed:hover {
6409
+ background: var(--lg-fill-subtle);
6410
+ }
6411
+ .lg-schedule-event-allday {
6412
+ background: color-mix(in srgb, var(--lg-event-color, var(--lg-fill)) 14%, transparent);
6413
+ color: color-mix(in srgb, var(--lg-event-color, var(--lg-fill)) 80%, var(--lg-foreground));
6414
+ border-inline-start: 3px solid var(--lg-event-color, var(--lg-fill));
6415
+ padding-inline-start: 6px;
6416
+ font-weight: 500;
6417
+ }
6418
+ [data-theme="dark"] .lg-schedule-event-allday {
6419
+ background: color-mix(in srgb, var(--lg-event-color, var(--lg-fill)) 24%, transparent);
6420
+ color: color-mix(in srgb, var(--lg-event-color, var(--lg-fill)) 35%, #fff);
6421
+ }
6422
+ .lg-schedule-event-allday:hover {
6423
+ background: color-mix(in srgb, var(--lg-event-color, var(--lg-fill)) 22%, transparent);
6424
+ }
6425
+ .lg-schedule-event-allday[data-cont-left] {
6426
+ border-inline-start: 0;
6427
+ border-start-start-radius: 0;
6428
+ border-end-start-radius: 0;
6429
+ margin-inline-start: -5px;
6430
+ width: calc(100% + 5px);
6431
+ }
6432
+ .lg-schedule-event-allday[data-cont-right] {
6433
+ border-start-end-radius: 0;
6434
+ border-end-end-radius: 0;
6435
+ margin-inline-end: -5px;
6436
+ width: calc(100% + 5px);
6437
+ }
6438
+ .lg-schedule-event-allday[data-cont-left][data-cont-right] {
6439
+ width: calc(100% + 10px);
6440
+ }
6441
+ .lg-schedule-dot {
6442
+ width: 6px;
6443
+ height: 6px;
6444
+ border-radius: 999px;
6445
+ flex-shrink: 0;
6446
+ background: var(--lg-event-color, var(--lg-fill));
6447
+ }
6448
+ .lg-schedule-dot[data-status="tentative"] {
6449
+ background: transparent;
6450
+ box-shadow: inset 0 0 0 1.5px var(--lg-event-color, var(--lg-fill));
6451
+ }
6452
+ .lg-schedule-event-time {
6453
+ flex-shrink: 0;
6454
+ font-variant-numeric: tabular-nums;
6455
+ color: var(--lg-muted);
6456
+ font-size: 11px;
6457
+ }
6458
+ .lg-schedule-event-title {
6459
+ flex: 1;
6460
+ min-width: 0;
6461
+ overflow: hidden;
6462
+ text-overflow: ellipsis;
6463
+ white-space: nowrap;
6464
+ }
6465
+ .lg-schedule-more-btn {
6466
+ border: 0;
6467
+ background: transparent;
6468
+ padding: 2px 5px;
6469
+ border-radius: 5px;
6470
+ color: var(--lg-muted);
6471
+ font: inherit;
6472
+ font-size: 11.5px;
6473
+ font-weight: 500;
6474
+ text-align: start;
6475
+ cursor: pointer;
6476
+ }
6477
+ .lg-schedule-more-btn:hover {
6478
+ background: var(--lg-fill-subtle);
6479
+ color: var(--lg-foreground);
6480
+ }
6481
+
6482
+ /* 周视图与日视图时间轴 */
6483
+ .lg-schedule-timegrid {
6484
+ flex: 1;
6485
+ min-height: 0;
6486
+ display: flex;
6487
+ flex-direction: column;
6488
+ overflow-x: auto;
6489
+ }
6490
+ .lg-schedule-timegrid-header,
6491
+ .lg-schedule-allday-row {
6492
+ display: flex;
6493
+ border-bottom: 1px solid var(--lg-separator);
6494
+ min-width: 520px;
6495
+ }
6496
+ .lg-schedule-timegrid[data-view="day"] .lg-schedule-timegrid-header,
6497
+ .lg-schedule-timegrid[data-view="day"] .lg-schedule-allday-row,
6498
+ .lg-schedule-timegrid[data-view="day"] .lg-schedule-timegrid-canvas {
6499
+ min-width: 0;
6500
+ }
6501
+ .lg-schedule-gutter-label {
6502
+ width: 58px;
6503
+ flex-shrink: 0;
6504
+ display: flex;
6505
+ align-items: center;
6506
+ justify-content: flex-end;
6507
+ padding-inline-end: 8px;
6508
+ font-size: 11px;
6509
+ color: var(--lg-muted);
6510
+ border-inline-end: 1px solid var(--lg-separator);
6511
+ }
6512
+ .lg-schedule-timegrid-days,
6513
+ .lg-schedule-allday-cols,
6514
+ .lg-schedule-columns {
6515
+ flex: 1;
6516
+ min-width: 0;
6517
+ display: grid;
6518
+ grid-template-columns: repeat(var(--lg-day-cols, 7), minmax(0, 1fr));
6519
+ }
6520
+ .lg-schedule-timegrid-dayhead {
6521
+ display: flex;
6522
+ flex-direction: column;
6523
+ align-items: center;
6524
+ gap: 2px;
6525
+ padding: 8px 4px;
6526
+ font-size: 12px;
6527
+ color: var(--lg-muted);
6528
+ border-inline-end: 1px solid var(--lg-separator);
6529
+ }
6530
+ .lg-schedule-timegrid-dayhead:last-child {
6531
+ border-inline-end: 0;
6532
+ }
6533
+ .lg-schedule-timegrid-dayhead strong {
6534
+ display: inline-flex;
6535
+ align-items: center;
6536
+ justify-content: center;
6537
+ width: 28px;
6538
+ height: 28px;
6539
+ border-radius: 999px;
6540
+ font-size: 15px;
6541
+ font-weight: 600;
6542
+ color: var(--lg-foreground);
6543
+ font-variant-numeric: tabular-nums;
6544
+ }
6545
+ .lg-schedule-timegrid-dayhead[data-today] {
6546
+ color: var(--lg-tab-accent);
6547
+ }
6548
+ .lg-schedule-timegrid-dayhead[data-today] strong {
6549
+ background: var(--lg-fill);
6550
+ color: #fff;
6551
+ }
6552
+ .lg-schedule-allday-cell {
6553
+ min-height: 30px;
6554
+ padding: 4px;
6555
+ display: flex;
6556
+ flex-direction: column;
6557
+ gap: 2px;
6558
+ border-inline-end: 1px solid var(--lg-separator);
6559
+ cursor: pointer;
6560
+ }
6561
+ .lg-schedule-allday-cell:last-child {
6562
+ border-inline-end: 0;
6563
+ }
6564
+ .lg-schedule-timegrid-body {
6565
+ flex: 1;
6566
+ max-height: 520px;
6567
+ overflow-y: auto;
6568
+ overflow-x: hidden;
6569
+ }
6570
+ .lg-schedule-timegrid-canvas {
6571
+ display: flex;
6572
+ min-width: 520px;
6573
+ position: relative;
6574
+ }
6575
+ .lg-schedule-hours-gutter {
6576
+ width: 58px;
6577
+ flex-shrink: 0;
6578
+ border-inline-end: 1px solid var(--lg-separator);
6579
+ }
6580
+ .lg-schedule-hour-label {
6581
+ height: 52px;
6582
+ padding-inline-end: 8px;
6583
+ font-size: 11px;
6584
+ color: var(--lg-muted);
6585
+ text-align: end;
6586
+ font-variant-numeric: tabular-nums;
6587
+ transform: translateY(-7px);
6588
+ }
6589
+ .lg-schedule-day-col {
6590
+ position: relative;
6591
+ border-inline-end: 1px solid var(--lg-separator);
6592
+ }
6593
+ .lg-schedule-day-col:last-child {
6594
+ border-inline-end: 0;
6595
+ }
6596
+ .lg-schedule-day-col[data-today] {
6597
+ background: color-mix(in srgb, var(--lg-fill) 3%, transparent);
6598
+ }
6599
+ .lg-schedule-hour-slot {
6600
+ height: 52px;
6601
+ border-bottom: 1px solid color-mix(in srgb, var(--lg-separator) 65%, transparent);
6602
+ cursor: pointer;
6603
+ }
6604
+ .lg-schedule-hour-slot:hover {
6605
+ background: color-mix(in srgb, var(--lg-fill) 6%, transparent);
6606
+ }
6607
+ .lg-schedule-now-line {
6608
+ position: absolute;
6609
+ inset-inline: 0;
6610
+ height: 2px;
6611
+ background: var(--lg-destructive);
6612
+ z-index: 3;
6613
+ pointer-events: none;
6614
+ }
6615
+ .lg-schedule-now-line::before {
6616
+ content: "";
6617
+ position: absolute;
6618
+ inset-inline-start: -4px;
6619
+ top: -3px;
6620
+ width: 8px;
6621
+ height: 8px;
6622
+ border-radius: 999px;
6623
+ background: var(--lg-destructive);
6624
+ }
6625
+ .lg-schedule-time-block {
6626
+ position: absolute;
6627
+ z-index: 2;
6628
+ padding: 4px 7px;
6629
+ border: 0;
6630
+ border-radius: 7px;
6631
+ border-inline-start: 3px solid var(--lg-event-color, var(--lg-fill));
6632
+ background: color-mix(in srgb, var(--lg-event-color, var(--lg-fill)) 16%, var(--lg-sheet-opaque));
6633
+ color: color-mix(in srgb, var(--lg-event-color, var(--lg-fill)) 75%, var(--lg-foreground));
6634
+ text-align: start;
6635
+ display: flex;
6636
+ flex-direction: column;
6637
+ gap: 2px;
6638
+ overflow: hidden;
6639
+ cursor: pointer;
6640
+ box-shadow: 0 2px 6px var(--lg-shadow);
6641
+ transition: transform 120ms ease, box-shadow 120ms ease;
6642
+ }
6643
+ [data-theme="dark"] .lg-schedule-time-block {
6644
+ background: color-mix(in srgb, var(--lg-event-color, var(--lg-fill)) 28%, var(--lg-sheet-opaque));
6645
+ color: #fff;
6646
+ }
6647
+ .lg-schedule-time-block:hover {
6648
+ transform: translateY(-1px);
6649
+ box-shadow: 0 4px 12px var(--lg-shadow);
6650
+ z-index: 4;
6651
+ }
6652
+ .lg-schedule-time-block[data-past] {
6653
+ opacity: 0.65;
6654
+ }
6655
+ .lg-schedule-time-block-title {
6656
+ font-size: 12px;
6657
+ font-weight: 600;
6658
+ line-height: 1.3;
6659
+ overflow: hidden;
6660
+ text-overflow: ellipsis;
6661
+ white-space: nowrap;
6662
+ }
6663
+ .lg-schedule-time-block-meta {
6664
+ font-size: 11px;
6665
+ opacity: 0.8;
6666
+ font-variant-numeric: tabular-nums;
6667
+ }
6668
+
6669
+ /* 日程详情与更多浮层 */
6670
+ .lg-schedule-popover,
6671
+ .lg-schedule-overflow-popover {
6672
+ --lg-transparency: 0.04;
6673
+ background-color: color-mix(in srgb, var(--lg-sheet-opaque) 94%, transparent);
6674
+ -webkit-backdrop-filter: blur(24px) saturate(1.4);
6675
+ backdrop-filter: blur(24px) saturate(1.4);
6676
+ width: 312px;
6677
+ max-width: calc(100vw - 24px);
6678
+ padding: 16px;
6679
+ }
6680
+ .lg-schedule-detail {
6681
+ display: flex;
6682
+ flex-direction: column;
6683
+ gap: 10px;
6684
+ }
6685
+ .lg-schedule-detail-head {
6686
+ display: flex;
6687
+ align-items: flex-start;
6688
+ gap: 10px;
6689
+ }
6690
+ .lg-schedule-detail-color {
6691
+ width: 11px;
6692
+ height: 11px;
6693
+ margin-top: 5px;
6694
+ border-radius: 4px;
6695
+ flex-shrink: 0;
6696
+ }
6697
+ .lg-schedule-detail-titles {
6698
+ flex: 1;
6699
+ min-width: 0;
6700
+ display: flex;
6701
+ flex-direction: column;
6702
+ gap: 2px;
6703
+ }
6704
+ .lg-schedule-detail-titles strong {
6705
+ font-size: 14.5px;
6706
+ line-height: 1.4;
6707
+ color: var(--lg-foreground);
6708
+ }
6709
+ .lg-schedule-detail-titles span {
6710
+ font-size: 12px;
6711
+ color: var(--lg-muted);
6712
+ }
6713
+ .lg-schedule-detail-meta {
6714
+ display: flex;
6715
+ flex-direction: column;
6716
+ gap: 4px;
6717
+ font-size: 12.5px;
6718
+ color: var(--lg-secondary);
6719
+ line-height: 1.5;
6720
+ }
6721
+ .lg-schedule-detail-desc {
6722
+ margin: 0;
6723
+ padding-top: 8px;
6724
+ border-top: 1px solid var(--lg-separator);
6725
+ font-size: 12.5px;
6726
+ color: var(--lg-muted);
6727
+ line-height: 1.55;
6728
+ }
6729
+ .lg-schedule-overflow-head {
6730
+ display: flex;
6731
+ align-items: center;
6732
+ justify-content: space-between;
6733
+ margin-bottom: 8px;
6734
+ font-size: 13.5px;
6735
+ }
6736
+ .lg-schedule-overflow-list {
6737
+ display: flex;
6738
+ flex-direction: column;
6739
+ gap: 4px;
6740
+ max-height: 240px;
6741
+ overflow-y: auto;
6742
+ }
6743
+
6744
+ @media (max-width: 820px) {
6745
+ .lg-schedule {
6746
+ flex-direction: column;
6747
+ }
6748
+ .lg-schedule-sidebar {
6749
+ width: 100%;
6750
+ border-inline-end: 0;
6751
+ border-bottom: 1px solid var(--lg-separator);
6752
+ max-height: 300px;
6753
+ }
6754
+ }
6755
+
6756
+
6757
+ /* ==========================================================================
6758
+ Radix 风格布局原语(Box / Flex / Stack / Center / Grid / Container / Section / AspectRatio)
6759
+ 与 LecDoc 迁移补齐组件(LoadingOverlay / Steps / TagsInput)
6760
+ ========================================================================== */
6761
+
6762
+ /* Layout Primitives */
6763
+ .lg-box {
6764
+ box-sizing: border-box;
6765
+ min-width: 0;
6766
+ }
6767
+ .lg-flex {
6768
+ display: flex;
6769
+ box-sizing: border-box;
6770
+ min-width: 0;
6771
+ }
6772
+ .lg-flex[data-inline] {
6773
+ display: inline-flex;
6774
+ }
6775
+ .lg-grid {
6776
+ display: grid;
6777
+ box-sizing: border-box;
6778
+ min-width: 0;
6779
+ }
6780
+ .lg-grid[data-inline] {
6781
+ display: inline-grid;
6782
+ }
6783
+ .lg-container {
6784
+ display: flex;
6785
+ flex-direction: column;
6786
+ width: 100%;
6787
+ box-sizing: border-box;
6788
+ min-width: 0;
6789
+ }
6790
+ .lg-container[data-align="left"] { align-items: flex-start; }
6791
+ .lg-container[data-align="center"] { align-items: center; }
6792
+ .lg-container[data-align="right"] { align-items: flex-end; }
6793
+ .lg-container-inner {
6794
+ width: 100%;
6795
+ min-width: 0;
6796
+ box-sizing: border-box;
6797
+ }
6798
+ .lg-container[data-size="1"] > .lg-container-inner { max-width: 448px; }
6799
+ .lg-container[data-size="2"] > .lg-container-inner { max-width: 688px; }
6800
+ .lg-container[data-size="3"] > .lg-container-inner { max-width: 880px; }
6801
+ .lg-container[data-size="4"] > .lg-container-inner { max-width: 1136px; }
6802
+
6803
+ .lg-section {
6804
+ width: 100%;
6805
+ box-sizing: border-box;
6806
+ min-width: 0;
6807
+ }
6808
+ .lg-section[data-size="1"] { padding-block: 24px; }
6809
+ .lg-section[data-size="2"] { padding-block: 40px; }
6810
+ .lg-section[data-size="3"] { padding-block: 64px; }
6811
+ .lg-section[data-size="4"] { padding-block: 80px; }
6812
+
6813
+ .lg-aspect-ratio {
6814
+ position: relative;
6815
+ width: 100%;
6816
+ overflow: hidden;
6817
+ box-sizing: border-box;
6818
+ }
6819
+ .lg-aspect-ratio[data-radius="small"] { border-radius: var(--lg-radius-item); }
6820
+ .lg-aspect-ratio[data-radius="regular"] { border-radius: var(--lg-radius-panel); }
6821
+ .lg-aspect-ratio[data-radius="large"] { border-radius: 28px; }
6822
+ .lg-aspect-ratio-inner {
6823
+ position: absolute;
6824
+ inset: 0;
6825
+ width: 100%;
6826
+ height: 100%;
6827
+ }
6828
+ .lg-aspect-ratio-inner > :is(img, video, iframe, canvas) {
6829
+ width: 100%;
6830
+ height: 100%;
6831
+ object-fit: cover;
6832
+ display: block;
6833
+ }
6834
+
6835
+ /* LoadingOverlay */
6836
+ .lg-loading-overlay {
6837
+ position: absolute;
6838
+ inset: 0;
6839
+ display: flex;
6840
+ align-items: center;
6841
+ justify-content: center;
6842
+ background: color-mix(in srgb, var(--lg-sheet-opaque) 42%, transparent);
6843
+ -webkit-backdrop-filter: blur(var(--lg-overlay-blur, 6px));
6844
+ backdrop-filter: blur(var(--lg-overlay-blur, 6px));
6845
+ font-family: var(--lg-font-family);
6846
+ animation: lg-overlay-fade 160ms ease-out;
6847
+ }
6848
+ @keyframes lg-overlay-fade {
6849
+ from { opacity: 0; }
6850
+ to { opacity: 1; }
6851
+ }
6852
+ .lg-loading-overlay-card {
6853
+ display: inline-flex;
6854
+ align-items: center;
6855
+ gap: 10px;
6856
+ padding: 10px 16px;
6857
+ border-radius: 999px;
6858
+ color: var(--lg-foreground);
6859
+ box-shadow: 0 8px 24px var(--lg-shadow);
6860
+ }
6861
+ .lg-loading-overlay-label {
6862
+ font-size: 13px;
6863
+ font-weight: 500;
6864
+ }
6865
+
6866
+ /* Steps */
6867
+ .lg-steps {
6868
+ display: flex;
6869
+ list-style: none;
6870
+ margin: 0;
6871
+ padding: 0;
6872
+ width: 100%;
6873
+ min-width: 0;
6874
+ gap: 10px;
6875
+ font-family: var(--lg-font-family);
6876
+ color: var(--lg-foreground);
6877
+ }
6878
+ .lg-steps[data-direction="vertical"] {
6879
+ flex-direction: column;
6880
+ gap: 0;
6881
+ }
6882
+ .lg-step {
6883
+ display: flex;
6884
+ align-items: center;
6885
+ flex: 1;
6886
+ min-width: 0;
6887
+ gap: 10px;
6888
+ }
6889
+ .lg-step:last-child {
6890
+ flex: none;
6891
+ }
6892
+ .lg-steps[data-direction="vertical"] .lg-step {
6893
+ flex: none;
6894
+ flex-direction: column;
6895
+ align-items: flex-start;
6896
+ gap: 0;
6897
+ }
6898
+ .lg-step-trigger {
6899
+ display: inline-flex;
6900
+ align-items: center;
6901
+ gap: 10px;
6902
+ padding: 4px 6px;
6903
+ border: 0;
6904
+ border-radius: 12px;
6905
+ background: transparent;
6906
+ color: inherit;
6907
+ font: inherit;
6908
+ text-align: start;
6909
+ min-width: 0;
6910
+ transition: background-color var(--lg-duration-fast) var(--lg-ease);
6911
+ }
6912
+ button.lg-step-trigger {
6913
+ cursor: pointer;
6914
+ }
6915
+ button.lg-step-trigger:hover:not(:disabled) {
6916
+ background: var(--lg-fill-subtle);
6917
+ }
6918
+ button.lg-step-trigger:focus-visible {
6919
+ outline: 2px solid var(--lg-focus-color);
6920
+ outline-offset: 2px;
6921
+ }
6922
+ button.lg-step-trigger:disabled {
6923
+ opacity: var(--lg-disabled-opacity);
6924
+ cursor: not-allowed;
6925
+ }
6926
+ .lg-step-indicator {
6927
+ width: 28px;
6928
+ height: 28px;
6929
+ border-radius: 999px;
6930
+ flex-shrink: 0;
6931
+ display: inline-flex;
6932
+ align-items: center;
6933
+ justify-content: center;
6934
+ font-size: 13px;
6935
+ font-weight: 600;
6936
+ font-variant-numeric: tabular-nums;
6937
+ background: var(--lg-fill-subtle);
6938
+ color: var(--lg-muted);
6939
+ border: 1px solid var(--lg-surface-edge);
6940
+ transition:
6941
+ background-color var(--lg-duration-fast) var(--lg-ease),
6942
+ color var(--lg-duration-fast) var(--lg-ease),
6943
+ border-color var(--lg-duration-fast) var(--lg-ease);
6944
+ }
6945
+ .lg-steps[data-size="small"] .lg-step-indicator {
6946
+ width: 22px;
6947
+ height: 22px;
6948
+ font-size: 11.5px;
6949
+ }
6950
+ .lg-step-indicator svg {
6951
+ width: 14px;
6952
+ height: 14px;
6953
+ }
6954
+ .lg-step-indicator[data-status="process"] {
6955
+ background: var(--lg-fill);
6956
+ color: #fff;
6957
+ border-color: transparent;
6958
+ box-shadow: 0 3px 10px color-mix(in srgb, var(--lg-fill) 32%, transparent);
6959
+ }
6960
+ .lg-step-indicator[data-status="finish"] {
6961
+ background: color-mix(in srgb, var(--lg-success-ink) 16%, transparent);
6962
+ color: var(--lg-success-ink);
6963
+ border-color: color-mix(in srgb, var(--lg-success-ink) 38%, transparent);
6964
+ }
6965
+ .lg-step-indicator[data-status="error"] {
6966
+ background: color-mix(in srgb, var(--lg-destructive-ink) 16%, transparent);
6967
+ color: var(--lg-destructive-ink);
6968
+ border-color: color-mix(in srgb, var(--lg-destructive-ink) 40%, transparent);
6969
+ }
6970
+ .lg-step-body {
6971
+ display: flex;
6972
+ flex-direction: column;
6973
+ gap: 2px;
6974
+ min-width: 0;
6975
+ }
6976
+ .lg-step-title {
6977
+ font-size: 13.5px;
6978
+ font-weight: 600;
6979
+ line-height: 1.35;
6980
+ white-space: nowrap;
6981
+ }
6982
+ .lg-step[data-status="wait"] .lg-step-title {
6983
+ color: var(--lg-muted);
6984
+ font-weight: 500;
6985
+ }
6986
+ .lg-step[data-status="error"] .lg-step-title {
6987
+ color: var(--lg-destructive-ink);
6988
+ }
6989
+ .lg-step-description {
6990
+ font-size: 12px;
6991
+ color: var(--lg-muted);
6992
+ line-height: 1.4;
6993
+ }
6994
+ .lg-step-connector {
6995
+ flex: 1;
6996
+ min-width: 16px;
6997
+ height: 1.5px;
6998
+ border-radius: 2px;
6999
+ background: var(--lg-separator);
7000
+ transition: background-color var(--lg-duration) var(--lg-ease);
7001
+ }
7002
+ .lg-step-connector[data-completed] {
7003
+ background: var(--lg-fill);
7004
+ }
7005
+ .lg-steps[data-direction="vertical"] .lg-step-connector {
7006
+ flex: none;
7007
+ width: 1.5px;
7008
+ min-width: 0;
7009
+ height: 22px;
7010
+ margin-inline-start: 19px;
7011
+ margin-block: 2px;
7012
+ }
7013
+ .lg-steps[data-direction="vertical"][data-size="small"] .lg-step-connector {
7014
+ margin-inline-start: 16px;
7015
+ }
7016
+ @media (max-width: 560px) {
7017
+ .lg-steps[data-direction="horizontal"] {
7018
+ flex-direction: column;
7019
+ gap: 0;
7020
+ }
7021
+ .lg-steps[data-direction="horizontal"] .lg-step {
7022
+ flex: none;
7023
+ flex-direction: column;
7024
+ align-items: flex-start;
7025
+ gap: 0;
7026
+ }
7027
+ .lg-steps[data-direction="horizontal"] .lg-step-connector {
7028
+ flex: none;
7029
+ width: 1.5px;
7030
+ min-width: 0;
7031
+ height: 18px;
7032
+ margin-inline-start: 19px;
7033
+ margin-block: 2px;
7034
+ }
7035
+ }
7036
+
7037
+ /* TagsInput */
7038
+ .lg-tags-input-wrap {
7039
+ display: flex;
7040
+ flex-direction: column;
7041
+ gap: 6px;
7042
+ width: 100%;
7043
+ max-width: 420px;
7044
+ min-width: 0;
7045
+ font-family: var(--lg-font-family);
7046
+ }
7047
+ .lg-tags-input {
7048
+ display: flex;
7049
+ flex-wrap: wrap;
7050
+ align-items: center;
7051
+ gap: 6px;
7052
+ min-height: var(--lg-control-height);
7053
+ padding: 5px 10px;
7054
+ border-radius: 16px;
7055
+ color: var(--lg-foreground);
7056
+ cursor: text;
7057
+ transition: background-color 200ms ease;
7058
+ }
7059
+ .lg-tags-input:focus-within {
7060
+ background-color: var(--lg-glass-active);
7061
+ }
7062
+ .lg-tags-input:has(input:focus-visible) {
7063
+ outline: 2px solid var(--lg-focus-color);
7064
+ outline-offset: 2px;
7065
+ }
7066
+ .lg-tags-input[data-invalid] {
7067
+ outline: 2px solid var(--lg-destructive-ink);
7068
+ outline-offset: 2px;
7069
+ }
7070
+ .lg-tags-input[data-disabled] {
7071
+ opacity: var(--lg-disabled-opacity);
7072
+ cursor: not-allowed;
7073
+ }
7074
+ .lg-tags-input-chip {
7075
+ height: 26px;
7076
+ padding: 0 8px;
7077
+ border-radius: 999px;
7078
+ line-height: 1;
7079
+ }
7080
+ .lg-tags-input-field {
7081
+ flex: 1;
7082
+ min-width: 84px;
7083
+ height: 26px;
7084
+ padding: 0 4px;
7085
+ border: 0;
7086
+ background: transparent;
7087
+ color: var(--lg-foreground);
7088
+ font: inherit;
7089
+ font-size: var(--lg-font-size);
7090
+ outline: none;
7091
+ }
7092
+ .lg-tags-input .lg-tags-input-field:focus,
7093
+ .lg-tags-input .lg-tags-input-field:focus-visible {
7094
+ outline: none;
7095
+ }
7096
+ .lg-tags-input-field::placeholder {
7097
+ color: var(--lg-muted);
7098
+ }
7099
+ .lg-tags-input-clear {
7100
+ margin-inline-start: auto;
7101
+ }