@eworkbase/plugin-ai-rules 0.4.2 → 0.4.3

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.
package/dist/ui/style.css CHANGED
@@ -55,6 +55,7 @@
55
55
  --color-foreground: #342f28;
56
56
  --color-muted: #6c675f;
57
57
  --color-tertiary: #756f66;
58
+ --color-disabled: #aaa49a;
58
59
  --color-border: #e2dfd6;
59
60
  --color-border-strong: #c9c4b8;
60
61
  --color-surface: #fff;
@@ -96,6 +97,7 @@
96
97
  letter-spacing: -.02em;
97
98
  margin-bottom: 4px;
98
99
  font-size: 22px;
100
+ line-height: 1.4;
99
101
  }
100
102
 
101
103
  h2 {
@@ -104,10 +106,16 @@
104
106
  }
105
107
 
106
108
  .app-shell {
107
- gap: 12px;
109
+ background: var(--color-surface);
110
+ align-content: start;
111
+ gap: 24px;
108
112
  width: 100%;
109
- padding: 16px;
113
+ min-width: 0;
114
+ height: 100dvh;
115
+ min-height: 0;
116
+ padding: 24px;
110
117
  display: grid;
118
+ overflow: auto;
111
119
  }
112
120
 
113
121
  .page-header, .panel-heading, .form-actions, .button-row, .checkbox-row {
@@ -129,8 +137,8 @@
129
137
 
130
138
  .page-description, .panel-heading p {
131
139
  color: var(--color-muted);
140
+ font-size: var(--workbase-type-body);
132
141
  margin-bottom: 0;
133
- font-size: 13px;
134
142
  line-height: 1.5;
135
143
  }
136
144
 
@@ -2200,6 +2208,25 @@
2200
2208
  }
2201
2209
 
2202
2210
  @layer components {
2211
+ :root {
2212
+ --workbase-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
2213
+ --workbase-type-title: 24px;
2214
+ --workbase-type-detail: 20px;
2215
+ --workbase-type-section: 16px;
2216
+ --workbase-type-body: 14px;
2217
+ --workbase-type-meta: 12px;
2218
+ --workbase-page-inset: clamp(16px, 2.3vw, 32px);
2219
+ --workbase-panel-gap: clamp(10px, 1.35vw, 20px);
2220
+ --workbase-panel-radius: 12px;
2221
+ --workbase-panel-shadow: 0 2px 7px -3px #3a301a1f, 0 8px 26px -15px #3a301a1f;
2222
+ }
2223
+
2224
+ @media (width <= 640px) {
2225
+ :root {
2226
+ --workbase-type-title: 22px;
2227
+ }
2228
+ }
2229
+
2203
2230
  .mantine-Badge-root {
2204
2231
  letter-spacing: 0;
2205
2232
  text-transform: none;
@@ -2239,7 +2266,7 @@
2239
2266
  .mantine-Button-root, .mantine-ActionIcon-root {
2240
2267
  flex-shrink: 0;
2241
2268
  font-weight: 600;
2242
- transition: background-color .15s, border-color .15s, color .15s;
2269
+ transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
2243
2270
  }
2244
2271
 
2245
2272
  .mantine-Button-inner, .mantine-Button-label {
@@ -2259,6 +2286,8 @@
2259
2286
  .workbase-brand-control[data-variant="filled"]:not(:disabled):not([data-disabled]) {
2260
2287
  border-color: var(--color-primary-hover);
2261
2288
  color: var(--color-primary-foreground);
2289
+ background: var(--color-primary);
2290
+ box-shadow: 0 1px 2px #502e0014;
2262
2291
  }
2263
2292
 
2264
2293
  .workbase-brand-control[data-variant="light"] {
@@ -2267,7 +2296,17 @@
2267
2296
  }
2268
2297
 
2269
2298
  .workbase-brand-control[data-variant="subtle"] {
2270
- color: var(--color-brand);
2299
+ color: var(--color-muted);
2300
+ }
2301
+
2302
+ .mantine-Button-root:focus-visible, .mantine-ActionIcon-root:focus-visible, .mantine-Tabs-tab:focus-visible {
2303
+ outline: 2px solid var(--color-accent);
2304
+ outline-offset: 2px;
2305
+ }
2306
+
2307
+ .workbase-brand-control[data-variant="filled"]:active:not(:disabled):not([data-disabled]) {
2308
+ background: var(--color-primary-hover);
2309
+ box-shadow: inset 0 1px 2px #00000029;
2271
2310
  }
2272
2311
 
2273
2312
  .workbase-status-teal {
@@ -2316,13 +2355,17 @@
2316
2355
 
2317
2356
  @media (hover: hover) {
2318
2357
  .mantine-Button-root[data-variant="default"]:hover:not(:disabled), .mantine-ActionIcon-root[data-variant="default"]:hover:not(:disabled) {
2319
- border-color: var(--color-brand-gold);
2320
- background: var(--color-brand-weak);
2358
+ border-color: var(--color-border-strong);
2359
+ background: var(--color-surface-muted);
2360
+ }
2361
+
2362
+ .workbase-brand-control[data-variant="filled"]:hover:not(:disabled):not([data-disabled]) {
2363
+ background: var(--color-primary-hover);
2321
2364
  }
2322
2365
 
2323
2366
  .workbase-brand-control[data-variant="subtle"]:hover:not(:disabled) {
2324
2367
  color: var(--color-brand-deep);
2325
- background: var(--color-brand-weak);
2368
+ background: var(--color-surface-muted);
2326
2369
  }
2327
2370
  }
2328
2371
 
@@ -2433,7 +2476,12 @@
2433
2476
 
2434
2477
  .mantine-Tabs-tab[data-active] {
2435
2478
  border-color: var(--color-primary-hover);
2436
- color: var(--color-brand-deep);
2479
+ color: var(--color-foreground);
2480
+ background: var(--color-brand-weak);
2481
+ }
2482
+
2483
+ .mantine-Tabs-tab:hover:not([data-active]) {
2484
+ background: var(--color-surface-muted);
2437
2485
  }
2438
2486
 
2439
2487
  .mantine-Tabs-panel {
@@ -2934,42 +2982,298 @@
2934
2982
  display: flex;
2935
2983
  }
2936
2984
 
2985
+ .plugin-toolbar {
2986
+ z-index: 3;
2987
+ min-height: 76px;
2988
+ padding: 16px var(--workbase-page-inset);
2989
+ background: var(--color-surface-raised);
2990
+ flex-wrap: wrap;
2991
+ flex-shrink: 0;
2992
+ justify-content: space-between;
2993
+ align-items: center;
2994
+ gap: 10px 20px;
2995
+ display: flex;
2996
+ position: sticky;
2997
+ top: 0;
2998
+ }
2999
+
3000
+ .plugin-surface {
3001
+ font-family: var(--workbase-font-sans);
3002
+ font-size: var(--workbase-type-body);
3003
+ line-height: 1.55;
3004
+ }
3005
+
3006
+ .plugin-toolbar h1 {
3007
+ color: var(--color-foreground);
3008
+ font: 600 var(--workbase-type-title)/1.3 var(--workbase-font-sans);
3009
+ letter-spacing: -.025em;
3010
+ align-items: center;
3011
+ gap: 9px;
3012
+ margin: 0;
3013
+ display: inline-flex;
3014
+ }
3015
+
3016
+ .plugin-toolbar[data-tone="blue"] {
3017
+ --plugin-icon-color: var(--color-accent);
3018
+ }
3019
+
3020
+ .plugin-toolbar[data-tone="teal"] {
3021
+ --plugin-icon-color: var(--color-success);
3022
+ }
3023
+
3024
+ .plugin-toolbar[data-tone="yellow"] {
3025
+ --plugin-icon-color: var(--color-primary-foreground);
3026
+ }
3027
+
3028
+ .plugin-title-icon {
3029
+ box-sizing: content-box;
3030
+ width: 20px;
3031
+ height: 20px;
3032
+ color: var(--plugin-icon-color);
3033
+ background: color-mix(in srgb, var(--plugin-icon-color) 10%, var(--color-surface));
3034
+ stroke-width: 1.7px;
3035
+ border-radius: 10px;
3036
+ flex: none;
3037
+ padding: 7px;
3038
+ }
3039
+
3040
+ .plugin-toolbar[data-tone="yellow"] .plugin-title-icon {
3041
+ background: color-mix(in srgb, var(--color-primary) 34%, var(--color-surface));
3042
+ }
3043
+
3044
+ .plugin-toolbar :is(.page-description, .change-name) {
3045
+ font-size: var(--workbase-type-meta);
3046
+ padding-inline-start: 43px;
3047
+ line-height: 1.6;
3048
+ }
3049
+
3050
+ .plugin-toolbar:has( > .configuration-page-tabs) {
3051
+ grid-template-columns: max-content max-content minmax(0, 1fr);
3052
+ grid-auto-rows: minmax(40px, auto);
3053
+ place-content: start;
3054
+ align-items: center;
3055
+ display: grid;
3056
+ }
3057
+
3058
+ .plugin-toolbar-actions {
3059
+ flex-wrap: wrap;
3060
+ justify-content: flex-end;
3061
+ justify-self: end;
3062
+ align-items: center;
3063
+ gap: 8px;
3064
+ display: flex;
3065
+ }
3066
+
3067
+ @media (width <= 640px) {
3068
+ .plugin-toolbar {
3069
+ gap: 8px 12px;
3070
+ min-height: 60px;
3071
+ padding-block: 10px;
3072
+ }
3073
+ }
3074
+
3075
+ @media (width <= 455px) {
3076
+ .plugin-toolbar:has( > .configuration-page-tabs) {
3077
+ grid-template-columns: max-content minmax(0, 1fr);
3078
+ }
3079
+
3080
+ .plugin-toolbar-actions {
3081
+ grid-column: 1 / -1;
3082
+ justify-content: flex-start;
3083
+ justify-self: start;
3084
+ }
3085
+ }
3086
+
3087
+ .plugin-panes {
3088
+ gap: var(--workbase-panel-gap);
3089
+ padding: 0 var(--workbase-page-inset) var(--workbase-panel-gap);
3090
+ }
3091
+
3092
+ .plugin-pane {
3093
+ border-radius: var(--workbase-panel-radius);
3094
+ background: var(--color-surface);
3095
+ min-width: 0;
3096
+ box-shadow: var(--workbase-panel-shadow);
3097
+ }
3098
+
3099
+ .status-page {
3100
+ --status-inset: var(--workbase-page-inset);
3101
+ gap: var(--workbase-panel-gap);
3102
+ padding: 0 0 var(--status-inset);
3103
+ background: var(--color-surface-raised);
3104
+ }
3105
+
3106
+ .status-page > :not(.plugin-toolbar) {
3107
+ margin-inline: var(--status-inset);
3108
+ }
3109
+
3110
+ .status-page .page-description {
3111
+ margin: 0;
3112
+ }
3113
+
3114
+ .status-page .status-panel, .status-page .maintenance-content {
3115
+ flex-wrap: wrap;
3116
+ justify-content: space-between;
3117
+ align-items: center;
3118
+ gap: 12px 20px;
3119
+ display: flex;
3120
+ }
3121
+
3122
+ .status-page .status-panel {
3123
+ background: var(--color-surface);
3124
+ border-radius: var(--workbase-panel-radius);
3125
+ box-shadow: var(--workbase-panel-shadow);
3126
+ padding: clamp(20px, 2.4vw, 32px);
3127
+ }
3128
+
3129
+ .status-panel .status-content {
3130
+ flex: 260px;
3131
+ min-width: 0;
3132
+ }
3133
+
3134
+ .status-panel .status-content p {
3135
+ max-width: 65ch;
3136
+ font-size: var(--workbase-type-body);
3137
+ overflow-wrap: anywhere;
3138
+ margin: 8px 0 0;
3139
+ line-height: 1.65;
3140
+ }
3141
+
3142
+ .status-page .status-facts {
3143
+ padding: var(--status-inset);
3144
+ background: var(--color-surface);
3145
+ border-radius: var(--workbase-panel-radius);
3146
+ box-shadow: var(--workbase-panel-shadow);
3147
+ grid-template-columns: repeat(4, minmax(0, 1fr));
3148
+ gap: 16px 24px;
3149
+ margin-block: 0;
3150
+ display: grid;
3151
+ }
3152
+
3153
+ @media (width <= 880px) {
3154
+ .status-page .status-facts {
3155
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3156
+ }
3157
+ }
3158
+
3159
+ @media (width <= 420px) {
3160
+ .status-page .status-facts {
3161
+ grid-template-columns: minmax(0, 1fr);
3162
+ }
3163
+ }
3164
+
3165
+ .status-facts div {
3166
+ min-width: 0;
3167
+ }
3168
+
3169
+ .status-facts dt, .status-page .maintenance-content p {
3170
+ color: var(--color-muted);
3171
+ font-size: var(--workbase-type-meta);
3172
+ line-height: 1.6;
3173
+ }
3174
+
3175
+ .status-facts dd {
3176
+ font-size: var(--workbase-type-body);
3177
+ font-variant-numeric: tabular-nums;
3178
+ overflow-wrap: anywhere;
3179
+ margin: 4px 0 0;
3180
+ font-weight: 500;
3181
+ }
3182
+
3183
+ .status-page .maintenance {
3184
+ padding: 8px var(--status-inset);
3185
+ background: var(--color-surface);
3186
+ border-radius: var(--workbase-panel-radius);
3187
+ }
3188
+
3189
+ .status-page .maintenance summary {
3190
+ width: fit-content;
3191
+ color: var(--color-foreground);
3192
+ font-size: var(--workbase-type-body);
3193
+ cursor: pointer;
3194
+ padding-block: 9px;
3195
+ font-weight: 500;
3196
+ }
3197
+
3198
+ .status-page .maintenance summary:focus-visible {
3199
+ outline: 2px solid var(--color-accent);
3200
+ outline-offset: 2px;
3201
+ border-radius: var(--mantine-radius-sm);
3202
+ }
3203
+
3204
+ .status-page .maintenance-content {
3205
+ padding-block: 4px 12px;
3206
+ }
3207
+
3208
+ .status-page .maintenance-content p {
3209
+ margin: 0;
3210
+ }
3211
+
3212
+ .status-page .loading-message {
3213
+ color: var(--color-muted);
3214
+ font-size: var(--workbase-type-body);
3215
+ align-items: center;
3216
+ gap: 8px;
3217
+ padding-block: 16px;
3218
+ display: flex;
3219
+ }
3220
+
3221
+ .status-page .operation-feedback {
3222
+ padding-top: 8px;
3223
+ }
3224
+
2937
3225
  .configuration-page-tabs {
2938
3226
  background: var(--color-surface-muted);
2939
- border-radius: 8px;
2940
- gap: 4px;
2941
- width: fit-content;
3227
+ border-radius: 10px;
3228
+ align-items: center;
3229
+ gap: 2px;
3230
+ width: max-content;
3231
+ max-width: 100%;
2942
3232
  padding: 4px;
2943
- display: flex;
3233
+ display: inline-flex;
2944
3234
  }
2945
3235
 
2946
3236
  .configuration-page-tabs button {
3237
+ min-height: 32px;
2947
3238
  color: var(--color-muted);
2948
3239
  font: inherit;
3240
+ font-size: var(--workbase-type-body);
2949
3241
  cursor: pointer;
3242
+ white-space: nowrap;
2950
3243
  background: none;
2951
3244
  border: 0;
2952
- border-radius: 5px;
2953
- padding: 8px 14px;
2954
- font-size: 13px;
2955
- font-weight: 500;
3245
+ border-radius: 7px;
3246
+ padding: 4px 13px;
3247
+ font-weight: 600;
2956
3248
  }
2957
3249
 
2958
- .configuration-page-tabs button[aria-pressed="true"] {
3250
+ .configuration-page-tabs button:hover {
2959
3251
  color: var(--color-foreground);
3252
+ }
3253
+
3254
+ .configuration-page-tabs button[aria-pressed="true"] {
2960
3255
  background: var(--color-surface);
2961
- box-shadow: 0 1px 3px #342f2812;
3256
+ color: var(--color-foreground);
3257
+ box-shadow: 0 1px 4px #37301f21;
2962
3258
  }
2963
3259
 
2964
3260
  .configuration-page-tabs button:focus-visible {
2965
3261
  outline: 2px solid var(--color-accent);
2966
- outline-offset: 2px;
3262
+ outline-offset: 1px;
2967
3263
  }
2968
3264
 
2969
3265
  .configuration-manager {
2970
3266
  min-width: 0;
2971
- font-size: 13px;
3267
+ min-height: 0;
3268
+ font-size: var(--workbase-type-body);
3269
+ flex-direction: column;
3270
+ flex: 1;
2972
3271
  line-height: 1.6;
3272
+ display: flex;
3273
+ }
3274
+
3275
+ .configuration-manager > :not(.configuration-resource-grid) {
3276
+ flex-shrink: 0;
2973
3277
  }
2974
3278
 
2975
3279
  .configuration-view {
@@ -2985,23 +3289,22 @@
2985
3289
  caret-color: var(--color-brand);
2986
3290
  }
2987
3291
 
2988
- .configuration-manager :is(pre, .configuration-items) {
3292
+ .configuration-manager :is(pre, .configuration-items, .configuration-detail) {
2989
3293
  scrollbar-width: thin;
2990
3294
  scrollbar-color: var(--color-border-strong) transparent;
2991
3295
  }
2992
3296
 
2993
3297
  .configuration-navigation {
2994
- border-bottom: 1px solid var(--color-border);
2995
3298
  justify-content: space-between;
2996
3299
  align-items: center;
2997
- gap: 20px;
2998
- margin-bottom: 20px;
3300
+ gap: 16px;
3301
+ margin-bottom: 8px;
2999
3302
  display: flex;
3000
3303
  }
3001
3304
 
3002
3305
  .configuration-tabs {
3003
- align-self: stretch;
3004
- gap: 24px;
3306
+ align-items: center;
3307
+ gap: 4px;
3005
3308
  min-width: 0;
3006
3309
  display: flex;
3007
3310
  overflow-x: auto;
@@ -3013,19 +3316,20 @@
3013
3316
  cursor: pointer;
3014
3317
  background: none;
3015
3318
  border: 0;
3016
- border-bottom: 2px solid #0000;
3319
+ border-radius: 6px;
3017
3320
  flex: none;
3018
3321
  justify-content: center;
3019
3322
  align-items: center;
3020
3323
  gap: 7px;
3021
- padding: 11px 0;
3324
+ padding: 6px 12px;
3022
3325
  font-weight: 500;
3023
3326
  display: flex;
3024
3327
  }
3025
3328
 
3026
3329
  .configuration-tabs button[aria-pressed="true"] {
3027
3330
  color: var(--color-foreground);
3028
- border-bottom-color: var(--color-brand-gold);
3331
+ background: var(--color-brand-weak);
3332
+ font-weight: 600;
3029
3333
  }
3030
3334
 
3031
3335
  .configuration-tabs button:hover:not(:disabled) {
@@ -3034,8 +3338,8 @@
3034
3338
 
3035
3339
  .configuration-tabs button span {
3036
3340
  color: var(--color-muted);
3341
+ font-size: var(--workbase-type-meta);
3037
3342
  font-variant-numeric: tabular-nums;
3038
- font-size: 11px;
3039
3343
  }
3040
3344
 
3041
3345
  .configuration-tabs button:disabled {
@@ -3048,35 +3352,46 @@
3048
3352
  outline-offset: 3px;
3049
3353
  }
3050
3354
 
3355
+ .configuration-navigation .configuration-tabs button:focus-visible {
3356
+ outline: 2px solid var(--color-accent);
3357
+ outline-offset: -2px;
3358
+ }
3359
+
3051
3360
  .configuration-manager .configuration-resource-grid {
3052
- border: 1px solid var(--color-border);
3053
- background: var(--color-surface);
3054
- border-radius: 10px;
3055
- grid-template-columns: 248px minmax(0, 1fr);
3056
- align-items: stretch;
3057
- min-height: 540px;
3361
+ gap: var(--workbase-panel-gap);
3362
+ flex: 1;
3363
+ grid-template-rows: minmax(0, 1fr);
3364
+ grid-template-columns: clamp(260px, 29.5%, 360px) minmax(0, 1fr);
3365
+ min-height: min(480px, 65dvh);
3058
3366
  display: grid;
3059
3367
  }
3060
3368
 
3061
3369
  .configuration-list {
3062
- border-right: 1px solid var(--color-border);
3063
- background: var(--color-surface-raised);
3064
- border-radius: 10px 0 0 10px;
3370
+ border-radius: var(--workbase-panel-radius);
3371
+ background: var(--color-surface);
3065
3372
  min-width: 0;
3066
- padding: 20px 12px 12px;
3373
+ min-height: 0;
3374
+ box-shadow: var(--workbase-panel-shadow);
3375
+ flex-direction: column;
3376
+ padding: 20px 14px;
3377
+ display: flex;
3378
+ }
3379
+
3380
+ .configuration-list > :not(.configuration-items) {
3381
+ flex-shrink: 0;
3067
3382
  }
3068
3383
 
3069
3384
  .configuration-list-heading {
3070
3385
  justify-content: space-between;
3071
3386
  align-items: center;
3072
3387
  gap: 8px;
3073
- padding: 0 4px 16px;
3388
+ padding: 0 4px 12px;
3074
3389
  display: flex;
3075
3390
  }
3076
3391
 
3077
3392
  .configuration-manager .configuration-list-heading h2 {
3393
+ font-size: var(--workbase-type-section);
3078
3394
  margin: 0;
3079
- font-size: 13px;
3080
3395
  font-weight: 600;
3081
3396
  }
3082
3397
 
@@ -3088,9 +3403,9 @@
3088
3403
  min-height: 36px;
3089
3404
  color: var(--color-foreground);
3090
3405
  font: inherit;
3406
+ font-size: var(--workbase-type-meta);
3091
3407
  border-radius: 6px;
3092
3408
  padding: 7px 10px;
3093
- font-size: 12px;
3094
3409
  }
3095
3410
 
3096
3411
  .configuration-search::placeholder, .configuration-field :is(input, textarea)::placeholder {
@@ -3105,10 +3420,11 @@
3105
3420
  }
3106
3421
 
3107
3422
  .configuration-items {
3423
+ flex: 1;
3108
3424
  align-content: start;
3109
3425
  gap: 4px;
3110
- max-height: 600px;
3111
- padding-top: 12px;
3426
+ min-height: 0;
3427
+ padding: 8px 4px 4px;
3112
3428
  display: grid;
3113
3429
  overflow: auto;
3114
3430
  }
@@ -3135,14 +3451,14 @@
3135
3451
  }
3136
3452
 
3137
3453
  .configuration-row strong {
3138
- font-size: 13px;
3454
+ font-size: var(--workbase-type-body);
3139
3455
  font-weight: 600;
3140
3456
  line-height: 1.5;
3141
3457
  }
3142
3458
 
3143
3459
  .configuration-row span {
3144
3460
  color: var(--color-muted);
3145
- font-size: 11px;
3461
+ font-size: var(--workbase-type-meta);
3146
3462
  line-height: 1.5;
3147
3463
  }
3148
3464
 
@@ -3151,8 +3467,9 @@
3151
3467
  }
3152
3468
 
3153
3469
  .configuration-row[aria-current="true"] {
3154
- border-color: var(--color-border);
3155
- background: var(--color-surface);
3470
+ background: var(--color-brand-weak);
3471
+ box-shadow: inset 3px 0 var(--color-primary);
3472
+ border-color: #0000;
3156
3473
  }
3157
3474
 
3158
3475
  .configuration-row[aria-current="true"] strong {
@@ -3165,8 +3482,8 @@
3165
3482
 
3166
3483
  .configuration-editing-notice {
3167
3484
  color: var(--color-muted);
3485
+ font-size: var(--workbase-type-meta);
3168
3486
  margin: 0 0 12px;
3169
- font-size: 12px;
3170
3487
  }
3171
3488
 
3172
3489
  .configuration-row:disabled:not([aria-current="true"]) {
@@ -3174,29 +3491,43 @@
3174
3491
  }
3175
3492
 
3176
3493
  .configuration-manager .configuration-list-footer {
3177
- border-top: 1px solid var(--color-border);
3494
+ background: var(--color-surface-raised);
3178
3495
  color: var(--color-muted);
3496
+ font-size: var(--workbase-type-meta);
3497
+ border-radius: 8px;
3179
3498
  justify-content: flex-start;
3180
- margin: 16px 4px 0;
3181
- padding-top: 16px;
3182
- font-size: 12px;
3499
+ margin: 20px 4px 0;
3500
+ padding: 12px;
3183
3501
  line-height: 1.7;
3184
3502
  display: flex;
3185
3503
  }
3186
3504
 
3187
3505
  .configuration-detail {
3188
- flex-direction: column;
3506
+ border-radius: var(--workbase-panel-radius);
3507
+ background: var(--color-surface);
3189
3508
  min-width: 0;
3509
+ min-height: 0;
3510
+ box-shadow: var(--workbase-panel-shadow);
3511
+ flex-direction: column;
3190
3512
  display: flex;
3513
+ overflow: auto;
3514
+ }
3515
+
3516
+ .configuration-detail > :not(.configuration-detail-body) {
3517
+ flex-shrink: 0;
3518
+ }
3519
+
3520
+ .configuration-detail:focus-visible {
3521
+ outline: 2px solid var(--color-accent);
3522
+ outline-offset: -2px;
3191
3523
  }
3192
3524
 
3193
3525
  .configuration-detail-header {
3194
- border-bottom: 1px solid var(--color-border);
3195
3526
  flex-wrap: wrap;
3196
3527
  justify-content: space-between;
3197
3528
  align-items: flex-start;
3198
3529
  gap: 20px;
3199
- padding: 26px 32px 22px;
3530
+ padding: 26px 32px 8px;
3200
3531
  display: flex;
3201
3532
  }
3202
3533
 
@@ -3214,8 +3545,8 @@
3214
3545
  }
3215
3546
 
3216
3547
  .configuration-manager .configuration-header-feedback > p {
3548
+ font-size: var(--workbase-type-meta);
3217
3549
  margin: 0;
3218
- font-size: 12px;
3219
3550
  }
3220
3551
 
3221
3552
  .configuration-header-feedback .mantine-Alert-root {
@@ -3255,32 +3586,33 @@
3255
3586
  }
3256
3587
 
3257
3588
  .configuration-manager .configuration-detail-header h2 {
3589
+ font-size: var(--workbase-type-detail);
3258
3590
  letter-spacing: -.02em;
3259
3591
  overflow-wrap: anywhere;
3260
3592
  margin: 0;
3261
- font-size: 20px;
3262
3593
  font-weight: 600;
3263
3594
  line-height: 1.4;
3264
3595
  }
3265
3596
 
3266
3597
  .configuration-manager .configuration-detail-header p {
3267
3598
  color: var(--color-muted);
3599
+ font-size: var(--workbase-type-meta);
3268
3600
  flex-wrap: wrap;
3269
3601
  align-items: center;
3270
3602
  gap: 10px;
3271
3603
  margin: 8px 0 0;
3272
- font-size: 12px;
3273
3604
  display: flex;
3274
3605
  }
3275
3606
 
3276
3607
  .configuration-detail-header code {
3608
+ font-size: var(--workbase-type-meta);
3277
3609
  overflow-wrap: anywhere;
3278
- font-size: 11px;
3279
3610
  }
3280
3611
 
3281
3612
  .configuration-mode {
3282
- border-left: 1px solid var(--color-border-strong);
3283
- padding-left: 10px;
3613
+ background: var(--color-surface-muted);
3614
+ border-radius: 6px;
3615
+ padding: 2px 8px;
3284
3616
  }
3285
3617
 
3286
3618
  .configuration-detail-body {
@@ -3295,8 +3627,8 @@
3295
3627
 
3296
3628
  .configuration-manager .configuration-section h3, .configuration-tasks legend {
3297
3629
  color: var(--color-foreground);
3630
+ font-size: var(--workbase-type-section);
3298
3631
  margin: 0 0 14px;
3299
- font-size: 14px;
3300
3632
  font-weight: 600;
3301
3633
  line-height: 1.5;
3302
3634
  }
@@ -3316,9 +3648,9 @@
3316
3648
 
3317
3649
  .configuration-manager .configuration-notice {
3318
3650
  color: var(--color-muted);
3651
+ font-size: var(--workbase-type-body);
3319
3652
  overflow-wrap: anywhere;
3320
3653
  margin: 0;
3321
- font-size: 13px;
3322
3654
  line-height: 1.7;
3323
3655
  }
3324
3656
 
@@ -3330,10 +3662,10 @@
3330
3662
  border: 1px solid var(--color-border);
3331
3663
  color: var(--color-foreground);
3332
3664
  background: var(--color-surface-raised);
3665
+ font-size: var(--workbase-type-body);
3333
3666
  border-radius: 6px;
3334
3667
  margin: 0 0 16px;
3335
3668
  padding: 10px 14px;
3336
- font-size: 13px;
3337
3669
  }
3338
3670
 
3339
3671
  .configuration-manager .mantine-Alert-root {
@@ -3342,12 +3674,12 @@
3342
3674
 
3343
3675
  .configuration-reading {
3344
3676
  color: var(--color-muted);
3677
+ font-size: var(--workbase-type-meta);
3345
3678
  border-bottom: 1px solid var(--color-border);
3346
3679
  align-items: center;
3347
3680
  gap: 8px;
3348
3681
  margin: 0;
3349
3682
  padding: 12px 32px;
3350
- font-size: 12px;
3351
3683
  display: flex;
3352
3684
  }
3353
3685
 
@@ -3358,15 +3690,15 @@
3358
3690
  }
3359
3691
 
3360
3692
  .configuration-manager .configuration-empty h2 {
3693
+ font-size: var(--workbase-type-detail);
3361
3694
  margin: 0 0 12px;
3362
- font-size: 20px;
3363
3695
  font-weight: 600;
3364
3696
  }
3365
3697
 
3366
3698
  .configuration-manager .configuration-empty p {
3367
3699
  color: var(--color-muted);
3700
+ font-size: var(--workbase-type-body);
3368
3701
  margin: 8px 0 0;
3369
- font-size: 13px;
3370
3702
  line-height: 1.8;
3371
3703
  }
3372
3704
 
@@ -3376,10 +3708,10 @@
3376
3708
  }
3377
3709
 
3378
3710
  .configuration-field {
3711
+ min-width: 0;
3712
+ font-size: var(--workbase-type-body);
3379
3713
  align-content: start;
3380
3714
  gap: 8px;
3381
- min-width: 0;
3382
- font-size: 13px;
3383
3715
  font-weight: 500;
3384
3716
  display: grid;
3385
3717
  }
@@ -3416,15 +3748,15 @@
3416
3748
  }
3417
3749
 
3418
3750
  .configuration-field .configuration-code-editor {
3419
- tab-size: 2;
3420
3751
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
3421
- font-size: 12px;
3752
+ font-size: var(--workbase-type-meta);
3753
+ tab-size: 2;
3422
3754
  line-height: 1.75;
3423
3755
  }
3424
3756
 
3425
3757
  .configuration-hint {
3426
3758
  color: var(--color-muted);
3427
- font-size: 12px;
3759
+ font-size: var(--workbase-type-meta);
3428
3760
  font-weight: 400;
3429
3761
  line-height: 1.6;
3430
3762
  }
@@ -3454,16 +3786,15 @@
3454
3786
  }
3455
3787
 
3456
3788
  .configuration-document-bar {
3457
- border-bottom: 1px solid var(--color-border);
3458
3789
  color: var(--color-muted);
3790
+ font-size: var(--workbase-type-meta);
3459
3791
  overflow-wrap: anywhere;
3460
3792
  flex-wrap: wrap;
3461
3793
  justify-content: space-between;
3462
3794
  align-items: center;
3463
3795
  gap: 12px;
3464
- margin-bottom: 20px;
3465
- padding-bottom: 16px;
3466
- font-size: 12px;
3796
+ margin-bottom: 12px;
3797
+ padding-bottom: 8px;
3467
3798
  display: flex;
3468
3799
  }
3469
3800
 
@@ -3481,21 +3812,20 @@
3481
3812
 
3482
3813
  .configuration-file-picker select {
3483
3814
  width: auto;
3815
+ font-size: var(--workbase-type-meta);
3484
3816
  padding: 6px 8px;
3485
- font-size: 12px;
3486
3817
  }
3487
3818
 
3488
3819
  .configuration-manager .configuration-content {
3489
- border: 1px solid var(--color-border);
3490
3820
  background: var(--color-surface-raised);
3491
3821
  white-space: pre-wrap;
3492
3822
  overflow-wrap: anywhere;
3493
- border-radius: 6px;
3494
3823
  max-height: 520px;
3824
+ font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
3825
+ font-size: var(--workbase-type-meta);
3826
+ border-radius: 8px;
3495
3827
  margin: 0;
3496
3828
  padding: 20px;
3497
- font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
3498
- font-size: 12px;
3499
3829
  line-height: 1.8;
3500
3830
  overflow: auto;
3501
3831
  }
@@ -3503,8 +3833,8 @@
3503
3833
  .configuration-manager .configuration-prose {
3504
3834
  max-width: 72ch;
3505
3835
  color: var(--color-foreground);
3836
+ font-size: var(--workbase-type-body);
3506
3837
  overflow-wrap: anywhere;
3507
- font-size: 14px;
3508
3838
  line-height: 1.85;
3509
3839
  }
3510
3840
 
@@ -3515,15 +3845,11 @@
3515
3845
  }
3516
3846
 
3517
3847
  .configuration-manager .configuration-prose h1 {
3518
- font-size: 22px;
3848
+ font-size: var(--workbase-type-detail);
3519
3849
  }
3520
3850
 
3521
- .configuration-manager .configuration-prose h2 {
3522
- font-size: 18px;
3523
- }
3524
-
3525
- .configuration-manager .configuration-prose :is(h3, h4) {
3526
- font-size: 15px;
3851
+ .configuration-manager .configuration-prose h2, .configuration-manager .configuration-prose :is(h3, h4) {
3852
+ font-size: var(--workbase-type-section);
3527
3853
  }
3528
3854
 
3529
3855
  .configuration-manager .configuration-prose > :first-child {
@@ -3583,7 +3909,7 @@
3583
3909
  .configuration-prose table {
3584
3910
  border-collapse: collapse;
3585
3911
  width: 100%;
3586
- font-size: 13px;
3912
+ font-size: var(--workbase-type-body);
3587
3913
  display: block;
3588
3914
  overflow-x: auto;
3589
3915
  }
@@ -3603,14 +3929,14 @@
3603
3929
 
3604
3930
  .configuration-facts dt {
3605
3931
  color: var(--color-muted);
3932
+ font-size: var(--workbase-type-meta);
3606
3933
  margin-bottom: 5px;
3607
- font-size: 12px;
3608
3934
  }
3609
3935
 
3610
3936
  .configuration-facts dd {
3937
+ font-size: var(--workbase-type-body);
3611
3938
  overflow-wrap: anywhere;
3612
3939
  margin: 0;
3613
- font-size: 13px;
3614
3940
  }
3615
3941
 
3616
3942
  .configuration-tasks {
@@ -3647,13 +3973,13 @@
3647
3973
  }
3648
3974
 
3649
3975
  .configuration-tasks strong, .configuration-task-list strong {
3650
- font-size: 13px;
3976
+ font-size: var(--workbase-type-body);
3651
3977
  font-weight: 500;
3652
3978
  }
3653
3979
 
3654
3980
  .configuration-tasks small, .configuration-task-list span {
3655
3981
  color: var(--color-muted);
3656
- font-size: 12px;
3982
+ font-size: var(--workbase-type-meta);
3657
3983
  }
3658
3984
 
3659
3985
  .configuration-task-list {
@@ -3671,23 +3997,24 @@
3671
3997
  }
3672
3998
 
3673
3999
  .configuration-disclosure {
3674
- border-top: 1px solid var(--color-border);
3675
- margin-top: 24px;
3676
- padding-top: 16px;
4000
+ background: var(--color-surface-raised);
4001
+ border-radius: 8px;
4002
+ margin-top: 10px;
4003
+ padding: 8px 14px;
3677
4004
  }
3678
4005
 
3679
4006
  .configuration-disclosure summary {
3680
- cursor: pointer;
3681
4007
  width: fit-content;
4008
+ font-size: var(--workbase-type-body);
4009
+ cursor: pointer;
3682
4010
  padding: 4px 0;
3683
- font-size: 13px;
3684
4011
  font-weight: 500;
3685
4012
  }
3686
4013
 
3687
4014
  .configuration-disclosure summary span {
3688
4015
  color: var(--color-muted);
4016
+ font-size: var(--workbase-type-meta);
3689
4017
  margin-left: 10px;
3690
- font-size: 12px;
3691
4018
  font-weight: 400;
3692
4019
  }
3693
4020
 
@@ -3696,9 +4023,8 @@
3696
4023
  }
3697
4024
 
3698
4025
  .configuration-footer {
3699
- border-top: 1px solid var(--color-border);
4026
+ border-radius: 0 0 var(--workbase-panel-radius) var(--workbase-panel-radius);
3700
4027
  background: var(--color-surface-raised);
3701
- border-radius: 0 0 10px;
3702
4028
  flex-wrap: wrap;
3703
4029
  justify-content: space-between;
3704
4030
  align-items: center;
@@ -3710,9 +4036,9 @@
3710
4036
 
3711
4037
  .configuration-manager .configuration-footer p {
3712
4038
  color: var(--color-muted);
4039
+ font-size: var(--workbase-type-meta);
3713
4040
  flex: 220px;
3714
4041
  margin: 0;
3715
- font-size: 12px;
3716
4042
  line-height: 1.6;
3717
4043
  }
3718
4044
 
@@ -3736,32 +4062,28 @@
3736
4062
  .configuration-detail-body {
3737
4063
  padding: 24px;
3738
4064
  }
3739
-
3740
- .configuration-tabs {
3741
- gap: 18px;
3742
- }
3743
4065
  }
3744
4066
 
3745
4067
  @media (width <= 720px) {
3746
4068
  .configuration-navigation {
3747
- flex-wrap: wrap;
3748
4069
  gap: 12px;
3749
- padding-bottom: 12px;
3750
4070
  }
3751
4071
 
3752
- .configuration-tabs {
3753
- gap: 20px;
3754
- width: 100%;
4072
+ .configuration-navigation > button {
4073
+ flex-shrink: 0;
4074
+ }
4075
+
4076
+ .configuration-tabs button {
4077
+ padding-inline: 8px;
3755
4078
  }
3756
4079
 
3757
4080
  .configuration-manager .configuration-resource-grid {
4081
+ grid-template-rows: max-content minmax(min(12rem, 40dvh), 1fr);
3758
4082
  grid-template-columns: minmax(0, 1fr);
3759
4083
  }
3760
4084
 
3761
- .configuration-list {
3762
- border-right: 0;
3763
- border-bottom: 1px solid var(--color-border);
3764
- border-radius: 10px 10px 0 0;
4085
+ .configuration-manager[data-editing="true"] .configuration-resource-grid {
4086
+ grid-template-rows: minmax(0, 1fr);
3765
4087
  }
3766
4088
 
3767
4089
  .configuration-manager[data-editing="true"] .configuration-list {
@@ -3769,7 +4091,7 @@
3769
4091
  }
3770
4092
 
3771
4093
  .configuration-items {
3772
- max-height: 176px;
4094
+ max-height: min(176px, 24dvh);
3773
4095
  }
3774
4096
 
3775
4097
  .configuration-list-footer {
@@ -3795,7 +4117,7 @@
3795
4117
  }
3796
4118
 
3797
4119
  .configuration-footer {
3798
- border-radius: 0 0 10px 10px;
4120
+ border-radius: 0 0 var(--mantine-radius-lg) var(--mantine-radius-lg);
3799
4121
  padding: 16px 20px;
3800
4122
  }
3801
4123
 
@@ -3809,6 +4131,75 @@
3809
4131
  }
3810
4132
  }
3811
4133
 
4134
+ @media (width <= 560px) {
4135
+ .configuration-list {
4136
+ grid-template-columns: minmax(0, 1fr) minmax(108px, .85fr);
4137
+ align-items: center;
4138
+ gap: 10px 12px;
4139
+ padding: 12px;
4140
+ display: grid;
4141
+ }
4142
+
4143
+ .configuration-list-heading {
4144
+ gap: 6px;
4145
+ padding: 0;
4146
+ }
4147
+
4148
+ .configuration-manager .configuration-list-heading h2 {
4149
+ font-size: var(--workbase-type-section);
4150
+ }
4151
+
4152
+ .configuration-search {
4153
+ min-height: 32px;
4154
+ padding-block: 4px;
4155
+ }
4156
+
4157
+ .configuration-items {
4158
+ grid-column: 1 / -1;
4159
+ align-items: stretch;
4160
+ gap: 6px;
4161
+ min-width: 0;
4162
+ padding: 4px;
4163
+ display: flex;
4164
+ }
4165
+
4166
+ .configuration-item {
4167
+ flex: none;
4168
+ max-width: 85%;
4169
+ display: flex;
4170
+ }
4171
+
4172
+ .configuration-row {
4173
+ align-content: center;
4174
+ gap: 0;
4175
+ min-height: 36px;
4176
+ padding: 5px 11px;
4177
+ }
4178
+
4179
+ .configuration-item:has(.configuration-delete) .configuration-row {
4180
+ padding-inline-end: 36px;
4181
+ }
4182
+
4183
+ .configuration-row strong {
4184
+ font-size: var(--workbase-type-body);
4185
+ }
4186
+
4187
+ .configuration-row span {
4188
+ font-size: var(--workbase-type-meta);
4189
+ }
4190
+
4191
+ .configuration-manager .configuration-list-footer {
4192
+ background: none;
4193
+ grid-column: 1 / -1;
4194
+ margin: 0;
4195
+ padding: 0;
4196
+ }
4197
+
4198
+ .configuration-manager p.configuration-list-footer {
4199
+ display: none;
4200
+ }
4201
+ }
4202
+
3812
4203
  .vditor {
3813
4204
  --border-color: #d1d5da;
3814
4205
  --second-color: #5860695c;
@@ -6134,30 +6525,46 @@
6134
6525
  }
6135
6526
  }
6136
6527
 
6137
- .app-shell {
6138
- gap: 24px;
6139
- padding: 24px;
6528
+ .rules-shell {
6529
+ padding: 0 var(--workbase-page-inset) var(--workbase-page-inset);
6530
+ background: var(--color-surface-raised);
6531
+ flex-direction: column;
6532
+ gap: 8px;
6533
+ display: flex;
6140
6534
  }
6141
6535
 
6142
- .page-header {
6143
- flex-direction: row;
6144
- align-items: flex-start;
6536
+ .rules-shell > .plugin-toolbar {
6537
+ min-height: 0;
6538
+ margin-inline: calc(-1 * var(--workbase-page-inset));
6539
+ padding-block-end: 8px;
6145
6540
  }
6146
6541
 
6147
- .page-header h1 {
6148
- margin-bottom: 6px;
6149
- font-size: 20px;
6150
- line-height: 1.4;
6542
+ .rules-shell > :not(.configuration-view) {
6543
+ flex-shrink: 0;
6151
6544
  }
6152
6545
 
6153
- .page-description {
6154
- max-width: 65ch;
6546
+ .rules-shell > .configuration-view {
6547
+ flex-direction: column;
6548
+ flex: 1;
6549
+ min-height: 0;
6550
+ display: flex;
6155
6551
  }
6156
6552
 
6157
- .sync-overview, .maintenance-content {
6553
+ .rules-sync-sections:not([hidden]) {
6554
+ align-content: start;
6555
+ gap: var(--workbase-panel-gap);
6556
+ display: grid;
6557
+ }
6558
+
6559
+ .sync-overview {
6560
+ border-radius: var(--workbase-panel-radius);
6561
+ background: var(--color-surface);
6562
+ box-shadow: var(--workbase-panel-shadow);
6563
+ flex-wrap: wrap;
6158
6564
  justify-content: space-between;
6159
6565
  align-items: center;
6160
- gap: 20px;
6566
+ gap: 12px 20px;
6567
+ padding: 18px 20px;
6161
6568
  display: flex;
6162
6569
  }
6163
6570
 
@@ -6168,22 +6575,46 @@
6168
6575
  .sync-overview p {
6169
6576
  overflow-wrap: anywhere;
6170
6577
  max-width: 65ch;
6578
+ font-size: var(--workbase-type-body);
6171
6579
  margin: 10px 0 0;
6172
- font-size: 14px;
6173
6580
  line-height: 1.6;
6174
6581
  }
6175
6582
 
6176
6583
  .maintenance {
6177
- border-top: 1px solid var(--color-border);
6178
- padding-top: 16px;
6584
+ border-radius: var(--workbase-panel-radius);
6585
+ background: var(--color-surface);
6586
+ min-width: 0;
6587
+ box-shadow: var(--workbase-panel-shadow);
6588
+ padding: 0 20px;
6179
6589
  }
6180
6590
 
6181
6591
  .maintenance summary {
6182
- width: fit-content;
6183
- color: var(--color-muted);
6592
+ color: var(--color-foreground);
6184
6593
  cursor: pointer;
6185
- padding: 4px 0;
6186
- font-size: 13px;
6594
+ font-size: var(--workbase-type-section);
6595
+ align-items: center;
6596
+ gap: 9px;
6597
+ padding: 15px 0;
6598
+ font-weight: 600;
6599
+ list-style: none;
6600
+ display: flex;
6601
+ }
6602
+
6603
+ .maintenance summary::-webkit-details-marker {
6604
+ display: none;
6605
+ }
6606
+
6607
+ .maintenance summary > svg:first-child {
6608
+ color: var(--color-success);
6609
+ }
6610
+
6611
+ .maintenance .sync-disclosure {
6612
+ color: var(--color-muted);
6613
+ margin-left: auto;
6614
+ }
6615
+
6616
+ .maintenance[open] > summary .sync-disclosure {
6617
+ transform: rotate(90deg);
6187
6618
  }
6188
6619
 
6189
6620
  .maintenance summary:hover {
@@ -6197,7 +6628,7 @@
6197
6628
  }
6198
6629
 
6199
6630
  .maintenance-content {
6200
- margin-top: 12px;
6631
+ padding: 0 0 16px;
6201
6632
  }
6202
6633
 
6203
6634
  .maintenance-content p {
@@ -6206,10 +6637,10 @@
6206
6637
 
6207
6638
  .loading-message {
6208
6639
  color: var(--color-muted);
6640
+ font-size: var(--workbase-type-body);
6209
6641
  align-items: center;
6210
6642
  gap: 10px;
6211
6643
  margin: 0;
6212
- font-size: 14px;
6213
6644
  display: flex;
6214
6645
  }
6215
6646
 
@@ -6226,13 +6657,25 @@
6226
6657
  }
6227
6658
 
6228
6659
  .resource-publication-notice {
6229
- color: var(--color-muted);
6660
+ color: var(--color-warning);
6661
+ font-size: var(--workbase-type-meta);
6230
6662
  overflow-wrap: anywhere;
6231
- margin: 0;
6232
- font-size: 12px;
6663
+ margin: 0 0 8px;
6233
6664
  line-height: 1.6;
6234
6665
  }
6235
6666
 
6667
+ .configuration-list .resource-publication-notice {
6668
+ color: var(--color-muted);
6669
+ margin: 8px 4px 0;
6670
+ }
6671
+
6672
+ @media (width <= 560px) {
6673
+ .configuration-list .resource-publication-notice {
6674
+ grid-column: 1 / -1;
6675
+ margin: 0;
6676
+ }
6677
+ }
6678
+
6236
6679
  .configuration-row .resource-publication {
6237
6680
  justify-self: start;
6238
6681
  align-items: center;
@@ -6257,18 +6700,6 @@
6257
6700
  color: var(--color-warning);
6258
6701
  }
6259
6702
 
6260
- @media (width <= 520px) {
6261
- .app-shell {
6262
- gap: 20px;
6263
- padding: 16px;
6264
- }
6265
-
6266
- .page-header, .sync-overview, .maintenance-content {
6267
- flex-wrap: wrap;
6268
- gap: 12px;
6269
- }
6270
- }
6271
-
6272
6703
  @media (prefers-reduced-motion: reduce) {
6273
6704
  *, :before, :after {
6274
6705
  transition-duration: .01ms !important;
@@ -6277,20 +6708,49 @@
6277
6708
  }
6278
6709
  }
6279
6710
 
6280
- .configuration-actions {
6281
- margin-top: 16px;
6711
+ .sync-configuration-footer {
6712
+ border-radius: 0 0 var(--workbase-panel-radius) var(--workbase-panel-radius);
6713
+ background: color-mix(in srgb, var(--color-success) 5%, var(--color-surface));
6714
+ flex-wrap: wrap;
6715
+ justify-content: space-between;
6716
+ align-items: center;
6717
+ gap: 12px 20px;
6718
+ margin: 20px -20px 0;
6719
+ padding: 14px 20px;
6720
+ display: flex;
6721
+ }
6722
+
6723
+ .sync-team-notice {
6724
+ max-width: 54ch;
6725
+ color: var(--color-muted);
6726
+ font-size: var(--workbase-type-meta);
6727
+ align-items: flex-start;
6728
+ gap: 8px;
6729
+ margin: 0;
6730
+ line-height: 20px;
6731
+ display: flex;
6732
+ }
6733
+
6734
+ .sync-team-notice svg {
6735
+ color: var(--color-success);
6736
+ flex: none;
6737
+ margin-top: 2px;
6738
+ }
6739
+
6740
+ .sync-configuration-footer .button-row {
6741
+ margin-inline-start: auto;
6282
6742
  }
6283
6743
 
6284
6744
  .configuration-unsaved {
6285
6745
  color: var(--color-warning);
6746
+ font-size: var(--workbase-type-meta);
6286
6747
  margin-left: 12px;
6287
- font-size: 12px;
6288
6748
  }
6289
6749
 
6290
6750
  .configuration-layout {
6291
6751
  grid-template-columns: repeat(2, minmax(0, 1fr));
6292
- gap: 24px;
6293
- margin-top: 20px;
6752
+ gap: 16px 28px;
6753
+ margin-top: 16px;
6294
6754
  display: grid;
6295
6755
  }
6296
6756
 
@@ -6303,9 +6763,9 @@
6303
6763
 
6304
6764
  .choice-section legend {
6305
6765
  color: var(--color-muted);
6766
+ font-size: var(--workbase-type-body);
6306
6767
  margin-bottom: 8px;
6307
6768
  padding: 0;
6308
- font-size: 13px;
6309
6769
  }
6310
6770
 
6311
6771
  .choice-list, .feature-grid {
@@ -6328,33 +6788,63 @@
6328
6788
  }
6329
6789
 
6330
6790
  .choice-field strong {
6331
- font-size: 13px;
6791
+ font-size: var(--workbase-type-body);
6332
6792
  font-weight: 500;
6333
6793
  }
6334
6794
 
6335
- .choice-field:hover, .choice-field[data-selected="true"] {
6795
+ .choice-field:hover {
6796
+ background: var(--color-surface-muted);
6797
+ }
6798
+
6799
+ .choice-field[data-selected="true"] {
6336
6800
  background: var(--color-brand-weak);
6337
6801
  }
6338
6802
 
6339
6803
  .choice-section:disabled .choice-field {
6340
6804
  cursor: default;
6341
- opacity: .6;
6805
+ color: var(--color-muted);
6806
+ }
6807
+
6808
+ .choice-section:disabled .choice-field[data-selected="true"] {
6809
+ color: var(--color-foreground);
6810
+ }
6811
+
6812
+ .choice-section:disabled .choice-field:not([data-selected="true"]):hover {
6813
+ background: none;
6342
6814
  }
6343
6815
 
6344
6816
  .auto-sync-switch {
6817
+ background: var(--color-surface-raised);
6345
6818
  cursor: pointer;
6819
+ border-radius: 8px;
6346
6820
  justify-content: space-between;
6347
6821
  align-items: center;
6348
6822
  gap: 16px;
6349
- margin-top: 16px;
6823
+ padding: 11px 12px;
6350
6824
  display: flex;
6351
6825
  }
6352
6826
 
6353
6827
  .auto-sync-copy strong {
6354
- font-size: 13px;
6828
+ font-size: var(--workbase-type-body);
6355
6829
  font-weight: 400;
6356
6830
  }
6357
6831
 
6832
+ .auto-sync-switch .switch-control {
6833
+ align-items: center;
6834
+ gap: 8px;
6835
+ display: inline-flex;
6836
+ }
6837
+
6838
+ .auto-sync-state {
6839
+ white-space: nowrap;
6840
+ color: var(--color-muted);
6841
+ font-size: var(--workbase-type-meta);
6842
+ }
6843
+
6844
+ .auto-sync-state[data-enabled="true"] {
6845
+ color: var(--color-success);
6846
+ }
6847
+
6358
6848
  .maintenance-content {
6359
6849
  display: block;
6360
6850
  }
@@ -6365,8 +6855,8 @@
6365
6855
 
6366
6856
  .last-operation {
6367
6857
  color: var(--color-muted);
6858
+ font-size: var(--workbase-type-meta);
6368
6859
  margin: 12px 0 0;
6369
- font-size: 12px;
6370
6860
  }
6371
6861
 
6372
6862
  .result-dialog-shell {
@@ -6380,8 +6870,8 @@
6380
6870
  }
6381
6871
 
6382
6872
  .result-dialog-header p {
6873
+ font-size: var(--workbase-type-body);
6383
6874
  margin: 10px 0 0;
6384
- font-size: 14px;
6385
6875
  }
6386
6876
 
6387
6877
  .result-dialog-body {
@@ -6394,15 +6884,15 @@
6394
6884
  .result-messages {
6395
6885
  color: var(--color-warning);
6396
6886
  background: var(--color-brand-weak);
6887
+ font-size: var(--workbase-type-body);
6397
6888
  border-radius: 6px;
6398
6889
  margin: 0;
6399
6890
  padding: 10px 12px 10px 28px;
6400
- font-size: 13px;
6401
6891
  }
6402
6892
 
6403
6893
  .result-diagnostics {
6894
+ font-size: var(--workbase-type-body);
6404
6895
  gap: 12px;
6405
- font-size: 13px;
6406
6896
  display: grid;
6407
6897
  }
6408
6898
 
@@ -6430,7 +6920,7 @@
6430
6920
 
6431
6921
  .result-features summary {
6432
6922
  cursor: pointer;
6433
- font-size: 13px;
6923
+ font-size: var(--workbase-type-body);
6434
6924
  }
6435
6925
 
6436
6926
  .result-features summary strong {
@@ -6454,13 +6944,13 @@
6454
6944
 
6455
6945
  .result-features code {
6456
6946
  overflow-wrap: anywhere;
6457
- font-size: 12px;
6947
+ font-size: var(--workbase-type-meta);
6458
6948
  }
6459
6949
 
6460
6950
  .result-empty, .result-features p {
6461
6951
  color: var(--color-muted);
6952
+ font-size: var(--workbase-type-body);
6462
6953
  margin: 12px 0 0;
6463
- font-size: 13px;
6464
6954
  }
6465
6955
 
6466
6956
  .result-dialog-footer {
@@ -6477,4 +6967,44 @@
6477
6967
  grid-template-columns: 1fr;
6478
6968
  gap: 16px;
6479
6969
  }
6970
+
6971
+ .maintenance {
6972
+ padding-inline: 14px;
6973
+ }
6974
+
6975
+ .sync-configuration-footer {
6976
+ margin-inline: -14px;
6977
+ padding: 12px 14px;
6978
+ }
6979
+
6980
+ .sync-configuration-footer .button-row {
6981
+ flex-basis: 100%;
6982
+ justify-content: flex-end;
6983
+ }
6984
+ }
6985
+
6986
+ @media (width <= 455px) {
6987
+ .rules-shell > .plugin-toolbar {
6988
+ grid-template-columns: max-content max-content minmax(30px, 1fr);
6989
+ gap: 8px;
6990
+ }
6991
+
6992
+ .rules-refresh.mantine-Button-root {
6993
+ grid-column: 3;
6994
+ justify-self: end;
6995
+ width: 30px;
6996
+ padding: 0;
6997
+ }
6998
+
6999
+ .rules-refresh .mantine-Button-section {
7000
+ margin-inline: 0;
7001
+ }
7002
+
7003
+ .rules-refresh .mantine-Button-label {
7004
+ display: none;
7005
+ }
7006
+
7007
+ .rules-shell .configuration-page-tabs button {
7008
+ padding-inline: 8px;
7009
+ }
6480
7010
  }