@kjun-ui/react 0.17.0 → 0.18.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 (106) hide show
  1. package/dist/index.cjs +3279 -1407
  2. package/dist/index.js +3226 -1353
  3. package/dist/styles.css +993 -191
  4. package/dist/types/packages/react/src/actions.d.cts +12 -3
  5. package/dist/types/packages/react/src/actions.d.ts +12 -3
  6. package/dist/types/packages/react/src/app-navigation.d.cts +22 -3
  7. package/dist/types/packages/react/src/app-navigation.d.ts +22 -3
  8. package/dist/types/packages/react/src/calendar.d.cts +30 -0
  9. package/dist/types/packages/react/src/calendar.d.ts +30 -0
  10. package/dist/types/packages/react/src/carousel.d.cts +39 -0
  11. package/dist/types/packages/react/src/carousel.d.ts +39 -0
  12. package/dist/types/packages/react/src/controls.d.cts +16 -11
  13. package/dist/types/packages/react/src/controls.d.ts +16 -11
  14. package/dist/types/packages/react/src/date-picker.d.cts +34 -6
  15. package/dist/types/packages/react/src/date-picker.d.ts +34 -6
  16. package/dist/types/packages/react/src/display.d.cts +7 -1
  17. package/dist/types/packages/react/src/display.d.ts +7 -1
  18. package/dist/types/packages/react/src/dropdown.d.cts +35 -3
  19. package/dist/types/packages/react/src/dropdown.d.ts +35 -3
  20. package/dist/types/packages/react/src/financial-display.d.cts +10 -1
  21. package/dist/types/packages/react/src/financial-display.d.ts +10 -1
  22. package/dist/types/packages/react/src/financial.d.cts +2 -2
  23. package/dist/types/packages/react/src/financial.d.ts +2 -2
  24. package/dist/types/packages/react/src/index.d.cts +8 -6
  25. package/dist/types/packages/react/src/index.d.ts +8 -6
  26. package/dist/types/packages/react/src/layers.d.cts +1 -1
  27. package/dist/types/packages/react/src/layers.d.ts +1 -1
  28. package/dist/types/packages/react/src/list.d.cts +27 -4
  29. package/dist/types/packages/react/src/list.d.ts +27 -4
  30. package/dist/types/packages/react/src/market-model.d.cts +8 -1
  31. package/dist/types/packages/react/src/market-model.d.ts +8 -1
  32. package/dist/types/packages/react/src/navigation.d.cts +24 -42
  33. package/dist/types/packages/react/src/navigation.d.ts +24 -42
  34. package/dist/types/packages/react/src/number-display.d.cts +12 -12
  35. package/dist/types/packages/react/src/number-display.d.ts +12 -12
  36. package/dist/types/packages/react/src/popover.d.cts +9 -4
  37. package/dist/types/packages/react/src/popover.d.ts +9 -4
  38. package/dist/types/packages/react/src/select-control.d.cts +3 -1
  39. package/dist/types/packages/react/src/select-control.d.ts +3 -1
  40. package/dist/types/packages/react/src/select.d.cts +2 -2
  41. package/dist/types/packages/react/src/select.d.ts +2 -2
  42. package/dist/types/packages/react/src/table-cards.d.cts +1 -1
  43. package/dist/types/packages/react/src/table-cards.d.ts +1 -1
  44. package/dist/types/packages/react/src/table-grid.d.cts +1 -1
  45. package/dist/types/packages/react/src/table-grid.d.ts +1 -1
  46. package/dist/types/packages/react/src/table-list.d.cts +14 -0
  47. package/dist/types/packages/react/src/table-list.d.ts +14 -0
  48. package/dist/types/packages/react/src/table-model.d.cts +1 -0
  49. package/dist/types/packages/react/src/table-model.d.ts +1 -0
  50. package/dist/types/packages/react/src/table-toolbar.d.cts +1 -1
  51. package/dist/types/packages/react/src/table-toolbar.d.ts +1 -1
  52. package/dist/types/packages/react/src/tabs.d.cts +38 -0
  53. package/dist/types/packages/react/src/tabs.d.ts +38 -0
  54. package/dist/types/packages/react/src/textarea.d.cts +29 -0
  55. package/dist/types/packages/react/src/textarea.d.ts +29 -0
  56. package/dist/types/packages/react/src/time-picker.d.cts +10 -1
  57. package/dist/types/packages/react/src/time-picker.d.ts +10 -1
  58. package/dist/types/shared/package-runtime/accordion-state.d.cts +11 -0
  59. package/dist/types/shared/package-runtime/accordion-state.d.ts +11 -0
  60. package/dist/types/shared/package-runtime/action-size.d.cts +1 -1
  61. package/dist/types/shared/package-runtime/action-size.d.ts +1 -1
  62. package/dist/types/shared/package-runtime/alert-action-size.d.cts +2 -0
  63. package/dist/types/shared/package-runtime/alert-action-size.d.ts +2 -0
  64. package/dist/types/shared/package-runtime/badge-tone.d.cts +59 -0
  65. package/dist/types/shared/package-runtime/badge-tone.d.ts +59 -0
  66. package/dist/types/shared/package-runtime/breadcrumb.d.cts +20 -0
  67. package/dist/types/shared/package-runtime/breadcrumb.d.ts +20 -0
  68. package/dist/types/shared/package-runtime/calendar.d.cts +106 -0
  69. package/dist/types/shared/package-runtime/calendar.d.ts +106 -0
  70. package/dist/types/shared/package-runtime/carousel-scroll.d.cts +22 -0
  71. package/dist/types/shared/package-runtime/carousel-scroll.d.ts +22 -0
  72. package/dist/types/shared/package-runtime/carousel.d.cts +47 -0
  73. package/dist/types/shared/package-runtime/carousel.d.ts +47 -0
  74. package/dist/types/shared/package-runtime/center-option.d.cts +1 -0
  75. package/dist/types/shared/package-runtime/center-option.d.ts +1 -0
  76. package/dist/types/shared/package-runtime/list-row.d.cts +14 -0
  77. package/dist/types/shared/package-runtime/list-row.d.ts +14 -0
  78. package/dist/types/shared/package-runtime/messages/ko.d.cts +38 -5
  79. package/dist/types/shared/package-runtime/messages/ko.d.ts +38 -5
  80. package/dist/types/shared/package-runtime/messages-context.d.cts +38 -5
  81. package/dist/types/shared/package-runtime/messages-context.d.ts +38 -5
  82. package/dist/types/shared/package-runtime/navigation-badge.d.cts +12 -0
  83. package/dist/types/shared/package-runtime/navigation-badge.d.ts +12 -0
  84. package/dist/types/shared/package-runtime/navigation.d.cts +1 -1
  85. package/dist/types/shared/package-runtime/navigation.d.ts +1 -1
  86. package/dist/types/shared/package-runtime/scroll-fade.d.cts +25 -0
  87. package/dist/types/shared/package-runtime/scroll-fade.d.ts +25 -0
  88. package/dist/types/shared/package-runtime/sparkline.d.cts +58 -0
  89. package/dist/types/shared/package-runtime/sparkline.d.ts +58 -0
  90. package/dist/types/shared/package-runtime/table-groups.d.cts +11 -0
  91. package/dist/types/shared/package-runtime/table-groups.d.ts +11 -0
  92. package/dist/types/shared/package-runtime/table-model.d.cts +25 -2
  93. package/dist/types/shared/package-runtime/table-model.d.ts +25 -2
  94. package/dist/types/shared/package-runtime/table-presentation.d.cts +30 -4
  95. package/dist/types/shared/package-runtime/table-presentation.d.ts +30 -4
  96. package/dist/types/shared/package-runtime/table.d.cts +18 -2
  97. package/dist/types/shared/package-runtime/table.d.ts +18 -2
  98. package/dist/types/shared/package-runtime/textarea-grow.d.cts +1 -0
  99. package/dist/types/shared/package-runtime/textarea-grow.d.ts +1 -0
  100. package/dist/types/shared/package-runtime/textarea.d.cts +53 -0
  101. package/dist/types/shared/package-runtime/textarea.d.ts +53 -0
  102. package/dist/types/shared/package-runtime/time-segments.d.cts +25 -0
  103. package/dist/types/shared/package-runtime/time-segments.d.ts +25 -0
  104. package/package.json +3 -3
  105. package/dist/types/shared/package-runtime/relative-time.d.cts +0 -1
  106. package/dist/types/shared/package-runtime/relative-time.d.ts +0 -1
package/dist/styles.css CHANGED
@@ -53,7 +53,7 @@
53
53
  --_kjun-color-card-border: var(--kjun-card-border, var(--kjun-border));
54
54
  --_kjun-color-card-bg-hover: var(--kjun-card-bg-hover, var(--kjun-hover));
55
55
  --_kjun-color-input-border: var(--kjun-input-border, var(--kjun-border));
56
- --_kjun-color-table-header-bg: var(--kjun-table-header-bg, var(--kjun-secondary));
56
+ --_kjun-color-table-header-bg: var(--kjun-table-header-bg, var(--kjun-surface));
57
57
  --_kjun-color-table-row-hover: var(--kjun-table-row-hover, var(--kjun-hover));
58
58
  --_kjun-color-table-border: var(--kjun-table-border, var(--kjun-border));
59
59
  --_kjun-color-skeleton: var(--kjun-skeleton, var(--kjun-active));
@@ -79,6 +79,8 @@
79
79
  --_kjun-color-selected-bg: var(--kjun-selected-bg, var(--kjun-active));
80
80
  --_kjun-color-on-brand: var(--kjun-on-brand, var(--kjun-inverse));
81
81
  --_kjun-color-switch-thumb-on: var(--kjun-switch-thumb-on, var(--kjun-on-brand, var(--kjun-inverse)));
82
+ --_kjun-color-switch-thumb: var(--kjun-switch-thumb, var(--kjun-switch-thumb-on, var(--kjun-on-brand, var(--kjun-inverse))));
83
+ --_kjun-color-switch-track: var(--kjun-switch-track, var(--kjun-border));
82
84
  --_kjun-color-filter-selected-bg: var(--kjun-filter-selected-bg, var(--kjun-text));
83
85
  --_kjun-color-filter-selected-text: var(--kjun-filter-selected-text, var(--kjun-inverse));
84
86
  --_kjun-color-on-danger: var(--kjun-on-danger, var(--kjun-inverse));
@@ -184,6 +186,8 @@
184
186
  --_kjun-selected-bg: var(--_kjun-color-selected-bg);
185
187
  --_kjun-on-brand: var(--_kjun-color-on-brand);
186
188
  --_kjun-switch-thumb-on: var(--_kjun-color-switch-thumb-on);
189
+ --_kjun-switch-thumb: var(--_kjun-color-switch-thumb);
190
+ --_kjun-switch-track: var(--_kjun-color-switch-track);
187
191
  --_kjun-filter-selected-bg: var(--_kjun-color-filter-selected-bg);
188
192
  --_kjun-filter-selected-text: var(--_kjun-color-filter-selected-text);
189
193
  --_kjun-on-danger: var(--_kjun-color-on-danger);
@@ -235,9 +239,10 @@
235
239
  --_kjun-card-elevation-raised: 0px 1px 2px 0px var(--_kjun-color-shadow-subtle);
236
240
  --_kjun-modal-elevation: 0px 2px 8px 0px var(--_kjun-color-shadow-subtle);
237
241
  --_kjun-popover-elevation: 0px 2px 8px 0px var(--_kjun-color-shadow-subtle);
238
- --_kjun-menu-elevation: 0px 2px 8px 0px var(--_kjun-color-shadow-subtle);
242
+ --_kjun-menu-elevation: 0px 8px 24px 0px var(--_kjun-color-shadow), 0px 2px 4px 0px var(--_kjun-color-shadow-subtle);
239
243
  --_kjun-drawer-elevation: 0px 2px 8px 0px var(--_kjun-color-shadow-subtle);
240
244
  --_kjun-toast-elevation: none;
245
+ --_kjun-switch-elevation: 0px 1px 3px 0px var(--_kjun-color-shadow);
241
246
  --_kjun-tooltip-elevation: none;
242
247
  --_kjun-drawer-elevation-left: 2px 0px 8px 0px var(--_kjun-color-shadow-subtle);
243
248
  --_kjun-drawer-elevation-right: -2px 0px 8px 0px var(--_kjun-color-shadow-subtle);
@@ -249,14 +254,17 @@
249
254
  --_kjun-extension-compound-radius: 12px;
250
255
  --_kjun-extension-compound-value-width: 80px;
251
256
  --_kjun-extension-time-picker-segment-minimum-width: 44px;
252
- --_kjun-extension-time-picker-separator-width: 12px;
257
+ --_kjun-extension-time-picker-separator-width: 6px;
253
258
  --_kjun-extension-time-picker-segment-padding: 4px;
254
- --_kjun-extension-time-picker-icon-size: 12px;
259
+ --_kjun-extension-time-picker-options-width: 64px;
255
260
  --_kjun-extension-popover-width: 240px;
261
+ --_kjun-extension-popover-widths-sm: 192px;
262
+ --_kjun-extension-popover-widths-md: 240px;
263
+ --_kjun-extension-popover-widths-lg: 320px;
256
264
  --_kjun-extension-popover-radius: 12px;
257
265
  --_kjun-extension-popover-padding: 16px;
258
266
  --_kjun-extension-popover-gap: 12px;
259
- --_kjun-extension-popover-header-padding-bottom: 12px;
267
+ --_kjun-extension-popover-header-padding-bottom: 4px;
260
268
  --_kjun-extension-state-title-size: 1.25rem;
261
269
  --_kjun-extension-state-description-size: 0.75rem;
262
270
  --_kjun-extension-state-padding-sm: 24px;
@@ -275,6 +283,10 @@
275
283
  --_kjun-extension-list-actions-padding: 16px;
276
284
  --_kjun-extension-list-leading-width: 40px;
277
285
  --_kjun-extension-list-bare-heading-padding-bottom: 4px;
286
+ --_kjun-extension-list-outside-label-gap: 8px;
287
+ --_kjun-extension-list-footer-gap: 8px;
288
+ --_kjun-extension-list-group-gap: 24px;
289
+ --_kjun-extension-list-flush-group-gap: 8px;
278
290
  --_kjun-extension-list-icon-size: 20px;
279
291
  --_kjun-extension-navigation-minimum-height: 56px;
280
292
  --_kjun-extension-navigation-padding: 16px;
@@ -288,20 +300,28 @@
288
300
  --_kjun-extension-navigation-badge-padding-x: 4px;
289
301
  --_kjun-extension-navigation-badge-radius: 9999px;
290
302
  --_kjun-extension-navigation-action-gap: 12px;
291
- --_kjun-extension-accordion-minimum-height: 48px;
303
+ --_kjun-extension-accordion-minimum-height: 56px;
292
304
  --_kjun-extension-accordion-padding-x: 16px;
293
- --_kjun-extension-accordion-header-padding-y: 14px;
305
+ --_kjun-extension-accordion-header-padding-y: 16px;
294
306
  --_kjun-extension-accordion-header-gap: 12px;
295
307
  --_kjun-extension-accordion-content-padding-bottom: 20px;
296
308
  --_kjun-extension-accordion-radius: 12px;
297
309
  --_kjun-extension-accordion-icon-size: 16px;
310
+ --_kjun-extension-accordion-leading-width: 40px;
311
+ --_kjun-extension-accordion-leading-icon-size: 20px;
312
+ --_kjun-extension-accordion-description-gap: 4px;
313
+ --_kjun-extension-accordion-item-gap: 8px;
298
314
  --_kjun-extension-tabs-height: 44px;
299
315
  --_kjun-extension-tabs-compact-height: 32px;
300
- --_kjun-extension-tabs-padding-x: 16px;
301
- --_kjun-extension-tabs-compact-padding-x: 14px;
302
- --_kjun-extension-tabs-pills-padding-x: 12px;
316
+ --_kjun-extension-tabs-padding-x: 10px;
317
+ --_kjun-extension-tabs-compact-padding-x: 8px;
318
+ --_kjun-extension-tabs-pills-height: 36px;
319
+ --_kjun-extension-tabs-pills-compact-height: 28px;
320
+ --_kjun-extension-tabs-pills-padding-x: 14px;
321
+ --_kjun-extension-tabs-pills-compact-padding-x: 12px;
322
+ --_kjun-extension-tabs-pills-radius: 9999px;
303
323
  --_kjun-extension-tabs-gap: 4px;
304
- --_kjun-extension-tabs-pills-gap: 6px;
324
+ --_kjun-extension-tabs-pills-gap: 8px;
305
325
  --_kjun-extension-tabs-pills-padding-y: 2px;
306
326
  --_kjun-extension-tabs-item-gap: 8px;
307
327
  --_kjun-extension-tabs-content-gap: 16px;
@@ -317,19 +337,26 @@
317
337
  --_kjun-extension-top-navigation-icon-size: 24px;
318
338
  --_kjun-extension-top-navigation-description-gap: 4px;
319
339
  --_kjun-extension-top-navigation-actions-gap: 8px;
320
- --_kjun-extension-bottom-navigation-indicator-width: 20px;
321
- --_kjun-extension-bottom-navigation-indicator-height: 3px;
322
- --_kjun-extension-bottom-navigation-indicator-offset: 4px;
323
340
  --_kjun-extension-bottom-navigation-minimum-height: 64px;
324
341
  --_kjun-extension-bottom-navigation-icon-size: 24px;
325
342
  --_kjun-extension-bottom-navigation-item-gap: 4px;
326
343
  --_kjun-extension-bottom-navigation-item-padding-x: 4px;
327
344
  --_kjun-extension-bottom-navigation-item-padding-y: 10px;
328
- --_kjun-extension-bottom-navigation-badge-minimum-size: 16px;
345
+ --_kjun-extension-bottom-navigation-badge-minimum-size: 18px;
329
346
  --_kjun-extension-bottom-navigation-badge-padding-x: 4px;
330
347
  --_kjun-extension-bottom-navigation-badge-offset: 4px;
331
- --_kjun-extension-bottom-navigation-badge-overlap: 8px;
348
+ --_kjun-extension-bottom-navigation-badge-overlap: 10px;
332
349
  --_kjun-extension-bottom-navigation-badge-radius: 9999px;
350
+ --_kjun-extension-bottom-navigation-dot-size: 8px;
351
+ --_kjun-extension-bottom-navigation-press-size: 40px;
352
+ --_kjun-extension-bottom-navigation-press-padding-x: 12px;
353
+ --_kjun-extension-floating-navigation-item-size: 52px;
354
+ --_kjun-extension-floating-navigation-icon-size: 24px;
355
+ --_kjun-extension-floating-navigation-padding: 6px;
356
+ --_kjun-extension-floating-navigation-gap: 4px;
357
+ --_kjun-extension-floating-navigation-offset: 16px;
358
+ --_kjun-extension-floating-navigation-radius: 9999px;
359
+ --_kjun-extension-floating-navigation-text-padding-x: 16px;
333
360
  --_kjun-extension-avatar-xs: 24px;
334
361
  --_kjun-extension-avatar-sm: 32px;
335
362
  --_kjun-extension-avatar-md: 40px;
@@ -391,10 +418,17 @@
391
418
  --_kjun-extension-menu-option-radius: 8px;
392
419
  --_kjun-extension-menu-padding: 4px;
393
420
  --_kjun-extension-menu-option-height: 44px;
421
+ --_kjun-extension-menu-item-height: 40px;
394
422
  --_kjun-extension-menu-option-font-size: 0.875rem;
395
423
  --_kjun-extension-menu-option-line-height: 1.25rem;
396
424
  --_kjun-extension-menu-option-padding-y: 8px;
397
425
  --_kjun-extension-menu-option-padding-x: 12px;
426
+ --_kjun-extension-menu-compact-option-height: 32px;
427
+ --_kjun-extension-menu-compact-option-padding-y: 6px;
428
+ --_kjun-extension-menu-compact-option-padding-x: 10px;
429
+ --_kjun-extension-menu-section-padding-top: 8px;
430
+ --_kjun-extension-menu-section-padding-bottom: 4px;
431
+ --_kjun-extension-menu-description-gap: 2px;
398
432
  --_kjun-extension-menu-minimum-width: 160px;
399
433
  --_kjun-extension-menu-list-max-height: 240px;
400
434
  --_kjun-extension-menu-icon-size: 16px;
@@ -419,16 +453,52 @@
419
453
  --_kjun-extension-badge-radius: 6px;
420
454
  --_kjun-extension-badge-gap: 4px;
421
455
  --_kjun-extension-badge-dot-size: 6px;
422
- --_kjun-extension-badge-padding-xs-x: 4px;
456
+ --_kjun-extension-badge-radii-xs: 4px;
457
+ --_kjun-extension-badge-radii-sm: 6px;
458
+ --_kjun-extension-badge-radii-md: 6px;
459
+ --_kjun-extension-badge-radii-lg: 8px;
460
+ --_kjun-extension-badge-radii-xl: 10px;
461
+ --_kjun-extension-badge-gaps-xs: 4px;
462
+ --_kjun-extension-badge-gaps-sm: 4px;
463
+ --_kjun-extension-badge-gaps-md: 4px;
464
+ --_kjun-extension-badge-gaps-lg: 6px;
465
+ --_kjun-extension-badge-gaps-xl: 6px;
466
+ --_kjun-extension-badge-dot-sizes-xs: 6px;
467
+ --_kjun-extension-badge-dot-sizes-sm: 6px;
468
+ --_kjun-extension-badge-dot-sizes-md: 6px;
469
+ --_kjun-extension-badge-dot-sizes-lg: 8px;
470
+ --_kjun-extension-badge-dot-sizes-xl: 8px;
471
+ --_kjun-extension-badge-typography-xs-font-size-px: 0.75rem;
472
+ --_kjun-extension-badge-typography-xs-line-height-px: 1rem;
473
+ --_kjun-extension-badge-typography-xs-font-weight: 500;
474
+ --_kjun-extension-badge-typography-xs-letter-spacing-em: 0em;
475
+ --_kjun-extension-badge-typography-sm-font-size-px: 0.75rem;
476
+ --_kjun-extension-badge-typography-sm-line-height-px: 1rem;
477
+ --_kjun-extension-badge-typography-sm-font-weight: 500;
478
+ --_kjun-extension-badge-typography-sm-letter-spacing-em: 0em;
479
+ --_kjun-extension-badge-typography-md-font-size-px: 0.875rem;
480
+ --_kjun-extension-badge-typography-md-line-height-px: 1.25rem;
481
+ --_kjun-extension-badge-typography-md-font-weight: 500;
482
+ --_kjun-extension-badge-typography-md-letter-spacing-em: 0em;
483
+ --_kjun-extension-badge-typography-lg-font-size-px: 0.875rem;
484
+ --_kjun-extension-badge-typography-lg-line-height-px: 1.25rem;
485
+ --_kjun-extension-badge-typography-lg-font-weight: 500;
486
+ --_kjun-extension-badge-typography-lg-letter-spacing-em: 0em;
487
+ --_kjun-extension-badge-typography-xl-font-size-px: 1rem;
488
+ --_kjun-extension-badge-typography-xl-line-height-px: 1.5rem;
489
+ --_kjun-extension-badge-typography-xl-font-weight: 400;
490
+ --_kjun-extension-badge-typography-xl-letter-spacing-em: 0em;
491
+ --_kjun-extension-badge-font-weight: 500;
492
+ --_kjun-extension-badge-padding-xs-x: 6px;
423
493
  --_kjun-extension-badge-padding-xs-y: 0px;
424
- --_kjun-extension-badge-padding-sm-x: 6px;
494
+ --_kjun-extension-badge-padding-sm-x: 8px;
425
495
  --_kjun-extension-badge-padding-sm-y: 2px;
426
496
  --_kjun-extension-badge-padding-md-x: 8px;
427
- --_kjun-extension-badge-padding-md-y: 4px;
497
+ --_kjun-extension-badge-padding-md-y: 2px;
428
498
  --_kjun-extension-badge-padding-lg-x: 10px;
429
499
  --_kjun-extension-badge-padding-lg-y: 4px;
430
500
  --_kjun-extension-badge-padding-xl-x: 12px;
431
- --_kjun-extension-badge-padding-xl-y: 6px;
501
+ --_kjun-extension-badge-padding-xl-y: 4px;
432
502
  --_kjun-extension-drawer-padding-x: 20px;
433
503
  --_kjun-extension-drawer-padding-y: 16px;
434
504
  --_kjun-extension-drawer-body-padding: 20px;
@@ -524,6 +594,11 @@
524
594
  --_kjun-extension-form-message-gap: 6px;
525
595
  --_kjun-extension-form-affix-item-gap: 4px;
526
596
  --_kjun-extension-form-message-icon-size: 16px;
597
+ --_kjun-extension-textarea-footer-text-gap: 4px;
598
+ --_kjun-extension-textarea-footer-gap: 8px;
599
+ --_kjun-extension-textarea-footer-padding: 8px;
600
+ --_kjun-extension-textarea-count-padding-x: 6px;
601
+ --_kjun-extension-textarea-submit-radius: 9999px;
527
602
  --_kjun-extension-checkbox-sizes-sm: 20px;
528
603
  --_kjun-extension-checkbox-sizes-md: 24px;
529
604
  --_kjun-extension-checkbox-sizes-lg: 28px;
@@ -540,9 +615,10 @@
540
615
  --_kjun-extension-switch-heights-sm: 24px;
541
616
  --_kjun-extension-switch-heights-md: 28px;
542
617
  --_kjun-extension-switch-heights-lg: 32px;
543
- --_kjun-extension-switch-padding: 3px;
618
+ --_kjun-extension-switch-padding: 2px;
544
619
  --_kjun-extension-switch-radius: 9999px;
545
- --_kjun-extension-switch-label-gap: 8px;
620
+ --_kjun-extension-switch-label-gap: 12px;
621
+ --_kjun-extension-switch-spinner-size: 12px;
546
622
  --_kjun-extension-tooltip-padding-x: 8px;
547
623
  --_kjun-extension-tooltip-padding-y: 4px;
548
624
  --_kjun-extension-tooltip-max-widths-sm: 192px;
@@ -552,6 +628,7 @@
552
628
  --_kjun-extension-tooltip-arrow-size: 8px;
553
629
  --_kjun-extension-financial-affix-gap: 4px;
554
630
  --_kjun-extension-financial-badge-gap: 6px;
631
+ --_kjun-extension-financial-status-gap: 6px;
555
632
  --_kjun-extension-financial-pill-padding-x: 8px;
556
633
  --_kjun-extension-financial-pill-padding-y: 2px;
557
634
  --_kjun-extension-financial-pill-radius: 6px;
@@ -571,6 +648,14 @@
571
648
  --_kjun-extension-financial-progress-label-width: 32px;
572
649
  --_kjun-extension-financial-sparkline-width: 80px;
573
650
  --_kjun-extension-financial-sparkline-height: 24px;
651
+ --_kjun-extension-financial-sparkline-stroke-width: 1.5px;
652
+ --_kjun-extension-financial-sparkline-dot-size: 5px;
653
+ --_kjun-extension-financial-sparkline-lone-dot-size: 4px;
654
+ --_kjun-extension-financial-sparkline-baseline-width: 1px;
655
+ --_kjun-extension-financial-sparkline-bar-min-height: 2px;
656
+ --_kjun-extension-financial-sparkline-bar-gap: 2px;
657
+ --_kjun-extension-financial-sparkline-dash: 2px;
658
+ --_kjun-extension-financial-sparkline-dash-gap: 3px;
574
659
  --_kjun-extension-financial-price-skeleton-width: 64px;
575
660
  --_kjun-extension-financial-price-skeleton-height: 16px;
576
661
  --_kjun-extension-financial-signed-skeleton-width: 48px;
@@ -621,7 +706,7 @@
621
706
  --_kjun-extension-kpi-row-separator-gap: 6px;
622
707
  --_kjun-extension-kpi-row-badge-radius: 6px;
623
708
  --_kjun-extension-kpi-row-badge-gap: 4px;
624
- --_kjun-extension-kpi-row-badge-padding-x: 4px;
709
+ --_kjun-extension-kpi-row-badge-padding-x: 6px;
625
710
  --_kjun-extension-kpi-row-badge-padding-y: 0px;
626
711
  --_kjun-extension-kpi-row-md-padding-x: 8px;
627
712
  --_kjun-extension-kpi-row-md-padding-y: 20px;
@@ -693,13 +778,43 @@
693
778
  --_kjun-extension-image-fallback-icon-size: 24px;
694
779
  --_kjun-extension-breadcrumb-icon-size: 14px;
695
780
  --_kjun-extension-breadcrumb-separator-size: 12px;
781
+ --_kjun-extension-breadcrumb-gap: 8px;
782
+ --_kjun-extension-breadcrumb-icon-gap: 4px;
783
+ --_kjun-extension-breadcrumb-label-max-width: 200px;
696
784
  --_kjun-extension-floating-max-height: 480px;
697
785
  --_kjun-extension-floating-viewport-inset: 8px;
698
786
  --_kjun-extension-floating-anchor-gap: 8px;
699
787
  --_kjun-extension-floating-field-gap: 4px;
700
788
  --_kjun-extension-scrollbar-width: 6px;
701
789
  --_kjun-extension-scroll-fade-width: 24px;
702
- --_kjun-extension-calendar-minimum-width: 326px;
790
+ --_kjun-extension-carousel-peek: 24px;
791
+ --_kjun-extension-carousel-indicator-size: 6px;
792
+ --_kjun-extension-carousel-indicator-active-width: 16px;
793
+ --_kjun-extension-carousel-indicator-press: 24px;
794
+ --_kjun-extension-carousel-indicator-press-width: 20px;
795
+ --_kjun-extension-carousel-indicator-offset: 12px;
796
+ --_kjun-extension-carousel-control-inset: 8px;
797
+ --_kjun-extension-carousel-focus-radius: 12px;
798
+ --_kjun-extension-carousel-header-gap: 12px;
799
+ --_kjun-extension-carousel-header-controls-gap: 8px;
800
+ --_kjun-extension-carousel-overlay-padding-x: 8px;
801
+ --_kjun-extension-calendar-width: 312px;
802
+ --_kjun-extension-calendar-padding: 12px;
803
+ --_kjun-extension-calendar-header-height: 36px;
804
+ --_kjun-extension-calendar-nav-size: 36px;
805
+ --_kjun-extension-calendar-title-gap: 4px;
806
+ --_kjun-extension-calendar-day-size: 40px;
807
+ --_kjun-extension-calendar-row-gap: 2px;
808
+ --_kjun-extension-calendar-weekday-height: 32px;
809
+ --_kjun-extension-calendar-month-height: 52px;
810
+ --_kjun-extension-calendar-month-gap: 8px;
811
+ --_kjun-extension-calendar-year-height: 32px;
812
+ --_kjun-extension-calendar-year-gap: 6px;
813
+ --_kjun-extension-calendar-footer-gap: 8px;
814
+ --_kjun-extension-calendar-radius: 16px;
815
+ --_kjun-extension-calendar-month-radius: 12px;
816
+ --_kjun-extension-calendar-today-ring: 1.5px;
817
+ --_kjun-extension-calendar-range-bleed: 3px;
703
818
  --_kjun-extension-market-list-minimum-height: 72px;
704
819
  --_kjun-extension-market-list-mobile-quote-minimum-width: 102px;
705
820
  --_kjun-extension-market-list-change-skeleton-width: 56px;
@@ -715,6 +830,9 @@
715
830
  --_kjun-state-opacity-deviation-low: 0.08;
716
831
  --_kjun-state-opacity-deviation-medium: 0.14;
717
832
  --_kjun-state-opacity-deviation-strong: 0.22;
833
+ --_kjun-state-opacity-stripe: 0.03;
834
+ --_kjun-state-opacity-sparkline-fill: 0.18;
835
+ --_kjun-state-opacity-group-fill: 0.04;
718
836
  --_kjun-state-opacity-tint-fill: 0.06;
719
837
  --_kjun-state-opacity-tint-control: 0.08;
720
838
  --_kjun-state-opacity-tint-hover: 0.12;
@@ -864,16 +982,26 @@
864
982
  --_kjun-geometry-table-cell-padding-regular-x: 16px;
865
983
  --_kjun-geometry-table-cell-padding-regular-y: 10px;
866
984
  --_kjun-geometry-table-cell-padding-compact-x: 16px;
867
- --_kjun-geometry-table-cell-padding-compact-y: 6px;
985
+ --_kjun-geometry-table-cell-padding-compact-y: 8px;
868
986
  --_kjun-geometry-table-empty-padding-x: 16px;
869
987
  --_kjun-geometry-table-empty-padding-y: 32px;
870
988
  --_kjun-geometry-table-expanded-padding-x: 16px;
871
989
  --_kjun-geometry-table-expanded-padding-y: 12px;
872
990
  --_kjun-geometry-table-action-column-width: 48px;
991
+ --_kjun-geometry-table-toolbar-minimum-height: 48px;
992
+ --_kjun-geometry-table-group-padding-x: 8px;
993
+ --_kjun-geometry-table-group-padding-y: 4px;
994
+ --_kjun-geometry-table-group-gap: 6px;
995
+ --_kjun-geometry-table-list-padding-x: 8px;
996
+ --_kjun-geometry-table-list-padding-y: 12px;
997
+ --_kjun-geometry-table-list-gap: 12px;
998
+ --_kjun-geometry-table-list-meta-gap: 2px;
999
+ --_kjun-geometry-table-list-radius: 12px;
873
1000
  --_kjun-geometry-table-column-width: 160px;
874
1001
  --_kjun-geometry-table-skeleton-height: 20px;
875
1002
  --_kjun-geometry-table-selection-size: 16px;
876
1003
  --_kjun-geometry-table-sort-icon-size: 12px;
1004
+ --_kjun-geometry-table-sorted-icon-size: 14px;
877
1005
  --_kjun-geometry-table-search-width: 200px;
878
1006
  --_kjun-geometry-dimension-value2: 2px;
879
1007
  --_kjun-geometry-dimension-value4: 4px;
@@ -1279,15 +1407,16 @@
1279
1407
  .kjun-scope .kjun-radio-dot { width: var(--_kjun-extension-radio-dot); height: var(--_kjun-extension-radio-dot); border-radius: 50%; background: var(--_kjun-brand); }
1280
1408
  .kjun-scope .kjun-radio + .kjun-choice-label { margin-left: var(--_kjun-extension-radio-label-gap); }
1281
1409
  .kjun-scope .kjun-choice--disabled :is(.kjun-radio:not(.kjun-radio--checked), .kjun-checkbox:not(.kjun-checkbox--checked)) { border-color: var(--_kjun-border-secondary); }
1282
- .kjun-scope .kjun-choice--disabled .kjun-switch:not(.kjun-switch--on) { box-shadow: inset 0 0 0 var(--_kjun-border-control-width) var(--_kjun-border-secondary); }
1283
- .kjun-scope .kjun-choice--disabled .kjun-switch:not(.kjun-switch--on) .kjun-switch-thumb { background: var(--_kjun-border-secondary); }
1410
+ /* A disabled switch fades as one piece to 40% (inside the row's own 50%), so on and off stay told apart. */
1411
+ .kjun-scope .kjun-choice--disabled .kjun-switch { opacity: calc(var(--_kjun-state-opacity-disabled-strong) / var(--_kjun-state-opacity-disabled)); }
1284
1412
  .kjun-scope .kjun-choice input:focus-visible + .kjun-choice-control, .kjun-scope .kjun-switch:focus-visible {
1285
1413
  outline: var(--_kjun-state-focus-width) solid var(--_kjun-focus-ring);
1286
1414
  outline-offset: var(--_kjun-state-focus-choice-offset);
1287
1415
  }
1288
1416
  .kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-choice-control { border-color: var(--_kjun-brand); }
1289
1417
  .kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-radio { border-color: var(--_kjun-brand-hover); }
1290
- .kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-switch:not(.kjun-switch--on) { box-shadow: inset 0 0 0 var(--_kjun-border-control-width) var(--_kjun-brand); }
1418
+ .kjun-scope .kjun-choice:not(.kjun-choice--disabled):not([data-loading]):hover .kjun-switch:not(.kjun-switch--on) { background: var(--_kjun-border-strong); }
1419
+ .kjun-scope .kjun-choice:not(.kjun-choice--disabled):not([data-loading]):hover .kjun-switch--on { background: var(--_kjun-color-brand-hover); }
1291
1420
  .kjun-scope .kjun-choice:not(.kjun-choice--disabled):active .kjun-radio,
1292
1421
  .kjun-scope .kjun-choice:not(.kjun-choice--disabled) input:active + .kjun-radio { border-color: var(--_kjun-brand-active); }
1293
1422
  .kjun-scope .kjun-switch + .kjun-choice-label { margin-left: var(--_kjun-extension-switch-label-gap); }
@@ -1305,41 +1434,50 @@
1305
1434
  height: var(--_kjun-switch-height);
1306
1435
  padding: var(--_kjun-extension-switch-padding);
1307
1436
  border-radius: var(--_kjun-extension-switch-radius);
1308
- background: var(--_kjun-bg-active);
1309
- /* Off state draws its boundary with the strong border role, like Checkbox and Radio; inset so geometry stays put. */
1310
- box-shadow: inset 0 0 0 var(--_kjun-border-control-width) var(--_kjun-border-strong);
1311
- transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out), box-shadow var(--_kjun-motion-control) var(--_kjun-ease-out);
1437
+ /* Off is a quiet track with no boundary; the white thumb carries the shape. The switch-track role (default border) lets a
1438
+ palette darken it to the 3:1 a control boundary needs without changing every border. */
1439
+ background: var(--_kjun-color-switch-track);
1440
+ transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
1312
1441
  }
1313
1442
  .kjun-scope .kjun-switch--sm { --_kjun-switch-width: var(--_kjun-extension-switch-widths-sm); --_kjun-switch-height: var(--_kjun-extension-switch-heights-sm); }
1314
1443
  .kjun-scope .kjun-switch--lg { --_kjun-switch-width: var(--_kjun-extension-switch-widths-lg); --_kjun-switch-height: var(--_kjun-extension-switch-heights-lg); }
1315
- .kjun-scope .kjun-switch--on { background: var(--_kjun-brand); box-shadow: none; }
1316
- /* The off boundary sits inside the padding, so the off thumb also clears the border width:
1317
- both states keep the same gap between thumb and edge, and the thumb grows as it turns on. */
1444
+ .kjun-scope .kjun-switch--on { background: var(--_kjun-brand); }
1445
+ /* One thumb in both states: the same size, lifted by a contact shadow, only its position changes. */
1318
1446
  .kjun-scope .kjun-switch-thumb {
1319
- --_kjun-switch-thumb-inset: calc(var(--_kjun-extension-switch-padding) + var(--_kjun-border-control-width));
1320
- display: block;
1321
- width: calc(var(--_kjun-switch-height) - 2 * var(--_kjun-switch-thumb-inset));
1322
- height: calc(var(--_kjun-switch-height) - 2 * var(--_kjun-switch-thumb-inset));
1323
- margin: var(--_kjun-border-control-width);
1447
+ display: flex;
1448
+ align-items: center;
1449
+ justify-content: center;
1450
+ width: calc(var(--_kjun-switch-height) - 2 * var(--_kjun-extension-switch-padding));
1451
+ height: calc(var(--_kjun-switch-height) - 2 * var(--_kjun-extension-switch-padding));
1324
1452
  border-radius: 50%;
1325
- background: var(--_kjun-border-strong);
1453
+ background: var(--_kjun-color-switch-thumb);
1454
+ /* A lift strong enough to part the white thumb from a pale off track. */
1455
+ box-shadow: var(--_kjun-switch-elevation);
1326
1456
  transform: translateX(0);
1327
- transition: transform var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out),
1328
- width var(--_kjun-motion-control) var(--_kjun-ease-out), height var(--_kjun-motion-control) var(--_kjun-ease-out), margin var(--_kjun-motion-control) var(--_kjun-ease-out);
1457
+ transition: transform var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
1329
1458
  }
1330
- .kjun-scope .kjun-switch--on .kjun-switch-thumb {
1331
- --_kjun-switch-thumb-inset: var(--_kjun-extension-switch-padding);
1332
- margin: 0;
1333
- background: var(--_kjun-switch-thumb-on);
1334
- transform: translateX(calc(var(--_kjun-switch-width) - var(--_kjun-switch-height)));
1459
+ /* switch-thumb falls back to switch-thumb-on, so the thumb keeps one colour unless a palette sets them apart. */
1460
+ .kjun-scope .kjun-switch--on .kjun-switch-thumb { background: var(--_kjun-switch-thumb-on); transform: translateX(calc(var(--_kjun-switch-width) - var(--_kjun-switch-height))); }
1461
+ /* Saving: a small ring turns inside the thumb while the switch ignores presses. */
1462
+ .kjun-scope .kjun-switch-spinner {
1463
+ box-sizing: border-box;
1464
+ width: var(--_kjun-extension-switch-spinner-size);
1465
+ height: var(--_kjun-extension-switch-spinner-size);
1466
+ border-radius: 50%;
1467
+ border: var(--_kjun-border-control-width) solid var(--_kjun-border);
1468
+ border-top-color: var(--_kjun-text-secondary);
1469
+ animation: kjun-spin var(--_kjun-motion-spin) linear infinite;
1335
1470
  }
1471
+ /* Without motion the ring holds still; the saving state is still announced. */
1472
+ @media (prefers-reduced-motion: reduce) { .kjun-scope .kjun-switch-spinner { animation: none; } }
1473
+ .kjun-scope .kjun-choice[data-loading] { cursor: progress; }
1336
1474
 
1337
1475
  @media (pointer: coarse) {
1338
1476
  .kjun-scope .kjun-choice { min-height: var(--_kjun-geometry-native-minimum-touch-target); }
1339
1477
  }
1340
1478
 
1341
1479
  @media (prefers-reduced-motion: reduce) {
1342
- .kjun-scope .kjun-field { transition: none; }
1480
+ .kjun-scope .kjun-field, .kjun-scope .kjun-switch, .kjun-scope .kjun-switch-thumb { transition: none; }
1343
1481
  }
1344
1482
 
1345
1483
  /* Generated from definitions/typography.json. */
@@ -2069,18 +2207,18 @@
2069
2207
  align-items: center;
2070
2208
  gap: var(--_kjun-extension-badge-gap);
2071
2209
  border-radius: var(--_kjun-extension-badge-radius);
2072
- font-weight: var(--_kjun-type-label-weight);
2073
- line-height: 1.5;
2210
+ font-weight: var(--_kjun-extension-badge-font-weight);
2074
2211
  white-space: normal;
2075
2212
  overflow-wrap: anywhere;
2076
2213
  }
2077
2214
  /* The dot centres on the first line, so a wrapped label still starts beside it. */
2215
+ /* Each size sets --_kjun-badge-dot (8px at lg and xl), so the dot and its centring use the same size. */
2078
2216
  .kjun-badge-dot {
2079
- width: var(--_kjun-extension-badge-dot-size);
2080
- height: var(--_kjun-extension-badge-dot-size);
2217
+ width: var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size));
2218
+ height: var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size));
2081
2219
  flex-shrink: 0;
2082
2220
  align-self: flex-start;
2083
- margin-top: calc((1lh - var(--_kjun-extension-badge-dot-size)) / 2);
2221
+ margin-top: calc((1lh - var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size))) / 2);
2084
2222
  border-radius: 50%;
2085
2223
  background: currentColor;
2086
2224
  }
@@ -2356,8 +2494,47 @@
2356
2494
  }
2357
2495
  .kjun-textarea {
2358
2496
  line-height: var(--_kjun-type-input-line);
2359
-
2360
2497
  }
2498
+ /* The height follows the text up to maxRows; only then does the field scroll. */
2499
+ .kjun-textarea[data-grow] { overflow-y: hidden; }
2500
+ .kjun-textarea[data-grow][data-overflow] { overflow-y: auto; }
2501
+ /* With a footer (count, actions, submit) the wrapper is the field surface and the textarea sits inside it. */
2502
+ .kjun-textarea-field {
2503
+ position: relative;
2504
+ display: flex;
2505
+ flex-direction: column;
2506
+ min-width: 0;
2507
+ border: var(--_kjun-border-control-width) solid transparent;
2508
+ background: var(--_kjun-color-input-bg);
2509
+ transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out), border-color var(--_kjun-motion-control) var(--_kjun-ease-out);
2510
+ }
2511
+ .kjun-textarea-field:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]):not(:focus-within) { background: var(--_kjun-color-hover); }
2512
+ .kjun-textarea-field:focus-within { border-color: var(--_kjun-color-input-border-focus); }
2513
+ .kjun-textarea-field[data-invalid] { border-color: var(--_kjun-color-danger); }
2514
+ .kjun-textarea-field:has(.kjun-textarea:focus-visible) { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-inset-offset); }
2515
+ .kjun-textarea-field[data-invalid]:has(.kjun-textarea:focus-visible) { outline-offset: var(--_kjun-state-focus-offset); }
2516
+ /* Outranks the shared .kjun-input hover, focus and invalid paint; the wrapper above carries them. */
2517
+ .kjun-textarea-field > .kjun-input.kjun-textarea,
2518
+ .kjun-textarea-field > .kjun-input.kjun-textarea:is(:hover, :focus, :focus-visible, [aria-invalid="true"], :disabled) {
2519
+ border: 0; border-radius: 0; background: transparent; outline: none;
2520
+ }
2521
+ .kjun-textarea-footer {
2522
+ display: flex;
2523
+ align-items: center;
2524
+ gap: var(--_kjun-extension-textarea-footer-gap);
2525
+ padding: 0 var(--_kjun-extension-textarea-footer-padding) var(--_kjun-extension-textarea-footer-padding);
2526
+ }
2527
+ .kjun-textarea-count {
2528
+ margin-left: auto;
2529
+ padding-inline: var(--_kjun-extension-textarea-count-padding-x);
2530
+ font-size: var(--_kjun-type-caption-size); line-height: var(--_kjun-type-caption-line);
2531
+ color: var(--_kjun-color-text-tertiary);
2532
+ font-variant-numeric: tabular-nums;
2533
+ }
2534
+ .kjun-textarea-count[data-over] { color: var(--_kjun-color-danger); font-weight: var(--_kjun-type-control-weight); }
2535
+ .kjun-textarea-field[data-disabled] .kjun-textarea-count { color: var(--_kjun-color-text-disabled); }
2536
+ .kjun-textarea-footer .kjun-textarea-submit { margin-left: auto; border-radius: var(--_kjun-extension-textarea-submit-radius); }
2537
+ .kjun-textarea-count + .kjun-textarea-submit { margin-left: 0; }
2361
2538
  .kjun-button-group {
2362
2539
  position: relative;
2363
2540
  isolation: isolate;
@@ -2542,16 +2719,21 @@
2542
2719
  outline: none;
2543
2720
  }
2544
2721
  .kjun-content-popover {
2545
- width:var(--_kjun-extension-popover-width); border:0; border-radius:var(--_kjun-extension-popover-radius);
2722
+ width:var(--_kjun-extension-popover-width); border:var(--_kjun-border-default-width) solid var(--_kjun-color-border); border-radius:var(--_kjun-extension-popover-radius);
2546
2723
  background:var(--_kjun-color-surface); color:var(--_kjun-color-text); box-shadow:var(--_kjun-popover-elevation);
2547
2724
  font-size:var(--_kjun-type-body-size); line-height:var(--_kjun-type-body-line);
2548
2725
  font-weight:var(--_kjun-type-body-weight); letter-spacing:var(--_kjun-type-body-tracking);
2549
2726
  }
2727
+ .kjun-content-popover.kjun-popover-width-sm { width:var(--_kjun-extension-popover-widths-sm); }
2728
+ .kjun-content-popover.kjun-popover-width-md { width:var(--_kjun-extension-popover-widths-md); }
2729
+ .kjun-content-popover.kjun-popover-width-lg { width:var(--_kjun-extension-popover-widths-lg); }
2550
2730
  .kjun-popover-dialog { outline:none; }
2551
2731
  /* With a header only the body scrolls: the panel and dialog become clipping flex columns. */
2552
2732
  .kjun-popover-has-header { display:flex; flex-direction:column; overflow:hidden; }
2553
2733
  .kjun-popover-has-header .kjun-popover-dialog { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
2554
- .kjun-popover-header { flex:none; padding:var(--_kjun-extension-popover-padding) var(--_kjun-extension-popover-padding) var(--_kjun-extension-popover-header-padding-bottom); border-bottom:var(--_kjun-border-default-width) solid var(--_kjun-color-divider); font-size:var(--_kjun-type-card-title-size); line-height:var(--_kjun-type-card-title-line); font-weight:var(--_kjun-type-card-title-weight); letter-spacing:var(--_kjun-type-card-title-tracking); word-break:keep-all; overflow-wrap:anywhere; }
2734
+ /* A light title on the panel itself: control type, no divider, the body follows after a short gap. */
2735
+ .kjun-popover-header { flex:none; padding:var(--_kjun-extension-popover-padding) var(--_kjun-extension-popover-padding) var(--_kjun-extension-popover-header-padding-bottom); font-size:var(--_kjun-type-control-size); line-height:var(--_kjun-type-control-line); font-weight:var(--_kjun-type-control-weight); letter-spacing:var(--_kjun-type-control-tracking); word-break:keep-all; overflow-wrap:anywhere; }
2736
+ .kjun-popover-has-header .kjun-popover-content:not([data-no-padding="true"]) { padding-top:0; }
2555
2737
  .kjun-popover-body { flex:1 1 auto; min-height:0; overflow-y:auto; }
2556
2738
  .kjun-popover-content { display:flex; flex-direction:column; gap:var(--_kjun-extension-popover-gap); padding:var(--_kjun-extension-popover-padding); min-width:0; word-break:keep-all; overflow-wrap:anywhere; }
2557
2739
  .kjun-popover-content[data-no-padding="true"] { padding:0; gap:0; }
@@ -2603,7 +2785,7 @@
2603
2785
  display: flex;
2604
2786
  align-items: center;
2605
2787
  gap: var(--_kjun-geometry-dimension-value8);
2606
- min-height: var(--_kjun-extension-menu-option-height);
2788
+ min-height: var(--_kjun-extension-menu-item-height);
2607
2789
  padding: var(--_kjun-extension-menu-option-padding-y) var(--_kjun-extension-menu-option-padding-x);
2608
2790
  border-radius: var(--_kjun-extension-menu-option-radius);
2609
2791
  font-size: var(--_kjun-extension-menu-option-font-size); font-weight: var(--_kjun-type-body-weight); letter-spacing: var(--_kjun-type-body-tracking);
@@ -2612,39 +2794,54 @@
2612
2794
  outline: none;
2613
2795
  color: var(--_kjun-color-text);
2614
2796
  }
2615
- .kjun-menu-item > span {
2797
+ .kjun-menu-item > .kjun-menu-label {
2798
+ display: flex;
2799
+ flex-direction: column;
2616
2800
  flex: 1;
2617
2801
  min-width: 0;
2618
2802
  overflow-wrap: anywhere;
2619
2803
  }
2620
- /* Only the focused item is current; pointer hover moves focus, so a stale hover never paints a second item. */
2804
+ /* A two-line item keeps its icon and check on the label's first line. */
2805
+ .kjun-menu-item:has(.kjun-menu-description) { align-items: flex-start; }
2806
+ .kjun-menu-item:has(.kjun-menu-description) > svg { margin-top: calc((var(--_kjun-extension-menu-option-line-height) - var(--_kjun-extension-menu-icon-size)) / 2); }
2807
+ .kjun-menu-description { margin-top: var(--_kjun-extension-menu-description-gap); font-size: var(--_kjun-type-caption-size); line-height: var(--_kjun-type-caption-line); color: var(--_kjun-color-text-secondary); }
2808
+ .kjun-menu-shortcut { flex: none; font-size: var(--_kjun-type-meta-size); line-height: var(--_kjun-type-meta-line); color: var(--_kjun-color-text-tertiary); font-variant-numeric: tabular-nums; }
2809
+ .kjun-menu-chevron { flex: none; color: var(--_kjun-color-text-tertiary); }
2810
+ /* One cue for the current item: the focused (or hovered) row's fill, by mouse and keyboard alike. */
2621
2811
  .kjun-menu-item[data-focused]:not([data-disabled]):not([data-kjun-selected]) {
2622
2812
  background: var(--_kjun-color-hover);
2623
2813
  }
2624
- .kjun-menu-item[data-variant="danger"][data-focused]:not([data-disabled]):not([data-kjun-selected]) {
2625
- background: var(--_kjun-color-danger-bg);
2626
- }
2627
- .kjun-menu-item[data-kjun-selected] {
2628
- background: var(--_kjun-color-selected-bg);
2629
- }
2630
- .kjun-menu-item[data-focus-visible]:not([data-disabled]) {
2631
- outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
2632
- outline-offset: var(--_kjun-state-focus-inset-offset);
2814
+ /* Danger keeps a light tint of its own colour in both themes instead of a heavy fill. */
2815
+ .kjun-menu-item[data-variant="danger"][data-focused]:not([data-disabled]) {
2816
+ background: color-mix(in srgb, var(--_kjun-color-danger) calc(var(--_kjun-state-opacity-tint-hover) * 100%), transparent);
2633
2817
  }
2818
+ .kjun-menu-item[data-kjun-selected] { background: var(--_kjun-color-selected-bg); }
2819
+ /* The selected row keeps its fill under the hover, so keyboard focus there shows as an inset ring, as on Native. */
2820
+ .kjun-menu-item[data-kjun-selected][data-focus-visible]:not([data-disabled]) { box-shadow: inset 0 0 0 var(--_kjun-state-focus-width) var(--_kjun-color-focus-ring); }
2634
2821
  .kjun-menu-check { color: var(--_kjun-color-brand); }
2635
2822
  /* Leading icons sit a step below the regular-weight label; danger items keep their role color. */
2636
2823
  .kjun-menu-item:not([data-variant="danger"]) .kjun-menu-icon { color: var(--_kjun-color-text-secondary); }
2637
- /* Once any item has a leading icon, icon-less labels start on the same line. */
2638
- .kjun-menu:has(.kjun-menu-icon) .kjun-menu-item:not(:has(.kjun-menu-icon)) {
2639
- padding-left: calc(var(--_kjun-extension-menu-option-padding-x) + var(--_kjun-extension-menu-icon-size) + var(--_kjun-geometry-dimension-value8));
2640
- }
2641
- .kjun-menu-item[data-disabled] {
2642
- opacity: var(--_kjun-state-opacity-disabled);
2643
- cursor: not-allowed;
2644
- }
2645
- .kjun-menu-item[data-variant="danger"] {
2646
- color: var(--_kjun-color-danger);
2647
- }
2824
+ /* The check and icon columns each appear once any item uses them, so every label starts on the same line. */
2825
+ .kjun-menu:has(.kjun-menu-check) .kjun-menu-item:not(:has(.kjun-menu-check)) { --_kjun-menu-check-slot: 1; }
2826
+ .kjun-menu:has(.kjun-menu-icon) .kjun-menu-item:not(:has(.kjun-menu-icon)) { --_kjun-menu-icon-slot: 1; }
2827
+ /* The check column is reserved before the row content and the icon column after the check, so both columns line up. */
2828
+ .kjun-menu .kjun-menu-item { padding-left: calc(var(--_kjun-extension-menu-option-padding-x) + var(--_kjun-menu-check-slot, 0) * (var(--_kjun-extension-menu-icon-size) + var(--_kjun-geometry-dimension-value8))); }
2829
+ .kjun-menu .kjun-menu-item > .kjun-menu-label { margin-left: calc(var(--_kjun-menu-icon-slot, 0) * (var(--_kjun-extension-menu-icon-size) + var(--_kjun-geometry-dimension-value8))); }
2830
+ .kjun-menu-item[data-disabled] { color: var(--_kjun-color-text-disabled); cursor: not-allowed; }
2831
+ .kjun-menu-item[data-disabled] :is(.kjun-menu-icon, .kjun-menu-description, .kjun-menu-shortcut, .kjun-menu-check) { color: var(--_kjun-color-text-disabled); }
2832
+ .kjun-menu-item[data-variant="danger"]:not([data-disabled]) { color: var(--_kjun-color-danger); }
2833
+ /* A submenu's first row leads back to the parent menu. */
2834
+ .kjun-menu-item.kjun-menu-back { font-weight: var(--_kjun-type-control-weight); }
2835
+ .kjun-menu-section-title {
2836
+ padding: var(--_kjun-extension-menu-section-padding-top) var(--_kjun-extension-menu-option-padding-x) var(--_kjun-extension-menu-section-padding-bottom);
2837
+ font-size: var(--_kjun-type-meta-size); line-height: var(--_kjun-type-meta-line); font-weight: var(--_kjun-type-meta-weight); color: var(--_kjun-color-text-tertiary);
2838
+ }
2839
+ /* Compact menus for desktop tables and toolbars; touch keeps the full target. */
2840
+ .kjun-menu[data-density="compact"] .kjun-menu-item { min-height: var(--_kjun-extension-menu-compact-option-height); padding: var(--_kjun-extension-menu-compact-option-padding-y) var(--_kjun-extension-menu-compact-option-padding-x); }
2841
+ .kjun-menu[data-density="compact"] .kjun-menu-section-title { padding-left: var(--_kjun-extension-menu-compact-option-padding-x); padding-right: var(--_kjun-extension-menu-compact-option-padding-x); }
2842
+ .kjun-menu[data-density="compact"] .kjun-menu-item { padding-left: calc(var(--_kjun-extension-menu-compact-option-padding-x) + var(--_kjun-menu-check-slot, 0) * (var(--_kjun-extension-menu-icon-size) + var(--_kjun-geometry-dimension-value8))); }
2843
+ /* Touch keeps the full target even in a compact menu, so this outranks the compact rows above. */
2844
+ @media (pointer: coarse) { .kjun-menu .kjun-menu-item, .kjun-menu[data-density="compact"] .kjun-menu-item { min-height: var(--_kjun-geometry-native-minimum-touch-target); } }
2648
2845
  .kjun-menu-divider {
2649
2846
  height: var(--_kjun-extension-menu-divider-height);
2650
2847
  margin: var(--_kjun-geometry-dimension-value4) 0;
@@ -2830,34 +3027,6 @@
2830
3027
  @media (prefers-reduced-motion: reduce) { .kjun-select-indicator { transition: none; } }
2831
3028
  /* A failed search reads as an error, never as an empty result. */
2832
3029
  .kjun-select-empty[role="alert"] { color: var(--_kjun-color-danger); }
2833
- .kjun-input.kjun-date-masked {
2834
- color: transparent;
2835
- }
2836
- /* Web draws the same calendar icon as Native; the browser indicator stays as a transparent hit area over it. */
2837
- .kjun-date-picker .kjun-input-affix { pointer-events: none; }
2838
- .kjun-date-picker input[type="date"]::-webkit-calendar-picker-indicator {
2839
- position: absolute;
2840
- top: 0;
2841
- bottom: 0;
2842
- right: var(--_kjun-date-icon-inset);
2843
- width: var(--_kjun-date-icon-size);
2844
- height: auto;
2845
- margin: 0;
2846
- padding: 0;
2847
- opacity: 0;
2848
- cursor: pointer;
2849
- }
2850
- .kjun-date-overlay {
2851
- position: absolute;
2852
- top: 0;
2853
- bottom: 0;
2854
- right: var(--_kjun-geometry-input-md-height);
2855
- display: flex;
2856
- align-items: center;
2857
- pointer-events: none;
2858
- white-space: nowrap;
2859
- overflow: hidden;
2860
- }
2861
3030
 
2862
3031
  .kjun-drawer-overlay[data-position="left"] .kjun-drawer { box-shadow: var(--_kjun-drawer-elevation-left); }
2863
3032
  .kjun-drawer-overlay[data-position="top"] .kjun-drawer { box-shadow: var(--_kjun-drawer-elevation-top); }
@@ -2873,7 +3042,14 @@
2873
3042
  --_kjun-tab-height:var(--_kjun-extension-tabs-compact-height);
2874
3043
  --_kjun-tab-padding-x:var(--_kjun-extension-tabs-compact-padding-x);
2875
3044
  }
2876
- .kjun-tabs[data-variant="pills"] { --_kjun-tab-padding-x:var(--_kjun-extension-tabs-pills-padding-x); }
3045
+ .kjun-tabs[data-variant="pills"] {
3046
+ --_kjun-tab-height:var(--_kjun-extension-tabs-pills-height);
3047
+ --_kjun-tab-padding-x:var(--_kjun-extension-tabs-pills-padding-x);
3048
+ }
3049
+ .kjun-tabs[data-variant="pills"][data-density="compact"] {
3050
+ --_kjun-tab-height:var(--_kjun-extension-tabs-pills-compact-height);
3051
+ --_kjun-tab-padding-x:var(--_kjun-extension-tabs-pills-compact-padding-x);
3052
+ }
2877
3053
  .kjun-tabs-header { display:flex; align-items:center; min-width:0; }
2878
3054
  .kjun-tabs-list {
2879
3055
  display:flex; align-items:center; gap:var(--_kjun-extension-tabs-gap);
@@ -2888,12 +3064,26 @@
2888
3064
  font-weight:var(--_kjun-type-label-weight); letter-spacing:var(--_kjun-type-control-tracking);
2889
3065
  white-space:nowrap; cursor:pointer; outline:none; -webkit-tap-highlight-color:transparent;
2890
3066
  }
2891
- .kjun-tabs[data-variant="underline"] .kjun-tab:first-child { padding-inline-start:0; }
3067
+ .kjun-tabs[data-variant="underline"]:not([data-full-width]) .kjun-tab:first-child { padding-inline-start:0; }
3068
+ /* fullWidth: tabs share the row equally; the underline then spans the whole tab. */
3069
+ .kjun-tabs[data-full-width] .kjun-tabs-header > :is(.kjun-tabs-track, .kjun-tabs-scroller) { flex:1; }
3070
+ .kjun-tabs[data-full-width] .kjun-tabs-list { width:auto; min-width:max-content; }
3071
+ .kjun-tabs[data-full-width] .kjun-tab { flex:1 0 0; justify-content:center; min-width:max-content; }
3072
+ /* Pills are chips: each tab carries its own fill and the selected one inverts, with no sliding marker. */
3073
+ .kjun-tabs[data-variant="pills"] .kjun-tab { border-radius:var(--_kjun-extension-tabs-pills-radius); background:var(--_kjun-color-secondary) !important; }
3074
+ .kjun-tabs[data-variant="pills"] .kjun-tab[aria-selected="true"] { background:var(--_kjun-color-text) !important; color:var(--_kjun-color-surface); }
3075
+ .kjun-tabs[data-variant="pills"] .kjun-tab-indicator { display:none; }
3076
+ /* A selected chip that is disabled keeps its inverted fill but dims its ink, as on Native. */
3077
+ .kjun-tabs[data-variant="pills"] .kjun-tab[aria-selected="true"]:is([aria-disabled="true"], :disabled) { color:var(--_kjun-color-text-disabled); }
3078
+ /* On an unselected chip a default badge takes the surface, so it does not vanish into the chip's own fill. */
3079
+ .kjun-tabs[data-variant="pills"] .kjun-tab:not([aria-selected="true"]) .kjun-tab-badge[data-variant="default"] { background:var(--_kjun-color-surface) !important; }
3080
+ /* A disabled tab dims its badge with its label. */
3081
+ .kjun-tab:is([aria-disabled="true"], :disabled) .kjun-tab-badge { opacity:var(--_kjun-state-opacity-disabled); }
2892
3082
  .kjun-tabs[data-variant="pills"] .kjun-tabs-list {
2893
3083
  gap:var(--_kjun-extension-tabs-pills-gap); padding-block:var(--_kjun-extension-tabs-pills-padding-y);
2894
3084
  }
2895
3085
  .kjun-tab[aria-selected="true"] { color:var(--_kjun-color-text); font-weight:var(--_kjun-type-control-weight); }
2896
- .kjun-tab[aria-disabled="true"], .kjun-tab:disabled { opacity:var(--_kjun-state-opacity-disabled); cursor:not-allowed; }
3086
+ .kjun-tab[aria-disabled="true"], .kjun-tab:disabled { color:var(--_kjun-color-text-disabled); cursor:not-allowed; }
2897
3087
  .kjun-tab[data-focus-visible], .kjun-tab:focus-visible {
2898
3088
  outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset:var(--_kjun-state-focus-inset-offset);
2899
3089
  }
@@ -2905,23 +3095,32 @@
2905
3095
  scroll-padding-inline:var(--_kjun-tab-ring-room);
2906
3096
  }
2907
3097
  .kjun-tabs[data-variant="underline"] .kjun-tab:is([data-focus-visible], :focus-visible) { outline-offset:var(--_kjun-state-focus-offset); }
2908
- .kjun-tab:hover:not([aria-disabled="true"]):not(:disabled) { color:var(--_kjun-color-text); }
2909
- /* Pills answer hover with the hover surface, like ButtonGroup; motion.css keeps tab backgrounds transparent otherwise. */
3098
+ .kjun-tab:hover:not([aria-selected="true"]):not([aria-disabled="true"]):not(:disabled) { color:var(--_kjun-color-text); }
3099
+ /* Unselected chips darken to the hover surface, like Chip and ButtonGroup. */
2910
3100
  .kjun-tabs[data-variant="pills"] :is(.kjun-tabs-track, .kjun-tabs-scroller) .kjun-tab:hover:not([aria-selected="true"]):not([aria-disabled="true"]):not(:disabled) {
2911
3101
  background:var(--_kjun-color-hover) !important;
2912
3102
  }
2913
- .kjun-tab-badge {
2914
- font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line);
2915
- font-weight:var(--_kjun-type-caption-weight); letter-spacing:var(--_kjun-type-caption-tracking);
2916
- font-variant-numeric:tabular-nums; font-family:var(--_kjun-font-numeric);
2917
- }
3103
+ .kjun-tab-badge { font-variant-numeric:tabular-nums; }
2918
3104
  .kjun-tab-content { margin-top:var(--_kjun-extension-tabs-content-gap); }
2919
3105
  .kjun-tab-panel { outline:none; }
2920
3106
  .kjun-accordion {
3107
+ --_kjun-accordion-bg:var(--_kjun-color-surface);
2921
3108
  min-width:0; border-radius:var(--_kjun-extension-accordion-radius); overflow:hidden;
2922
- background:var(--_kjun-color-surface);
2923
- }
2924
- .kjun-accordion[data-tone="muted"] { background:var(--_kjun-color-secondary); }
3109
+ background:var(--_kjun-accordion-bg);
3110
+ }
3111
+ .kjun-accordion[data-tone="muted"] { --_kjun-accordion-bg:var(--_kjun-color-secondary); }
3112
+ /* separated: each item is its own rounded surface on the tone, with a gap instead of a line. */
3113
+ .kjun-accordion[data-separated] { display:flex; flex-direction:column; gap:var(--_kjun-extension-accordion-item-gap); background:transparent; border-radius:0; overflow:visible; }
3114
+ .kjun-accordion[data-separated] > .kjun-accordion-item { background:var(--_kjun-accordion-bg); border-radius:var(--_kjun-extension-accordion-radius); overflow:hidden; }
3115
+ .kjun-accordion-item { position:relative; }
3116
+ .kjun-accordion-item[data-leading] { --_kjun-accordion-inset:calc(var(--_kjun-extension-accordion-padding-x) + var(--_kjun-extension-accordion-leading-width) + var(--_kjun-extension-accordion-header-gap)); }
3117
+ /* divider: like ListRow, the line starts where the text does and never follows the last item. */
3118
+ .kjun-accordion[data-divider]:not([data-separated]) > .kjun-accordion-item:not(:last-child)::after {
3119
+ content:""; position:absolute; inset-inline:var(--_kjun-accordion-inset, var(--_kjun-extension-accordion-padding-x)) 0; bottom:0;
3120
+ height:var(--_kjun-border-default-width); background:var(--_kjun-color-divider); pointer-events:none;
3121
+ }
3122
+ /* The heading around each header only carries its level; the header button keeps its own type. */
3123
+ .kjun-accordion-title { margin: 0; font: inherit; }
2925
3124
  .kjun-accordion-trigger {
2926
3125
  width:100%; min-height:var(--_kjun-extension-accordion-minimum-height);
2927
3126
  display:flex; align-items:center; justify-content:space-between; gap:var(--_kjun-extension-accordion-header-gap);
@@ -2931,39 +3130,74 @@
2931
3130
  font-weight:var(--_kjun-type-control-weight); letter-spacing:var(--_kjun-type-control-tracking);
2932
3131
  cursor:pointer;
2933
3132
  }
3133
+ .kjun-accordion-leading { flex:none; min-width:var(--_kjun-extension-accordion-leading-width); display:flex; align-items:center; justify-content:center; color:var(--_kjun-color-text-secondary); }
2934
3134
  .kjun-accordion-heading { flex:1; min-width:0; word-break:keep-all; overflow-wrap:anywhere; }
2935
- .kjun-accordion-chevron { flex-shrink:0; color:var(--_kjun-color-text-secondary); }
3135
+ .kjun-accordion-description {
3136
+ display:block; margin-top:var(--_kjun-extension-accordion-description-gap); color:var(--_kjun-color-text-secondary);
3137
+ font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line);
3138
+ font-weight:var(--_kjun-type-caption-weight); letter-spacing:var(--_kjun-type-caption-tracking);
3139
+ }
3140
+ .kjun-accordion-chevron { flex-shrink:0; color:var(--_kjun-color-text-tertiary); }
2936
3141
  .kjun-accordion-trigger:disabled { opacity:var(--_kjun-state-opacity-disabled); cursor:not-allowed; }
2937
- .kjun-accordion-trigger:hover:not(:disabled) { background:var(--_kjun-color-hover); }
3142
+ /* Hover paints the whole item, header and open body together, and only where a pointer can hover. */
3143
+ @media (hover:hover) {
3144
+ .kjun-accordion-item:has(> .kjun-accordion-trigger:hover:not(:disabled), > .kjun-accordion-title > .kjun-accordion-trigger:hover:not(:disabled)) { background:var(--_kjun-color-hover); }
3145
+ }
2938
3146
  /* The accordion clips items to its rounded corners; while focused the trigger takes the same radius so the inset ring stays whole. */
2939
3147
  .kjun-accordion-trigger:focus-visible { outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset:var(--_kjun-state-focus-inset-offset); border-radius:var(--_kjun-extension-accordion-radius); }
2940
3148
  .kjun-accordion-panel {
2941
3149
  padding:0 var(--_kjun-extension-accordion-padding-x) var(--_kjun-extension-accordion-content-padding-bottom);
2942
- color:var(--_kjun-color-text-secondary); word-break:keep-all; overflow-wrap:anywhere;
3150
+ padding-inline-start:var(--_kjun-accordion-inset, var(--_kjun-extension-accordion-padding-x));
3151
+ color:var(--_kjun-color-text); word-break:keep-all; overflow-wrap:anywhere;
2943
3152
  font-size:var(--_kjun-type-body-size); line-height:var(--_kjun-type-body-line);
2944
3153
  font-weight:var(--_kjun-type-body-weight); letter-spacing:var(--_kjun-type-body-tracking);
2945
3154
  }
3155
+ /* A trail is a list (ol > li), so screen readers announce how many steps it has. */
2946
3156
  .kjun-breadcrumb {
2947
- display: flex;
2948
- align-items: center;
2949
- flex-wrap: wrap;
2950
- gap: var(--_kjun-geometry-dimension-value8);
2951
3157
  font-size: var(--_kjun-type-body-size);
2952
3158
  color: var(--_kjun-color-text-secondary);
2953
3159
  line-height: var(--_kjun-type-body-line);
2954
3160
  font-weight: var(--_kjun-type-body-weight);
2955
3161
  letter-spacing: var(--_kjun-type-body-tracking);
2956
3162
  }
2957
- .kjun-breadcrumb > svg {
3163
+ .kjun-breadcrumb-list {
3164
+ display: flex;
3165
+ align-items: center;
3166
+ flex-wrap: wrap;
3167
+ gap: var(--_kjun-extension-breadcrumb-gap);
3168
+ margin: 0;
3169
+ padding: 0;
3170
+ list-style: none;
3171
+ }
3172
+ .kjun-breadcrumb-item {
3173
+ display: inline-flex;
3174
+ align-items: center;
3175
+ gap: var(--_kjun-extension-breadcrumb-gap);
3176
+ min-width: 0;
3177
+ }
3178
+ .kjun-breadcrumb-item > svg {
3179
+ flex: none;
2958
3180
  color: var(--_kjun-color-text-tertiary);
2959
3181
  }
3182
+ /* Each step keeps one line; a long label ends in an ellipsis at the label width. */
3183
+ .kjun-breadcrumb-item > :is(a, span) {
3184
+ display: inline-flex;
3185
+ align-items: center;
3186
+ gap: var(--_kjun-extension-breadcrumb-icon-gap);
3187
+ max-width: var(--_kjun-extension-breadcrumb-label-max-width);
3188
+ min-width: 0;
3189
+ }
3190
+ .kjun-breadcrumb-label {
3191
+ overflow: hidden;
3192
+ text-overflow: ellipsis;
3193
+ white-space: nowrap;
3194
+ }
2960
3195
  .kjun-breadcrumb a {
2961
3196
  color: inherit;
2962
3197
  text-decoration: none;
2963
3198
  }
2964
3199
  /* Underlined as well as recolored: with a near-text brand color, hover would otherwise look like the current page. */
2965
- .kjun-breadcrumb a:hover,
2966
- .kjun-breadcrumb-link:hover {
3200
+ .kjun-breadcrumb a:hover {
2967
3201
  color: var(--_kjun-color-brand);
2968
3202
  text-decoration: underline;
2969
3203
  text-underline-offset: var(--_kjun-geometry-dimension-value2);
@@ -3127,11 +3361,31 @@
3127
3361
  vertical-align: middle;
3128
3362
  }
3129
3363
  .kjun-scroll-fade {
3364
+ --_kjun-fade-to: to right;
3130
3365
  overflow-x: auto;
3131
3366
  min-width: 0;
3132
3367
  max-width: 100%;
3133
3368
  scrollbar-width: none;
3134
3369
  }
3370
+ .kjun-scroll-fade[data-direction="vertical"] {
3371
+ --_kjun-fade-to: to bottom;
3372
+ overflow-x: hidden;
3373
+ overflow-y: auto;
3374
+ min-height: 0;
3375
+ }
3376
+ /* The start edge is on the right in a right-to-left layout. */
3377
+ .kjun-scroll-fade[data-direction="horizontal"]:dir(rtl) { --_kjun-fade-to: to left; }
3378
+ /* An edge fades while content remains past it; the app's own mask-image style still wins. */
3379
+ .kjun-scroll-fade:is([data-fade-start], [data-fade-end]) {
3380
+ --_kjun-fade-start: currentColor;
3381
+ --_kjun-fade-end: currentColor;
3382
+ -webkit-mask-image: linear-gradient(var(--_kjun-fade-to), var(--_kjun-fade-start), currentColor var(--_kjun-extension-scroll-fade-width), currentColor calc(100% - var(--_kjun-extension-scroll-fade-width)), var(--_kjun-fade-end));
3383
+ mask-image: linear-gradient(var(--_kjun-fade-to), var(--_kjun-fade-start), currentColor var(--_kjun-extension-scroll-fade-width), currentColor calc(100% - var(--_kjun-extension-scroll-fade-width)), var(--_kjun-fade-end));
3384
+ }
3385
+ .kjun-scroll-fade[data-fade-start] { --_kjun-fade-start: transparent; }
3386
+ .kjun-scroll-fade[data-fade-end] { --_kjun-fade-end: transparent; }
3387
+ /* A named scroller is a focusable region, so keyboard users can scroll it even when nothing inside takes focus. */
3388
+ .kjun-scroll-fade[tabindex]:focus-visible { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-offset); }
3135
3389
  @media (prefers-reduced-motion: reduce) {
3136
3390
  .kjun-icon-toggle svg {
3137
3391
  transition: none;
@@ -3383,15 +3637,21 @@
3383
3637
  .kjun-deviation-badge > .kjun-tooltip-wrapper {
3384
3638
  display: flex;
3385
3639
  }
3386
- /* Freshness badges are tooltip targets: focusable, with the system ring around the badge. */
3387
- .kjun-freshness {
3640
+ /* The status slot after a price: the app's badge or text, set off from the number and centred on its line. */
3641
+ /* A long status ends in an ellipsis instead of widening the quote column and squeezing the name. */
3642
+ .kjun-price-status {
3388
3643
  display: inline-flex;
3389
- border-radius: var(--_kjun-extension-badge-radius);
3390
- outline: none;
3644
+ align-items: center;
3645
+ vertical-align: middle;
3646
+ min-width: 0;
3647
+ max-width: 100%;
3648
+ overflow: hidden;
3649
+ white-space: nowrap;
3650
+ text-overflow: ellipsis;
3391
3651
  }
3392
- .kjun-freshness:focus-visible {
3393
- outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
3394
- outline-offset: var(--_kjun-state-focus-offset);
3652
+ .kjun-price-cell[data-missing] { color: var(--_kjun-color-text-tertiary); }
3653
+ .kjun-price-cell + .kjun-price-status {
3654
+ margin-inline-start: var(--_kjun-extension-financial-status-gap);
3395
3655
  }
3396
3656
  .kjun-deviation-signal-slot {
3397
3657
  width: var(--_kjun-extension-financial-warning-icon-size);
@@ -3430,7 +3690,8 @@
3430
3690
  font-size: var(--_kjun-type-caption-size);
3431
3691
  color: var(--_kjun-color-text-secondary);
3432
3692
  min-width: var(--_kjun-extension-financial-progress-label-width);
3433
- text-align: right;
3693
+ /* The value sits beside its bar; the fixed width keeps every bar the same length. */
3694
+ text-align: left;
3434
3695
  line-height: var(--_kjun-type-caption-line);
3435
3696
  font-weight: var(--_kjun-type-caption-weight);
3436
3697
  letter-spacing: var(--_kjun-type-caption-tracking);
@@ -3678,32 +3939,13 @@
3678
3939
  color: var(--_kjun-text-tertiary);
3679
3940
  }
3680
3941
 
3681
- /* 스크롤 힌트는 스크롤 콘텐츠 안이 아니라 뷰포트 셸에 둬야, 가로 스크롤을 따라 움직이지 않는다. */
3682
- .kjun-table-scroll-shell {
3683
- position: relative;
3684
- min-width: 0;
3685
- }
3686
-
3687
- .kjun-table-scroll-fade {
3688
- display: none;
3689
- pointer-events: none;
3690
- }
3691
-
3692
- @media (width <= 768px) {
3693
- .kjun-table-scroll-fade {
3694
- display: block;
3695
- position: absolute;
3696
- top: 0;
3697
- right: 0;
3698
- bottom: 0;
3699
- width: var(--_kjun-extension-scroll-fade-width);
3700
- z-index: 1;
3701
- background: linear-gradient(to right, transparent, var(--_kjun-card-bg));
3702
- }
3703
- }
3704
3942
  .kjun-table-scroll {
3705
3943
  overflow: auto;
3706
3944
  }
3945
+ /* A sticky header without maxHeight sticks to the page, so this wrapper must not become a scroll container. */
3946
+ .kjun-table-scroll[data-page-sticky] {
3947
+ overflow: visible;
3948
+ }
3707
3949
  .kjun-table {
3708
3950
  width: 100%;
3709
3951
  border-collapse: collapse;
@@ -3731,14 +3973,30 @@
3731
3973
  align-items: center;
3732
3974
  gap: var(--_kjun-geometry-dimension-value4);
3733
3975
  border: 0;
3976
+ padding: 0;
3734
3977
  background: transparent;
3735
3978
  color: inherit;
3736
3979
  cursor: pointer;
3737
3980
  font: inherit;
3738
3981
  }
3982
+ /* A sortable column shows a quiet two-way arrow; the sorted column reads in the text color with its direction. */
3983
+ .kjun-table th button .kjun-table-sort-icon { color: var(--_kjun-color-text-tertiary); }
3984
+ .kjun-table th[aria-sort="ascending"] button,
3985
+ .kjun-table th[aria-sort="descending"] button { font-weight: var(--_kjun-type-section-title-weight); }
3986
+ .kjun-table th[aria-sort="ascending"] button,
3987
+ .kjun-table th[aria-sort="descending"] button,
3988
+ .kjun-table th[aria-sort="ascending"] button .kjun-table-sort-icon,
3989
+ .kjun-table th[aria-sort="descending"] button .kjun-table-sort-icon { color: var(--_kjun-color-text); }
3990
+ .kjun-table th button:hover .kjun-table-sort-icon { color: var(--_kjun-color-text-secondary); }
3991
+ .kjun-table th button:focus-visible {
3992
+ outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
3993
+ outline-offset: var(--_kjun-state-focus-offset);
3994
+ border-radius: var(--_kjun-geometry-radius-radius4);
3995
+ }
3996
+ /* Rows part with the lighter divider; the header keeps the border line. */
3739
3997
  .kjun-table td {
3740
3998
  padding: var(--_kjun-geometry-table-cell-padding-regular-y) var(--_kjun-geometry-table-cell-padding-regular-x);
3741
- border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-border);
3999
+ border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-divider);
3742
4000
  overflow-wrap: anywhere;
3743
4001
  }
3744
4002
  /* Numbers read as one unit: a numeric column keeps its content width instead of breaking between digits. */
@@ -3749,12 +4007,22 @@
3749
4007
  .kjun-table[data-compact="true"] td {
3750
4008
  padding: var(--_kjun-geometry-table-cell-padding-compact-y) var(--_kjun-geometry-table-cell-padding-compact-x);
3751
4009
  }
3752
- .kjun-table[data-striped="true"] tbody > tr:nth-child(even) {
3753
- background: var(--_kjun-color-secondary);
4010
+ /* Stripes are a faint text tint so they never match the header or an expanded row. They follow the data rows
4011
+ (data-stripe), so an expanded row or a group header does not flip the pattern. */
4012
+ .kjun-table[data-striped="true"] tbody > tr[data-stripe] {
4013
+ background: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-stripe) * 100%), transparent);
3754
4014
  }
3755
4015
  .kjun-table[data-hoverable="true"] tbody > tr:hover {
3756
4016
  background: var(--_kjun-color-table-row-hover);
3757
4017
  }
4018
+ .kjun-table tbody > tr[data-selected]:nth-child(n),
4019
+ .kjun-table[data-hoverable="true"] tbody > tr[data-selected]:hover {
4020
+ background: var(--_kjun-color-selected-bg);
4021
+ }
4022
+ /* A sticky header covers the rows beneath it; once rows pass under it, its line turns strong instead of casting a shadow. */
4023
+ .kjun-table-scroll[data-stuck] .kjun-table thead th {
4024
+ border-bottom-color: var(--_kjun-color-border-strong);
4025
+ }
3758
4026
  /* Selection and expansion share one fixed utility column width. */
3759
4027
  .kjun-table .kjun-table-action-cell {
3760
4028
  width: var(--_kjun-geometry-table-action-column-width);
@@ -3812,16 +4080,56 @@
3812
4080
  padding: var(--_kjun-geometry-table-empty-padding-y) var(--_kjun-geometry-table-empty-padding-x) !important;
3813
4081
  color: var(--_kjun-color-text-secondary);
3814
4082
  }
4083
+ /* Group headers: a faint text-tinted band with the collapse button, the app's label and the row count. */
4084
+ .kjun-table tbody > tr.kjun-table-group > th {
4085
+ padding: var(--_kjun-geometry-table-group-padding-y) var(--_kjun-geometry-table-group-padding-x);
4086
+ text-align: start;
4087
+ color: var(--_kjun-color-text);
4088
+ font-size: var(--_kjun-type-body-size);
4089
+ line-height: var(--_kjun-type-body-line);
4090
+ font-weight: var(--_kjun-type-body-weight);
4091
+ background: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-group-fill) * 100%), transparent);
4092
+ border-bottom: 0;
4093
+ }
4094
+ .kjun-table-group-label {
4095
+ display: inline-flex;
4096
+ align-items: center;
4097
+ gap: var(--_kjun-geometry-table-group-gap);
4098
+ font-weight: var(--_kjun-type-control-weight);
4099
+ }
4100
+ .kjun-table-group-count {
4101
+ color: var(--_kjun-color-text-tertiary);
4102
+ font-weight: var(--_kjun-type-body-weight);
4103
+ }
4104
+ /* Subtotals read quieter than rows; the total closes the table under a strong text-colored rule. */
4105
+ .kjun-table :is(tbody, tfoot) > tr.kjun-table-summary > td {
4106
+ color: var(--_kjun-color-text-secondary);
4107
+ font-size: var(--_kjun-type-caption-size);
4108
+ line-height: var(--_kjun-type-caption-line);
4109
+ }
4110
+ .kjun-table tfoot > tr.kjun-table-summary[data-kind="total"] > td {
4111
+ color: var(--_kjun-color-text);
4112
+ font-size: var(--_kjun-type-body-size);
4113
+ line-height: var(--_kjun-type-body-line);
4114
+ font-weight: var(--_kjun-type-control-weight);
4115
+ border-top: var(--_kjun-border-control-width) solid var(--_kjun-color-text);
4116
+ border-bottom: 0;
4117
+ }
4118
+ /* Neither stripes nor hover paint group and summary rows. */
4119
+ .kjun-table tbody > tr:is(.kjun-table-group, .kjun-table-summary):is(:nth-child(n), :hover) { background: transparent; }
3815
4120
  .kjun-table-expanded > td { padding: var(--_kjun-geometry-table-expanded-padding-y) var(--_kjun-geometry-table-expanded-padding-x); }
3816
4121
  .kjun-table-expanded {
3817
4122
  background: var(--_kjun-color-secondary);
3818
4123
  }
4124
+ /* The selection bar takes the toolbar's place at the same height, so selecting never moves the table. */
3819
4125
  .kjun-table-selection,
3820
4126
  .kjun-table-toolbar {
3821
4127
  display: flex;
3822
4128
  align-items: center;
3823
4129
  gap: var(--_kjun-geometry-dimension-value8);
3824
4130
  flex-wrap: wrap;
4131
+ box-sizing: border-box;
4132
+ min-height: var(--_kjun-geometry-table-toolbar-minimum-height);
3825
4133
  padding: var(--_kjun-geometry-dimension-value8) var(--_kjun-geometry-dimension-value12);
3826
4134
  background: var(--_kjun-color-secondary);
3827
4135
  border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-border);
@@ -3834,9 +4142,98 @@
3834
4142
  .kjun-table-toolbar {
3835
4143
  background: var(--_kjun-color-surface);
3836
4144
  }
4145
+ /* The selection bar shares the selected rows' fill. */
3837
4146
  .kjun-table-selection {
3838
4147
  background: var(--_kjun-color-selected-bg);
3839
4148
  color: var(--_kjun-color-brand);
4149
+ padding-inline-start: var(--_kjun-geometry-dimension-value8);
4150
+ }
4151
+ .kjun-table-selection > strong { margin-inline-end: auto; }
4152
+ /* responsive="list": rows without a header, a title over one meta line and the value with badges at the end. */
4153
+ .kjun-table-list {
4154
+ display: flex;
4155
+ flex-direction: column;
4156
+ }
4157
+ .kjun-table-list-item {
4158
+ display: flex;
4159
+ align-items: center;
4160
+ gap: var(--_kjun-geometry-table-list-gap);
4161
+ padding: var(--_kjun-geometry-table-list-padding-y) var(--_kjun-geometry-table-list-padding-x);
4162
+ border-radius: var(--_kjun-geometry-table-list-radius);
4163
+ }
4164
+ .kjun-table-list-item[tabindex] { cursor: pointer; }
4165
+ .kjun-table-list-item[data-selected] { background: var(--_kjun-color-selected-bg); }
4166
+ @media (hover: hover) {
4167
+ .kjun-table-list-item[tabindex]:not([data-selected]):hover { background: var(--_kjun-color-hover); }
4168
+ }
4169
+ .kjun-table-list-item:focus-visible {
4170
+ outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
4171
+ outline-offset: var(--_kjun-state-focus-inset-offset);
4172
+ }
4173
+ .kjun-table-list-main {
4174
+ display: flex;
4175
+ flex-direction: column;
4176
+ gap: var(--_kjun-geometry-table-list-meta-gap);
4177
+ flex: 1;
4178
+ min-width: 0;
4179
+ }
4180
+ .kjun-table-list-title {
4181
+ font-size: var(--_kjun-type-control-size);
4182
+ line-height: var(--_kjun-type-control-line);
4183
+ font-weight: var(--_kjun-type-control-weight);
4184
+ overflow-wrap: anywhere;
4185
+ }
4186
+ .kjun-table-list-meta {
4187
+ font-size: var(--_kjun-type-caption-size);
4188
+ line-height: var(--_kjun-type-caption-line);
4189
+ color: var(--_kjun-color-text-tertiary);
4190
+ }
4191
+ .kjun-table-list-side {
4192
+ display: flex;
4193
+ flex-direction: column;
4194
+ align-items: flex-end;
4195
+ gap: var(--_kjun-geometry-table-list-meta-gap);
4196
+ flex-shrink: 0;
4197
+ text-align: right;
4198
+ }
4199
+ .kjun-table-list-value {
4200
+ font-size: var(--_kjun-type-control-size);
4201
+ line-height: var(--_kjun-type-control-line);
4202
+ font-weight: var(--_kjun-type-control-weight);
4203
+ font-variant-numeric: tabular-nums;
4204
+ white-space: nowrap;
4205
+ }
4206
+ .kjun-table-list-expand {
4207
+ padding: var(--_kjun-geometry-table-expanded-padding-y) var(--_kjun-geometry-table-expanded-padding-x);
4208
+ border-radius: var(--_kjun-geometry-table-list-radius);
4209
+ background: var(--_kjun-color-secondary);
4210
+ }
4211
+ /* The summary on narrow layouts: a closing block under a strong text-colored rule. */
4212
+ .kjun-table-totals {
4213
+ display: flex;
4214
+ flex-direction: column;
4215
+ gap: var(--_kjun-geometry-table-list-meta-gap);
4216
+ margin-top: var(--_kjun-geometry-table-list-meta-gap);
4217
+ padding: var(--_kjun-geometry-table-list-padding-y) var(--_kjun-geometry-table-list-padding-x);
4218
+ border-top: var(--_kjun-border-control-width) solid var(--_kjun-color-text);
4219
+ }
4220
+ .kjun-table-totals-title {
4221
+ font-size: var(--_kjun-type-control-size);
4222
+ line-height: var(--_kjun-type-control-line);
4223
+ font-weight: var(--_kjun-type-control-weight);
4224
+ }
4225
+ .kjun-table-totals-row {
4226
+ display: flex;
4227
+ justify-content: space-between;
4228
+ gap: var(--_kjun-geometry-table-list-gap);
4229
+ font-size: var(--_kjun-type-body-size);
4230
+ line-height: var(--_kjun-type-body-line);
4231
+ color: var(--_kjun-color-text-secondary);
4232
+ }
4233
+ .kjun-table-totals-value {
4234
+ color: var(--_kjun-color-text);
4235
+ font-weight: var(--_kjun-type-control-weight);
4236
+ font-variant-numeric: tabular-nums;
3840
4237
  }
3841
4238
 
3842
4239
  .kjun-market-row {
@@ -3913,7 +4310,8 @@
3913
4310
  flex-wrap: wrap;
3914
4311
  align-items: center;
3915
4312
  justify-content: flex-end;
3916
- gap: var(--_kjun-geometry-dimension-value6);
4313
+ /* The status sits one status gap from the change, like a status after a price. */
4314
+ gap: var(--_kjun-extension-financial-status-gap);
3917
4315
  margin-top: var(--_kjun-geometry-dimension-value2);
3918
4316
  font-size: var(--_kjun-type-caption-size);
3919
4317
  line-height: var(--_kjun-type-caption-line);
@@ -4857,11 +5255,11 @@
4857
5255
  }
4858
5256
  }
4859
5257
 
4860
- .kjun-list-section,.kjun-top-navigation,.kjun-bottom-navigation,.kjun-bottom-action-bar{min-width:0;max-width:100%;color:var(--_kjun-color-text);background:var(--_kjun-color-surface)}
4861
- .kjun-list-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--_kjun-extension-list-gap);padding:var(--_kjun-extension-list-padding)}.kjun-list-heading h3{font-size:var(--_kjun-type-card-title-size);margin:0;line-height:var(--_kjun-type-card-title-line);font-weight:var(--_kjun-type-card-title-weight);letter-spacing:var(--_kjun-type-card-title-tracking)}.kjun-list-heading p{margin:var(--_kjun-geometry-dimension-value4) 0 0;font-size:var(--_kjun-type-caption-size);color:var(--_kjun-color-text-secondary);overflow-wrap:anywhere;line-height:var(--_kjun-type-caption-line);font-weight:var(--_kjun-type-caption-weight);letter-spacing:var(--_kjun-type-caption-tracking)}
5258
+ .kjun-list-section,.kjun-top-navigation,.kjun-bottom-navigation,.kjun-floating-navigation,.kjun-bottom-action-bar{min-width:0;max-width:100%;color:var(--_kjun-color-text);background:var(--_kjun-color-surface)}
5259
+ .kjun-list-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--_kjun-extension-list-gap);padding:var(--_kjun-extension-list-padding)}.kjun-list-heading :is(h2,h3,h4){font-size:var(--_kjun-type-card-title-size);margin:0;line-height:var(--_kjun-type-card-title-line);font-weight:var(--_kjun-type-card-title-weight);letter-spacing:var(--_kjun-type-card-title-tracking)}.kjun-list-heading p{margin:var(--_kjun-geometry-dimension-value4) 0 0;font-size:var(--_kjun-type-caption-size);color:var(--_kjun-color-text-secondary);overflow-wrap:anywhere;line-height:var(--_kjun-type-caption-line);font-weight:var(--_kjun-type-caption-weight);letter-spacing:var(--_kjun-type-caption-tracking)}
4862
5260
  .kjun-list{list-style:none;padding:0;margin:0}.kjun-list-row{display:flex;align-items:center;gap:var(--_kjun-extension-list-gap);position:relative;min-width:0}/* Dividers start where the text does: the row inset, or past the fixed leading column. */
4863
5261
  .kjun-list-row:not(:last-child)::after,.kjun-list-item:not(:last-child)::after{content:"";position:absolute;inset-inline:var(--_kjun-list-divider-inset,var(--_kjun-extension-list-padding)) 0;bottom:0;height:var(--_kjun-border-default-width);background:var(--_kjun-color-divider);pointer-events:none}
4864
- .kjun-list-row[data-leading]{--_kjun-list-divider-inset:calc(var(--_kjun-extension-list-padding) + var(--_kjun-extension-list-leading-width) + var(--_kjun-extension-list-gap))}.kjun-list[data-divider=false]>:is(.kjun-list-row,.kjun-list-item)::after{content:none}.kjun-list[data-density=compact] .kjun-list-main{min-height:var(--_kjun-extension-list-compact-minimum-height);padding-block:var(--_kjun-extension-list-compact-padding-y)}.kjun-list-main{display:flex;align-items:center;gap:var(--_kjun-extension-list-gap);flex:1;min-width:0;min-height:var(--_kjun-extension-list-minimum-height);padding:var(--_kjun-extension-list-padding);text-align:start;color:inherit;text-decoration:none;background:transparent;border:0;font:inherit}.kjun-list-main:is(button,a):hover{background:var(--_kjun-color-hover)}.kjun-list-body{flex:1;min-width:0}.kjun-list-content{display:block;margin-top:var(--_kjun-extension-list-description-gap)}.kjun-list-title,.kjun-list-description{display:block;overflow-wrap:anywhere;line-height:1.5}.kjun-list-title{font-size:var(--_kjun-type-control-size);line-height:var(--_kjun-type-control-line);font-weight:var(--_kjun-type-control-weight);letter-spacing:var(--_kjun-type-control-tracking)}.kjun-list-description{font-size:var(--_kjun-type-caption-size);color:var(--_kjun-color-text-secondary);line-height:var(--_kjun-type-caption-line);font-weight:var(--_kjun-type-caption-weight);letter-spacing:var(--_kjun-type-caption-tracking)}/* A fixed leading column keeps titles on one line whether a row shows an icon, an avatar or a wider image. */
5262
+ .kjun-list-row[data-leading]{--_kjun-list-divider-inset:calc(var(--_kjun-extension-list-padding) + var(--_kjun-extension-list-leading-width) + var(--_kjun-extension-list-gap))}.kjun-list[data-divider=false]>:is(.kjun-list-row,.kjun-list-item)::after{content:none}.kjun-list[data-density=compact] .kjun-list-main{min-height:var(--_kjun-extension-list-compact-minimum-height);padding-block:var(--_kjun-extension-list-compact-padding-y)}.kjun-list-main{display:flex;align-items:center;gap:var(--_kjun-extension-list-gap);flex:1;min-width:0;min-height:var(--_kjun-extension-list-minimum-height);padding:var(--_kjun-extension-list-padding);text-align:start;color:inherit;text-decoration:none;background:transparent;border:0;font:inherit}.kjun-list-main:is(button,a):not(:disabled,[aria-disabled=true]):hover{background:var(--_kjun-color-hover)}.kjun-list-main:is(button,a):not(:disabled,[aria-disabled=true]):active{background:var(--_kjun-color-active)}.kjun-list-body{flex:1;min-width:0}.kjun-list-content{display:block;margin-top:var(--_kjun-extension-list-description-gap)}.kjun-list-title,.kjun-list-description{display:block;overflow-wrap:anywhere;line-height:1.5}.kjun-list-title{font-size:var(--_kjun-type-control-size);line-height:var(--_kjun-type-control-line);font-weight:var(--_kjun-type-control-weight);letter-spacing:var(--_kjun-type-control-tracking)}.kjun-list-description{font-size:var(--_kjun-type-caption-size);color:var(--_kjun-color-text-secondary);line-height:var(--_kjun-type-caption-line);font-weight:var(--_kjun-type-caption-weight);letter-spacing:var(--_kjun-type-caption-tracking)}/* A fixed leading column keeps titles on one line whether a row shows an icon, an avatar or a wider image. */
4865
5263
  .kjun-list-leading{flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:var(--_kjun-extension-list-leading-width)}
4866
5264
  .kjun-list-icon{color:var(--_kjun-color-text-secondary)}.kjun-list-trailing{overflow-wrap:anywhere;max-width:35%}.kjun-list-actions{display:flex;flex-wrap:wrap;gap:var(--_kjun-extension-list-actions-gap);padding-inline-end:var(--_kjun-extension-list-actions-padding);max-width:45%}
4867
5265
  /* A disabled row disables its actions too, so the row never reads as partly available. */
@@ -4884,17 +5282,17 @@
4884
5282
  .kjun-chip[data-removable=true]{padding-right:calc(var(--_kjun-extension-chip-padding-x) - (var(--_kjun-extension-chip-remove-size) - var(--_kjun-chip-remove-icon)) / 2)}
4885
5283
  .kjun-chip button:hover{background:var(--_kjun-color-hover)}
4886
5284
  .kjun-chip[data-disabled=true]{opacity:var(--_kjun-state-opacity-disabled)}
4887
- /* Links and page buttons use the system ring instead of the browser default; Vue Breadcrumb and Pagination use their own ds- classes. */
4888
- .kjun-scope :is(.kjun-list-main,.kjun-bottom-navigation a,.kjun-chip button,.kjun-breadcrumb a,.kjun-breadcrumb-link,.kjun-external-link,.kjun-pagination-button):focus-visible{outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);outline-offset:var(--_kjun-state-focus-offset)}
5285
+ /* Links and page buttons use the system ring instead of the browser default. */
5286
+ .kjun-scope :is(.kjun-list-main,.kjun-bottom-navigation a,.kjun-floating-navigation a,.kjun-chip button,.kjun-breadcrumb a,.kjun-external-link,.kjun-pagination-button):focus-visible{outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);outline-offset:var(--_kjun-state-focus-offset)}
4889
5287
  /* Kept out of the :is() above: its :not() would raise that whole rule over the inset overrides below. */
4890
5288
  .kjun-scope .kjun-pagination button:not(.kjun-select-trigger):focus-visible{outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);outline-offset:var(--_kjun-state-focus-offset)}
4891
5289
  /* Inline text links round the ring so it does not box the glyphs. */
4892
- .kjun-scope :is(.kjun-breadcrumb a,.kjun-breadcrumb-link,.kjun-external-link):focus-visible{border-radius:var(--_kjun-geometry-radius-radius4)}
5290
+ .kjun-scope :is(.kjun-breadcrumb a,.kjun-external-link):focus-visible{border-radius:var(--_kjun-geometry-radius-radius4)}
4893
5291
  /* Draw the removal ring inside its circle so it stays within the chip outline and clear of the label. */
4894
5292
  .kjun-scope .kjun-chip button:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
4895
5293
  /* Bottom bars meet the screen edges, so their items draw the ring inside, like tabs. */
4896
5294
  .kjun-scope .kjun-bottom-navigation a:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
4897
- .kjun-scope :is(.kjun-list-main[aria-disabled=true],.kjun-bottom-navigation a[aria-disabled=true],.kjun-list-main:disabled){opacity:var(--_kjun-state-opacity-disabled);cursor:default}
5295
+ .kjun-scope :is(.kjun-list-main[aria-disabled=true],.kjun-bottom-navigation a[aria-disabled=true],.kjun-floating-navigation a[aria-disabled=true],.kjun-list-main:disabled){opacity:var(--_kjun-state-opacity-disabled);cursor:default}
4898
5296
  .kjun-slider {
4899
5297
  width:100%; min-width:var(--_kjun-extension-slider-minimum-width); display:grid; gap:var(--_kjun-geometry-dimension-value4);
4900
5298
  }
@@ -5011,6 +5409,8 @@
5011
5409
  .kjun-navigation-leading .kjun-button-label { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
5012
5410
 
5013
5411
  .kjun-bottom-navigation { display:flex; flex-shrink:0; }
5412
+ /* A hairline on the surface keeps the bar apart from content scrolling under it; a bar without a surface stays seamless. */
5413
+ .kjun-bottom-navigation:not([data-surface="false"]) { box-shadow:inset 0 var(--_kjun-border-default-width) 0 var(--_kjun-color-divider); }
5014
5414
  .kjun-bottom-navigation > a {
5015
5415
  position:relative;
5016
5416
  display:flex; flex:1; min-width:0; min-height:var(--_kjun-extension-bottom-navigation-minimum-height);
@@ -5022,31 +5422,76 @@
5022
5422
  font-weight:var(--_kjun-type-label-weight); letter-spacing:var(--_kjun-type-caption-tracking);
5023
5423
  }
5024
5424
  .kjun-bottom-navigation[data-icons] > a { justify-content:flex-start; }
5425
+ /* The selected destination swaps to the filled icon; colour and weight carry it without a separate marker. */
5025
5426
  .kjun-bottom-navigation > a[aria-current] { color:var(--_kjun-color-brand); font-weight:var(--_kjun-type-control-weight); }
5026
- /* The indicator hangs under the label, so a neighbour's wrapped label does not pull it away. */
5027
- .kjun-bottom-navigation > a[aria-current] .kjun-navigation-label::after {
5028
- content:""; position:absolute; top:calc(100% + var(--_kjun-extension-bottom-navigation-indicator-offset));
5029
- left:50%; transform:translateX(-50%); width:var(--_kjun-extension-bottom-navigation-indicator-width);
5030
- height:var(--_kjun-extension-bottom-navigation-indicator-height); border-radius:var(--_kjun-geometry-radius-radius9999);
5031
- background:currentColor; pointer-events:none;
5032
- }
5033
5427
  .kjun-navigation-icon {
5034
5428
  position:relative; display:block; flex-shrink:0;
5035
5429
  width:var(--_kjun-extension-bottom-navigation-icon-size); height:var(--_kjun-extension-bottom-navigation-icon-size);
5036
5430
  }
5037
5431
  .kjun-navigation-label { position:relative; max-width:100%; overflow-wrap:anywhere; }
5432
+ /* Press feedback: a circle behind the icon, or a pill behind a text-only label. isolation keeps it above the bar. */
5433
+ .kjun-bottom-navigation[data-icons] .kjun-navigation-icon, .kjun-bottom-navigation:not([data-icons]) .kjun-navigation-label { isolation:isolate; }
5434
+ .kjun-bottom-navigation[data-icons] .kjun-navigation-icon::before, .kjun-bottom-navigation:not([data-icons]) .kjun-navigation-label::before {
5435
+ content:""; position:absolute; z-index:-1; top:50%; height:var(--_kjun-extension-bottom-navigation-press-size);
5436
+ transform:translateY(-50%); border-radius:var(--_kjun-geometry-radius-radius9999); background:transparent; pointer-events:none;
5437
+ }
5438
+ .kjun-bottom-navigation[data-icons] .kjun-navigation-icon::before { left:50%; width:var(--_kjun-extension-bottom-navigation-press-size); transform:translate(-50%, -50%); }
5439
+ .kjun-bottom-navigation:not([data-icons]) .kjun-navigation-label::before { left:calc(0px - var(--_kjun-extension-bottom-navigation-press-padding-x)); right:calc(0px - var(--_kjun-extension-bottom-navigation-press-padding-x)); }
5440
+ @media (hover:hover) {
5441
+ .kjun-bottom-navigation > a:not([aria-disabled="true"]):hover :is(.kjun-navigation-icon, .kjun-navigation-label)::before { background:var(--_kjun-color-hover); }
5442
+ .kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):hover { background:var(--_kjun-color-hover); }
5443
+ }
5444
+ .kjun-bottom-navigation > a:not([aria-disabled="true"]):active :is(.kjun-navigation-icon, .kjun-navigation-label)::before { background:var(--_kjun-color-active); }
5038
5445
  .kjun-navigation-badge {
5039
5446
  position:absolute; top:calc(0px - var(--_kjun-extension-bottom-navigation-badge-offset));
5040
- left:calc(100% - var(--_kjun-extension-bottom-navigation-badge-overlap));
5447
+ inset-inline-start:calc(100% - var(--_kjun-extension-bottom-navigation-badge-overlap));
5041
5448
  display:flex; align-items:center; justify-content:center; pointer-events:none; white-space:nowrap;
5042
5449
  min-width:var(--_kjun-extension-bottom-navigation-badge-minimum-size); min-height:var(--_kjun-extension-bottom-navigation-badge-minimum-size);
5043
5450
  padding:0 var(--_kjun-extension-bottom-navigation-badge-padding-x); border-radius:var(--_kjun-extension-bottom-navigation-badge-radius);
5044
- /* A filled count reads against the bar; the surface ring cuts it out of the icon strokes it overlaps. */
5045
- background:var(--_kjun-color-brand); color:var(--_kjun-color-on-brand);
5046
- box-shadow:0 0 0 var(--_kjun-border-control-width) var(--_kjun-color-surface);
5451
+ /* An alert colour apart from the selection; the surface ring cuts it out of the icon strokes it overlaps. */
5452
+ background:var(--_kjun-color-danger); color:var(--_kjun-color-on-danger);
5453
+ box-shadow:0 0 0 var(--_kjun-border-control-width) var(--_kjun-navigation-ring, var(--_kjun-color-surface));
5047
5454
  font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); font-weight:var(--_kjun-type-control-weight);
5455
+ font-variant-numeric:tabular-nums;
5048
5456
  }
5049
- .kjun-navigation-label > .kjun-navigation-badge { left:100%; margin-left:var(--_kjun-extension-bottom-navigation-badge-offset); }
5457
+ /* A dot sits on the icon's top-right corner. */
5458
+ .kjun-navigation-badge[data-dot] {
5459
+ top:0; inset-inline-start:calc(100% - var(--_kjun-extension-bottom-navigation-dot-size) + var(--_kjun-border-control-width));
5460
+ min-width:0; min-height:0; width:var(--_kjun-extension-bottom-navigation-dot-size); height:var(--_kjun-extension-bottom-navigation-dot-size); padding:0;
5461
+ }
5462
+ /* Without a surface the bar shows the page background, so the ring takes that colour instead. */
5463
+ .kjun-bottom-navigation[data-surface="false"] { --_kjun-navigation-ring: var(--_kjun-color-background); }
5464
+ /* The ring follows the fill under the badge, so hover and press do not show a surface-coloured halo. */
5465
+ @media (hover:hover) {
5466
+ .kjun-bottom-navigation > a:not([aria-disabled="true"]):hover, .kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):hover { --_kjun-navigation-ring: var(--_kjun-color-hover); }
5467
+ }
5468
+ .kjun-bottom-navigation > a:not([aria-disabled="true"]):active, .kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):active { --_kjun-navigation-ring: var(--_kjun-color-active); }
5469
+ /* Beside a text label the badge sits in the line after the text, so it takes room and never covers the next item. */
5470
+ .kjun-navigation-label > .kjun-navigation-badge {
5471
+ position:relative; top:auto; inset-inline-start:auto; display:inline-flex; vertical-align:middle;
5472
+ margin-inline-start:var(--_kjun-extension-bottom-navigation-badge-offset);
5473
+ }
5474
+ .kjun-navigation-label > .kjun-navigation-badge[data-dot] { vertical-align:top; }
5475
+ /* A capsule detached from the screen edge: icons only, the selected destination inverted. */
5476
+ .kjun-floating-navigation {
5477
+ /* More destinations than fit scroll inside the capsule instead of spilling out of it. */
5478
+ display:flex; flex-shrink:0; width:max-content; max-width:calc(100% - 2 * var(--_kjun-extension-floating-navigation-offset)); box-sizing:border-box;
5479
+ overflow-x:auto; scrollbar-width:none;
5480
+ margin:0 auto var(--_kjun-extension-floating-navigation-offset); padding:var(--_kjun-extension-floating-navigation-padding);
5481
+ gap:var(--_kjun-extension-floating-navigation-gap); border-radius:var(--_kjun-extension-floating-navigation-radius);
5482
+ background:var(--_kjun-color-surface); box-shadow:0 0 0 var(--_kjun-border-default-width) var(--_kjun-color-border), var(--_kjun-elevation-floating);
5483
+ }
5484
+ .kjun-floating-navigation > a {
5485
+ position:relative; display:flex; flex:none; align-items:center; justify-content:center; box-sizing:border-box;
5486
+ min-width:var(--_kjun-extension-floating-navigation-item-size); height:var(--_kjun-extension-floating-navigation-item-size);
5487
+ border-radius:var(--_kjun-extension-floating-navigation-radius); color:var(--_kjun-color-text-secondary); text-decoration:none; white-space:nowrap;
5488
+ font-size:var(--_kjun-type-control-size); line-height:var(--_kjun-type-control-line); font-weight:var(--_kjun-type-control-weight); letter-spacing:var(--_kjun-type-control-tracking);
5489
+ }
5490
+ .kjun-floating-navigation > a:has(> .kjun-navigation-label) { padding:0 var(--_kjun-extension-floating-navigation-text-padding-x); }
5491
+ .kjun-floating-navigation .kjun-navigation-icon { width:var(--_kjun-extension-floating-navigation-icon-size); height:var(--_kjun-extension-floating-navigation-icon-size); }
5492
+ .kjun-floating-navigation > a[aria-current] { background:var(--_kjun-color-text); color:var(--_kjun-color-surface); }
5493
+ .kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):active { background:var(--_kjun-color-active); }
5494
+ .kjun-floating-navigation > a[aria-current] { --_kjun-navigation-ring: var(--_kjun-color-text); }
5050
5495
  /* The query measures content width; outer insets are excluded. */
5051
5496
  .kjun-bottom-action-bar {
5052
5497
  container:kjun-bottom-action / inline-size; flex-shrink:0;
@@ -5079,7 +5524,7 @@
5079
5524
  .kjun-list-heading > div { flex:1; min-width:0; overflow-wrap:anywhere; }
5080
5525
  /* A title without a description labels the rows below as a small group header instead of floating above them. */
5081
5526
  .kjun-list-heading[data-bare] { padding-bottom:var(--_kjun-extension-list-bare-heading-padding-bottom); }
5082
- .kjun-list-heading[data-bare] h3 { font-size:var(--_kjun-type-control-small-size); line-height:var(--_kjun-type-control-small-line); font-weight:var(--_kjun-type-control-small-weight); letter-spacing:var(--_kjun-type-control-small-tracking); color:var(--_kjun-color-text-secondary); }
5527
+ .kjun-list-heading[data-bare] :is(h2,h3,h4) { font-size:var(--_kjun-type-control-small-size); line-height:var(--_kjun-type-control-small-line); font-weight:var(--_kjun-type-control-small-weight); letter-spacing:var(--_kjun-type-control-small-tracking); color:var(--_kjun-color-text-secondary); }
5083
5528
 
5084
5529
  /* KjunFab: a round action pinned to the viewport's bottom end, above page content and clear of the safe area. */
5085
5530
  .kjun-fab{position:fixed;right:var(--_kjun-extension-fab-inset);z-index:var(--_kjun-layer-page-navigation);display:inline-flex;align-items:center;justify-content:center;width:var(--_kjun-extension-fab-size);height:var(--_kjun-extension-fab-size);padding:0;border:0;border-radius:50%;background:var(--_kjun-color-brand);color:var(--_kjun-color-on-brand);box-shadow:var(--_kjun-elevation-floating);cursor:pointer}
@@ -5094,9 +5539,39 @@
5094
5539
  .kjun-list-section[data-radius] .kjun-list-main:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
5095
5540
  .kjun-list-row[data-destructive] .kjun-list-title{color:var(--_kjun-color-danger)}
5096
5541
  .kjun-list-chevron{flex-shrink:0;color:var(--_kjun-color-text-tertiary)}
5542
+ /* A value at the row's end reads one step below the title. */
5543
+ .kjun-list-trailing { color:var(--_kjun-color-text-secondary); }
5544
+ /* Korean wraps between words, never inside one. */
5545
+ .kjun-list-title, .kjun-list-description { word-break:keep-all; overflow-wrap:anywhere; }
5546
+ /* With a description the leading column covers the first two lines, so a long row keeps its icon beside the title. */
5547
+ .kjun-list-main:has(.kjun-list-description) > .kjun-list-leading { align-self:flex-start; height:calc(var(--_kjun-type-control-line) + var(--_kjun-extension-list-description-gap) + var(--_kjun-type-caption-line)); }
5548
+ .kjun-list-row[data-destructive] .kjun-list-icon { color:var(--_kjun-color-danger); }
5549
+ /* Pressable rows dim through :disabled; a static row (a switch or text) dims here so nothing in it reads as available. */
5550
+ .kjun-list-row[data-disabled] > div.kjun-list-main { opacity:var(--_kjun-state-opacity-disabled); }
5551
+ .kjun-list-check { flex-shrink:0; color:var(--_kjun-color-brand); }
5552
+ .kjun-list-main > .kjun-switch { flex-shrink:0; }
5553
+ /* Heading actions sit on the title line, not between the title and its description. */
5554
+ .kjun-list-heading { align-items:flex-start; }
5555
+ .kjun-list-heading-actions { display:flex; align-items:center; flex-shrink:0; min-height:var(--_kjun-type-card-title-line); }
5556
+ .kjun-list-heading[data-bare] .kjun-list-heading-actions { min-height:var(--_kjun-type-control-small-line); }
5557
+ /* A rounded section with a label title keeps the label and footer on the page, above and below its card. */
5558
+ .kjun-list-section[data-outside] { background:transparent; overflow:visible; }
5559
+ .kjun-list-section[data-outside] > .kjun-list-heading { padding-top:0; padding-bottom:var(--_kjun-extension-list-outside-label-gap); }
5560
+ .kjun-list-panel { background:var(--_kjun-color-surface); overflow:hidden; overflow:clip; }
5561
+ .kjun-list-panel[data-surface="false"] { background:transparent; }
5562
+ .kjun-list-section > .kjun-list-panel .kjun-list-main:focus-visible { outline-offset:var(--_kjun-state-focus-inset-offset); }
5563
+ .kjun-list-empty { padding:var(--_kjun-extension-list-padding); }
5564
+ .kjun-list-footer { padding:var(--_kjun-extension-list-footer-gap) var(--_kjun-extension-list-padding) var(--_kjun-extension-list-padding); font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); color:var(--_kjun-color-text-tertiary); overflow-wrap:anywhere; word-break:keep-all; }
5565
+ .kjun-list-section[data-outside] > .kjun-list-footer { padding-bottom:0; }
5566
+ /* KjunListGroup sets the spacing between its sections: rounded cards apart, or flush sections close together. */
5567
+ .kjun-list-group { display:flex; flex-direction:column; gap:var(--_kjun-extension-list-group-gap); min-width:0; }
5568
+ .kjun-list-group[data-variant="flush"] { gap:var(--_kjun-extension-list-flush-group-gap); }
5097
5569
  .kjun-list-item{padding:var(--_kjun-extension-list-padding);position:relative;min-width:0}
5098
5570
  .kjun-list[data-density=compact]>.kjun-list-item{padding-block:var(--_kjun-extension-list-compact-padding-y)}
5099
5571
 
5572
+ /* titleLines / descriptionLines clamp a row's text to a few lines with an ellipsis. */
5573
+ .kjun-list-title[data-clamp],.kjun-list-description[data-clamp]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
5574
+
5100
5575
  /* Compound fields share input geometry; buttons retain their own size contract. */
5101
5576
  .kjun-quantity,.kjun-time-picker {
5102
5577
  --_kjun-compound-height: var(--_kjun-geometry-input-md-height);
@@ -5145,10 +5620,12 @@
5145
5620
  .kjun-quantity .kjun-input:is(:focus,:focus-visible,[aria-invalid="true"]):not(:disabled) { outline:none; box-shadow:none; border-color:transparent; }
5146
5621
  .kjun-quantity input:is(:hover,:focus):not(:disabled) { background:var(--_kjun-color-hover); }
5147
5622
 
5148
- .kjun-time-picker { display:flex; align-items:center; border-radius:var(--_kjun-compound-radius); background:var(--_kjun-color-input-bg); }
5623
+ /* A time is a short fixed-length value, so the field hugs it; block stretches it like Input. */
5624
+ .kjun-time-picker { display:inline-flex; align-items:center; width:max-content; border-radius:var(--_kjun-compound-radius); background:var(--_kjun-color-input-bg); }
5625
+ .kjun-time-picker[data-block="true"] { display:flex; width:100%; }
5149
5626
  .kjun-time-picker:focus-within,.kjun-time-picker:has([aria-expanded="true"]) { outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset:var(--_kjun-state-focus-offset); }
5150
5627
  .kjun-time-segments { display:flex; align-items:center; flex:1; min-width:0; }
5151
- /* Segments hug their values so "09 : 30" stays together; leftover width collects before the clear button. */
5628
+ /* Segments hug their values so "09:30" stays together; in a block field leftover width collects before the trailing icon. */
5152
5629
  .kjun-time-segment { flex:0 0 auto; min-width:var(--_kjun-extension-time-picker-segment-minimum-width); }
5153
5630
  /* Same type as the segment values so "09 : 30" reads as one time. */
5154
5631
  .kjun-time-separator { flex:0 0 var(--_kjun-extension-time-picker-separator-width); text-align:center; font-size:var(--_kjun-type-input-size); line-height:var(--_kjun-type-input-line); color:var(--_kjun-color-text-secondary); }
@@ -5156,13 +5633,31 @@
5156
5633
  .kjun-time-picker[data-disabled="true"] .kjun-time-separator { color:var(--_kjun-color-text-disabled); }
5157
5634
  .kjun-time-picker [data-time-segment] { background:transparent; border-color:transparent; text-align:center; font-variant-numeric:tabular-nums; gap:var(--_kjun-extension-time-picker-segment-padding); padding-inline:var(--_kjun-extension-time-picker-segment-padding); }
5158
5635
  /* The first value starts on the field text line, like Input and DatePicker values. */
5159
- .kjun-time-segment:first-child [data-time-segment] { padding-inline-start:calc(var(--_kjun-compound-padding) - var(--_kjun-border-control-width)); }
5636
+ /* Its trailing room matches the centred gap of the other segments, so every colon sits midway between its values. */
5637
+ .kjun-time-segment:first-child [data-time-segment] {
5638
+ padding-inline:calc(var(--_kjun-compound-padding) - var(--_kjun-border-control-width)) calc((var(--_kjun-extension-time-picker-segment-minimum-width) - 2ch) / 2);
5639
+ }
5640
+ .kjun-time-segment:first-child [data-time-segment] > span { text-align:start; }
5160
5641
  /* Two digits wide, so the placeholder and the value occupy the same slot. */
5161
5642
  .kjun-time-picker [data-time-segment] > span { flex:0 0 auto; min-width:2ch; text-align:center; }
5162
- .kjun-time-picker [data-time-segment]:is(:hover,:focus-visible,[aria-expanded="true"]):not(:disabled) { background:var(--_kjun-color-hover); }
5643
+ .kjun-time-picker [data-time-segment]:is(:hover,:focus-visible):not(:disabled) { background:var(--_kjun-color-hover); }
5644
+ /* The segment whose list is open stays marked while the pointer moves into the list. */
5645
+ .kjun-time-picker [data-time-segment][aria-expanded="true"]:not(:disabled) { background:var(--_kjun-color-active); }
5646
+ /* A read-only time shows its value without the hover of a control that opens. */
5647
+ .kjun-time-picker[data-readonly] [data-time-segment] { cursor:default; }
5648
+ .kjun-time-picker[data-readonly] [data-time-segment]:is(:hover,:focus-visible):not(:disabled) { background:transparent; }
5649
+ /* The AM/PM word sits a separator's width from the hour instead of a ":". */
5650
+ .kjun-time-segment[data-period] + .kjun-time-segment, .kjun-time-segment + .kjun-time-segment[data-period] { margin-inline-start:var(--_kjun-extension-time-picker-separator-width); }
5163
5651
  /* Scoped like the Vue field ring it replaces (.kjun-scope .kjun-field:focus-visible); the group ring above is the only outline. */
5164
5652
  .kjun-scope .kjun-time-picker [data-time-segment]:is(:focus,:focus-visible,[aria-invalid="true"]) { outline:none; border-color:transparent; box-shadow:none; }
5165
5653
  .kjun-time-clear { flex:0 0 var(--_kjun-geometry-native-minimum-touch-target); width:var(--_kjun-geometry-native-minimum-touch-target); padding:0; }
5654
+ /* Without a value to clear (or while disabled) the trailing slot shows what the field holds. */
5655
+ .kjun-time-icon { display:flex; flex:0 0 var(--_kjun-geometry-native-minimum-touch-target); align-items:center; justify-content:center; color:var(--_kjun-color-text-tertiary); }
5656
+ .kjun-time-picker[data-disabled="true"] .kjun-time-icon { color:var(--_kjun-color-text-disabled); }
5657
+ /* Segment lists are as narrow as two digits: centred numbers, the selected one inverted, no check mark. */
5658
+ .kjun-select-panel.kjun-time-options { min-width:var(--_kjun-extension-time-picker-options-width); }
5659
+ .kjun-time-options .kjun-option { justify-content:center; padding-inline:0; font-variant-numeric:tabular-nums; }
5660
+ .kjun-time-options .kjun-option[aria-selected="true"] { background:var(--_kjun-color-text); color:var(--_kjun-color-surface); font-weight:var(--_kjun-type-control-weight); }
5166
5661
  @media (pointer:coarse) {
5167
5662
  .kjun-time-picker [data-time-segment],.kjun-time-picker .kjun-time-clear { min-height:var(--_kjun-geometry-native-minimum-touch-target); }
5168
5663
  }
@@ -5179,6 +5674,8 @@
5179
5674
  [data-variant="underline"] .kjun-tab-indicator { background: var(--_kjun-color-brand); border-radius: calc(var(--_kjun-extension-tabs-indicator-height) / 2); }
5180
5675
  .kjun-tabs-track .kjun-tab, .kjun-vue-tabs .kjun-tab { z-index: 1; background: transparent !important; }
5181
5676
  .kjun-tabs-track .kjun-tab::after, .kjun-vue-tabs .kjun-tab::after { display: none; }
5677
+ .kjun-tabs[data-variant="pills"] .kjun-tab { transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out), color var(--_kjun-motion-control) var(--_kjun-ease-out); }
5678
+ .kjun-bottom-navigation :is(.kjun-navigation-icon, .kjun-navigation-label)::before, .kjun-floating-navigation > a { transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out); }
5182
5679
  .kjun-accordion-trigger svg { transition: transform var(--_kjun-motion-collapse) var(--_kjun-ease-out); }
5183
5680
  .kjun-motion-collapse { overflow: hidden; }
5184
5681
  .kjun-scope[data-motion] { animation: none; }
@@ -5206,7 +5703,8 @@
5206
5703
  @keyframes kjun-tooltip-in { from { opacity: 0; } to { opacity: 1; } }
5207
5704
  @keyframes kjun-tooltip-out { from { opacity: 1; } to { opacity: 0; } }
5208
5705
  @media (prefers-reduced-motion: reduce) {
5209
- .kjun-tab-indicator[data-animate="true"], .kjun-accordion-trigger svg { transition: none; }
5706
+ .kjun-tab-indicator[data-animate="true"], .kjun-tabs[data-variant="pills"] .kjun-tab, .kjun-accordion-trigger svg,
5707
+ .kjun-bottom-navigation :is(.kjun-navigation-icon, .kjun-navigation-label)::before, .kjun-floating-navigation > a { transition: none; }
5210
5708
  .kjun-scope[data-motion], .kjun-scope[data-motion]::before, .kjun-scope[data-motion] .kjun-modal, .kjun-scope[data-motion] .kjun-drawer { transition: none !important; }
5211
5709
  .kjun-tooltip[data-entering], .kjun-tooltip[data-exiting] { animation-duration: 0s; }
5212
5710
  }
@@ -5354,3 +5852,307 @@
5354
5852
 
5355
5853
  /* 직계 폼 그룹은 자체 아래 여백 대신 부모 gap만 따른다. */
5356
5854
  :is([data-kjun-stack], [data-kjun-inline]) > .kjun-form-group { margin-bottom: 0; }
5855
+
5856
+ /* KjunCarousel: native horizontal scrolling that snaps to each slide's start edge. */
5857
+ .kjun-carousel {
5858
+ --_kjun-carousel-gap: var(--_kjun-geometry-space-inline-md);
5859
+ --_kjun-carousel-bleed: 0px;
5860
+ min-width: 0;
5861
+ max-width: 100%;
5862
+ }
5863
+ /* bleed: the scroller reaches into the page's side padding, and its own padding keeps the first slide on the content edge. */
5864
+ .kjun-carousel[data-bleed] {
5865
+ max-width: none;
5866
+ margin-inline: calc(-1 * var(--_kjun-carousel-bleed));
5867
+ }
5868
+ .kjun-carousel[data-bleed="sm"] {
5869
+ --_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-sm);
5870
+ }
5871
+ .kjun-carousel[data-bleed="md"] {
5872
+ --_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-md);
5873
+ }
5874
+ .kjun-carousel[data-bleed="lg"] {
5875
+ --_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-lg);
5876
+ }
5877
+ .kjun-carousel[data-bleed] > :not(.kjun-carousel-frame, .kjun-sr-only) {
5878
+ padding-inline: var(--_kjun-carousel-bleed);
5879
+ }
5880
+ .kjun-carousel[data-gap="none"] {
5881
+ --_kjun-carousel-gap: 0px;
5882
+ }
5883
+ .kjun-carousel[data-gap="sm"] {
5884
+ --_kjun-carousel-gap: var(--_kjun-geometry-space-inline-sm);
5885
+ }
5886
+ .kjun-carousel[data-gap="lg"] {
5887
+ --_kjun-carousel-gap: var(--_kjun-geometry-space-inline-lg);
5888
+ }
5889
+ .kjun-carousel-frame {
5890
+ position: relative;
5891
+ }
5892
+ .kjun-carousel-viewport {
5893
+ position: relative;
5894
+ display: flex;
5895
+ gap: var(--_kjun-carousel-gap);
5896
+ overflow-x: auto;
5897
+ overflow-y: hidden;
5898
+ overscroll-behavior-x: contain;
5899
+ scroll-snap-type: x mandatory;
5900
+ scrollbar-width: none;
5901
+ border-radius: inherit;
5902
+ padding-inline: var(--_kjun-carousel-bleed);
5903
+ scroll-padding-inline: var(--_kjun-carousel-bleed);
5904
+ }
5905
+ /* center: the current slide sits in the middle; with peek, the viewport padding shows a neighbour on each side. */
5906
+ .kjun-carousel[data-align="center"] .kjun-carousel-slide {
5907
+ scroll-snap-align: center;
5908
+ }
5909
+ .kjun-carousel[data-align="center"][data-size="peek"] .kjun-carousel-viewport {
5910
+ padding-inline: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-peek) + var(--_kjun-carousel-gap));
5911
+ }
5912
+ .kjun-carousel[data-align="center"][data-size="peek"] .kjun-carousel-slide {
5913
+ flex-basis: 100%;
5914
+ }
5915
+ .kjun-carousel-viewport::-webkit-scrollbar {
5916
+ display: none;
5917
+ }
5918
+ /* The ring goes on the frame, rounded like a card, so the scroller's clipping does not cut it square. */
5919
+ .kjun-carousel-viewport:focus-visible {
5920
+ outline: none;
5921
+ }
5922
+ .kjun-carousel-frame:has(> .kjun-carousel-viewport:focus-visible) {
5923
+ outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
5924
+ outline-offset: var(--_kjun-state-focus-offset);
5925
+ border-radius: var(--_kjun-extension-carousel-focus-radius);
5926
+ }
5927
+ .kjun-carousel-slide {
5928
+ flex: 0 0 100%;
5929
+ min-width: 0;
5930
+ scroll-snap-align: start;
5931
+ scroll-snap-stop: always;
5932
+ }
5933
+ .kjun-carousel[data-size="peek"] .kjun-carousel-slide {
5934
+ flex-basis: calc(100% - var(--_kjun-extension-carousel-peek) - var(--_kjun-carousel-gap));
5935
+ }
5936
+ .kjun-carousel[data-size="auto"] .kjun-carousel-slide {
5937
+ flex: 0 0 auto;
5938
+ scroll-snap-stop: normal;
5939
+ }
5940
+ .kjun-carousel-header {
5941
+ display: flex;
5942
+ align-items: center;
5943
+ justify-content: space-between;
5944
+ gap: var(--_kjun-extension-carousel-header-gap);
5945
+ margin-bottom: var(--_kjun-extension-carousel-header-gap);
5946
+ }
5947
+ .kjun-carousel-title {
5948
+ min-width: 0;
5949
+ margin: 0;
5950
+ color: var(--_kjun-color-text);
5951
+ }
5952
+ .kjun-carousel-header-controls {
5953
+ display: none;
5954
+ flex: none;
5955
+ gap: var(--_kjun-extension-carousel-header-controls-gap);
5956
+ }
5957
+ /* Side buttons float over the slide edges: a surface circle lifted by the floating elevation. */
5958
+ .kjun-carousel-frame > .kjun-carousel-control.kjun-button {
5959
+ position: absolute;
5960
+ top: 50%;
5961
+ display: none;
5962
+ background: var(--_kjun-color-surface);
5963
+ color: var(--_kjun-color-text);
5964
+ box-shadow: 0 0 0 var(--_kjun-border-default-width) var(--_kjun-color-border), var(--_kjun-elevation-floating);
5965
+ transform: translateY(-50%);
5966
+ opacity: 0;
5967
+ pointer-events: none;
5968
+ transition: opacity var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
5969
+ }
5970
+ .kjun-carousel-frame > .kjun-carousel-control.kjun-button:hover:not(:disabled) {
5971
+ background: var(--_kjun-color-hover);
5972
+ }
5973
+ .kjun-carousel-frame > .kjun-carousel-control.kjun-button:active:not(:disabled) {
5974
+ transform: translateY(-50%) scale(0.98);
5975
+ }
5976
+ .kjun-carousel-control[data-direction="previous"] {
5977
+ inset-inline-start: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
5978
+ }
5979
+ .kjun-carousel-control[data-direction="next"] {
5980
+ inset-inline-end: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
5981
+ }
5982
+ /* Touch screens swipe; buttons are for pointers that can hover. */
5983
+ @media (hover: hover) and (pointer: fine) {
5984
+ .kjun-carousel-header-controls,
5985
+ .kjun-carousel-frame > .kjun-carousel-control.kjun-button {
5986
+ display: flex;
5987
+ }
5988
+ .kjun-carousel-frame:is(:hover, :focus-within) > .kjun-carousel-control.kjun-button {
5989
+ opacity: 1;
5990
+ pointer-events: auto;
5991
+ }
5992
+ }
5993
+ .kjun-carousel-indicators {
5994
+ display: flex;
5995
+ justify-content: center;
5996
+ margin-top: calc(var(--_kjun-extension-carousel-indicator-offset) - (var(--_kjun-extension-carousel-indicator-press) - var(--_kjun-extension-carousel-indicator-size)) / 2);
5997
+ }
5998
+ .kjun-carousel-indicator {
5999
+ display: inline-flex;
6000
+ align-items: center;
6001
+ justify-content: center;
6002
+ width: var(--_kjun-extension-carousel-indicator-press-width);
6003
+ height: var(--_kjun-extension-carousel-indicator-press);
6004
+ padding: 0;
6005
+ border: 0;
6006
+ background: none;
6007
+ cursor: pointer;
6008
+ }
6009
+ .kjun-carousel-indicator::before {
6010
+ content: "";
6011
+ width: var(--_kjun-extension-carousel-indicator-size);
6012
+ height: var(--_kjun-extension-carousel-indicator-size);
6013
+ border-radius: var(--_kjun-geometry-radius-radius9999);
6014
+ background: var(--_kjun-color-border-strong);
6015
+ transition: width var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
6016
+ }
6017
+ .kjun-carousel-indicator[aria-current="true"]::before {
6018
+ width: var(--_kjun-extension-carousel-indicator-active-width);
6019
+ background: var(--_kjun-color-text);
6020
+ }
6021
+ .kjun-carousel-indicator:focus-visible {
6022
+ outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
6023
+ outline-offset: var(--_kjun-state-focus-offset);
6024
+ border-radius: var(--_kjun-geometry-radius-radius9999);
6025
+ }
6026
+ @media (prefers-reduced-motion: reduce) {
6027
+ .kjun-carousel-indicator::before,
6028
+ .kjun-carousel-frame > .kjun-carousel-control.kjun-button {
6029
+ transition: none;
6030
+ }
6031
+ }
6032
+ .kjun-carousel-count {
6033
+ display: flex;
6034
+ align-items: center;
6035
+ justify-content: center;
6036
+ height: var(--_kjun-extension-carousel-indicator-press);
6037
+ margin-top: calc(var(--_kjun-extension-carousel-indicator-offset) - (var(--_kjun-extension-carousel-indicator-press) - var(--_kjun-extension-carousel-indicator-size)) / 2);
6038
+ color: var(--_kjun-color-text-secondary);
6039
+ font-size: var(--_kjun-type-caption-size);
6040
+ line-height: var(--_kjun-type-caption-line);
6041
+ font-weight: var(--_kjun-type-caption-weight);
6042
+ font-variant-numeric: tabular-nums;
6043
+ }
6044
+ /* A mouse can drag the slides; while it does, snapping is off and text stays unselected. */
6045
+ @media (hover: hover) and (pointer: fine) {
6046
+ .kjun-carousel[data-mouse-drag] .kjun-carousel-viewport {
6047
+ cursor: grab;
6048
+ }
6049
+ }
6050
+ .kjun-carousel-viewport[data-dragging] {
6051
+ cursor: grabbing;
6052
+ user-select: none;
6053
+ }
6054
+ /* overlay: the position sits on the slides in a scrim pill, legible over any image. */
6055
+ .kjun-carousel-frame > :is(.kjun-carousel-indicators, .kjun-carousel-count) {
6056
+ position: absolute;
6057
+ bottom: var(--_kjun-extension-carousel-control-inset);
6058
+ height: var(--_kjun-extension-carousel-indicator-press);
6059
+ margin: 0;
6060
+ padding-inline: var(--_kjun-extension-carousel-overlay-padding-x);
6061
+ border-radius: var(--_kjun-geometry-radius-radius9999);
6062
+ background: var(--_kjun-color-overlay);
6063
+ color: var(--_kjun-color-inverse);
6064
+ }
6065
+ .kjun-carousel-frame > .kjun-carousel-indicators {
6066
+ left: 50%;
6067
+ transform: translateX(-50%);
6068
+ }
6069
+ .kjun-carousel-frame > .kjun-carousel-count {
6070
+ inset-inline-end: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
6071
+ }
6072
+ .kjun-carousel-frame > .kjun-carousel-indicators .kjun-carousel-indicator::before {
6073
+ background: color-mix(in srgb, var(--_kjun-color-inverse) 50%, transparent);
6074
+ }
6075
+ .kjun-carousel-frame > .kjun-carousel-indicators .kjun-carousel-indicator[aria-current="true"]::before {
6076
+ background: var(--_kjun-color-inverse);
6077
+ }
6078
+ /* Elements that act like buttons keep a pointer over a draggable carousel. */
6079
+ .kjun-carousel[data-mouse-drag] .kjun-carousel-viewport [role="button"] {
6080
+ cursor: pointer;
6081
+ }
6082
+
6083
+ /* Date fields open KJUN's calendar on every platform; the trigger is a Select-style field. */
6084
+ .kjun-date-trigger > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-variant-numeric: tabular-nums; }
6085
+ .kjun-calendar-panel { width: var(--_kjun-extension-calendar-width); max-width: calc(100vw - 2 * var(--_kjun-extension-floating-viewport-inset)); border-radius: var(--_kjun-extension-calendar-radius); padding: var(--_kjun-extension-calendar-padding); box-sizing: border-box; }
6086
+ .kjun-calendar { display: flex; flex-direction: column; color: var(--_kjun-color-text); }
6087
+ .kjun-calendar-head { display: flex; align-items: center; gap: var(--_kjun-extension-calendar-title-gap); min-height: var(--_kjun-extension-calendar-header-height); }
6088
+ /* The heading opens the month view; it reads larger than the days so the month leads. */
6089
+ .kjun-calendar-title {
6090
+ display: inline-flex; align-items: center; gap: var(--_kjun-extension-calendar-title-gap); margin-right: auto;
6091
+ height: var(--_kjun-extension-calendar-nav-size); padding: 0 var(--_kjun-geometry-dimension-value8); border: 0; border-radius: var(--_kjun-geometry-radius-radius10);
6092
+ background: transparent; color: var(--_kjun-color-text); cursor: pointer;
6093
+ font-size: var(--_kjun-type-card-title-size); line-height: var(--_kjun-type-card-title-line); font-weight: var(--_kjun-type-card-title-weight);
6094
+ }
6095
+ .kjun-calendar-title svg { color: var(--_kjun-color-text-tertiary); }
6096
+ .kjun-calendar-title:hover, .kjun-calendar-nav:hover:not(:disabled) { background: var(--_kjun-color-hover); }
6097
+ .kjun-calendar-nav {
6098
+ display: inline-flex; align-items: center; justify-content: center; flex: none;
6099
+ width: var(--_kjun-extension-calendar-nav-size); height: var(--_kjun-extension-calendar-nav-size); padding: 0; border: 0;
6100
+ border-radius: var(--_kjun-geometry-radius-radius10); background: transparent; color: var(--_kjun-color-text); cursor: pointer;
6101
+ }
6102
+ .kjun-calendar-nav:disabled { color: var(--_kjun-color-text-disabled); cursor: default; }
6103
+ .kjun-calendar-grid { display: grid; grid-template-columns: repeat(7, var(--_kjun-extension-calendar-day-size)); justify-content: space-between; row-gap: var(--_kjun-extension-calendar-row-gap); isolation: isolate; }
6104
+ .kjun-calendar-weekday {
6105
+ display: flex; align-items: center; justify-content: center; height: var(--_kjun-extension-calendar-weekday-height);
6106
+ font-size: var(--_kjun-type-meta-size); line-height: var(--_kjun-type-meta-line); font-weight: var(--_kjun-type-meta-weight); color: var(--_kjun-color-text-tertiary);
6107
+ }
6108
+ .kjun-calendar-weekday[data-sunday] { color: var(--_kjun-color-danger); }
6109
+ .kjun-calendar-day {
6110
+ position: relative; display: flex; align-items: center; justify-content: center;
6111
+ width: var(--_kjun-extension-calendar-day-size); height: var(--_kjun-extension-calendar-day-size); padding: 0; border: 0;
6112
+ border-radius: var(--_kjun-geometry-radius-radius9999); background: transparent; color: var(--_kjun-color-text); cursor: pointer;
6113
+ font-size: var(--_kjun-type-body-size); line-height: var(--_kjun-type-body-line); font-variant-numeric: tabular-nums;
6114
+ }
6115
+ .kjun-calendar-day[data-sunday]:not([data-outside]):not(:disabled, [aria-disabled="true"]) { color: var(--_kjun-color-danger); }
6116
+ .kjun-calendar-day[data-outside] { color: var(--_kjun-color-text-disabled); }
6117
+ .kjun-calendar-day:is(:disabled, [aria-disabled="true"]) { color: var(--_kjun-color-text-disabled); text-decoration: line-through; text-decoration-color: var(--_kjun-color-border-strong); cursor: default; }
6118
+ .kjun-calendar-day:hover:not(:disabled, [aria-disabled="true"]):not([data-selected]) { background: var(--_kjun-color-hover); }
6119
+ .kjun-calendar-day[data-today]:not([data-selected]) { box-shadow: inset 0 0 0 var(--_kjun-extension-calendar-today-ring) var(--_kjun-color-border-strong); font-weight: var(--_kjun-type-control-weight); }
6120
+ .kjun-calendar-day[data-selected] { background: var(--_kjun-color-brand); color: var(--_kjun-color-on-brand); font-weight: var(--_kjun-type-control-weight); }
6121
+ .kjun-calendar-day:focus-visible { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-offset); }
6122
+ /* A range joins its ends with a quiet band that runs under the days between them. */
6123
+ .kjun-calendar-day:is([data-in-range], [data-range-start], [data-range-end])::before {
6124
+ content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
6125
+ left: calc(0px - var(--_kjun-extension-calendar-range-bleed)); right: calc(0px - var(--_kjun-extension-calendar-range-bleed));
6126
+ background: var(--_kjun-color-brand-subtle-bg);
6127
+ }
6128
+ .kjun-calendar-day[data-range-start]::before { left: 50%; }
6129
+ .kjun-calendar-day[data-range-end]::before { right: 50%; }
6130
+ .kjun-calendar-day[data-range-start][data-range-end]::before { display: none; }
6131
+ .kjun-calendar-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--_kjun-extension-calendar-month-gap); margin-top: var(--_kjun-extension-calendar-month-gap); }
6132
+ .kjun-calendar-month {
6133
+ height: var(--_kjun-extension-calendar-month-height); border: 0; border-radius: var(--_kjun-extension-calendar-month-radius);
6134
+ background: transparent; color: var(--_kjun-color-text); cursor: pointer;
6135
+ font-size: var(--_kjun-type-label-size); line-height: var(--_kjun-type-label-line); font-weight: var(--_kjun-type-label-weight);
6136
+ }
6137
+ .kjun-calendar-month:hover:not(:disabled):not([data-selected]) { background: var(--_kjun-color-hover); }
6138
+ .kjun-calendar-month[data-current]:not([data-selected]) { box-shadow: inset 0 0 0 var(--_kjun-extension-calendar-today-ring) var(--_kjun-color-border-strong); }
6139
+ .kjun-calendar-month[data-selected] { background: var(--_kjun-color-brand); color: var(--_kjun-color-on-brand); font-weight: var(--_kjun-type-control-weight); }
6140
+ .kjun-calendar-month:disabled { color: var(--_kjun-color-text-disabled); cursor: default; }
6141
+ /* The year view reuses the month grid. */
6142
+ .kjun-calendar-month[data-year] { font-variant-numeric: tabular-nums; }
6143
+ /* Range presets are year-style chips that wrap above the days. */
6144
+ .kjun-calendar-presets { display: flex; flex-wrap: wrap; gap: var(--_kjun-extension-calendar-year-gap); margin-bottom: var(--_kjun-extension-calendar-footer-gap); }
6145
+ .kjun-calendar-presets .kjun-calendar-year { flex: none; padding: 0 var(--_kjun-geometry-dimension-value12); }
6146
+ .kjun-calendar-years { display: flex; gap: var(--_kjun-extension-calendar-year-gap); margin-top: var(--_kjun-extension-calendar-footer-gap); }
6147
+ .kjun-calendar-year {
6148
+ flex: 1; height: var(--_kjun-extension-calendar-year-height); padding: 0; border: 0; border-radius: var(--_kjun-geometry-radius-radius9999);
6149
+ background: var(--_kjun-color-secondary); color: var(--_kjun-color-text-secondary); cursor: pointer;
6150
+ font-size: var(--_kjun-type-label-size); line-height: var(--_kjun-type-label-line); font-weight: var(--_kjun-type-label-weight); font-variant-numeric: tabular-nums;
6151
+ }
6152
+ .kjun-calendar-year[aria-pressed="true"] { background: var(--_kjun-color-text); color: var(--_kjun-color-surface); }
6153
+ :is(.kjun-calendar-title, .kjun-calendar-nav, .kjun-calendar-month, .kjun-calendar-year):focus-visible { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-offset); }
6154
+ .kjun-calendar-foot {
6155
+ display: flex; align-items: center; justify-content: space-between; gap: var(--_kjun-extension-calendar-footer-gap);
6156
+ margin-top: var(--_kjun-extension-calendar-footer-gap); padding-top: var(--_kjun-extension-calendar-footer-gap);
6157
+ border-top: var(--_kjun-border-default-width) solid var(--_kjun-color-divider);
6158
+ }