@nurihaus/web-design-system 3.9.3 → 3.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/README.md +2 -0
  2. package/dist/.storybook/migration.d.ts +1 -0
  3. package/dist/.storybook/usage.d.ts +23 -0
  4. package/dist/agreement.js +1110 -0
  5. package/dist/ai/components.md +3504 -250
  6. package/dist/ai/motion.md +58 -6
  7. package/dist/ai/tokens.md +53 -25
  8. package/dist/alphabet-keypad.js +446 -0
  9. package/dist/asset.js +47 -5
  10. package/dist/avatar.js +50 -8
  11. package/dist/bar-chart.js +478 -0
  12. package/dist/board-row.js +379 -0
  13. package/dist/border.js +223 -0
  14. package/dist/bottom-cta.js +378 -0
  15. package/dist/bottom-info.js +253 -0
  16. package/dist/bottom-nav.js +12 -64
  17. package/dist/bottom-sheet.js +608 -0
  18. package/dist/check-box.js +29 -162
  19. package/dist/chip-group.js +2 -2
  20. package/dist/{chunk-5589.js → chunk-1657.js} +2 -34
  21. package/dist/{chunk-9387.js → chunk-1768.js} +2 -2
  22. package/dist/chunk-1983.js +37 -1
  23. package/dist/chunk-2046.js +73 -0
  24. package/dist/chunk-2060.js +34 -0
  25. package/dist/chunk-2308.js +184 -0
  26. package/dist/chunk-2777.js +1 -0
  27. package/dist/chunk-3091.js +54 -0
  28. package/dist/chunk-4109.js +115 -0
  29. package/dist/chunk-4205.js +47 -0
  30. package/dist/chunk-4324.js +109 -0
  31. package/dist/chunk-4328.js +69 -0
  32. package/dist/chunk-4558.js +5 -116
  33. package/dist/chunk-4917.js +1 -1
  34. package/dist/chunk-5670.js +1 -29
  35. package/dist/chunk-6096.js +176 -0
  36. package/dist/{chunk-8377.js → chunk-6149.js} +2 -36
  37. package/dist/chunk-6478.js +155 -0
  38. package/dist/chunk-6499.js +39 -0
  39. package/dist/chunk-6616.js +84 -0
  40. package/dist/chunk-674.js +133 -0
  41. package/dist/chunk-7024.js +152 -0
  42. package/dist/chunk-7232.js +122 -0
  43. package/dist/chunk-7298.js +1 -1
  44. package/dist/chunk-7589.js +40 -0
  45. package/dist/chunk-7593.js +85 -0
  46. package/dist/chunk-7653.js +16 -0
  47. package/dist/chunk-7737.js +21 -0
  48. package/dist/chunk-7739.js +1 -5
  49. package/dist/chunk-829.js +38 -0
  50. package/dist/chunk-8491.js +43 -0
  51. package/dist/chunk-8787.js +0 -180
  52. package/dist/chunk-8982.js +186 -0
  53. package/dist/chunk-910.js +1 -1
  54. package/dist/chunk-9497.js +11 -1
  55. package/dist/collapsible-menu.js +3 -3
  56. package/dist/components/agreement/agreement-props.d.ts +44 -0
  57. package/dist/components/agreement/agreement-type.d.ts +107 -0
  58. package/dist/components/agreement/agreement.d.ts +26 -0
  59. package/dist/components/agreement/agreement.stories.d.ts +72 -0
  60. package/dist/components/agreement/base-agreement.d.ts +40 -0
  61. package/dist/components/asset/asset-type.d.ts +34 -1
  62. package/dist/components/asset/asset.d.ts +9 -7
  63. package/dist/components/asset/asset.stories.d.ts +11 -5
  64. package/dist/components/asset/base-asset.d.ts +5 -1
  65. package/dist/components/bar-chart/bar-chart-fill.d.ts +6 -0
  66. package/dist/components/bar-chart/bar-chart-props.d.ts +17 -0
  67. package/dist/components/bar-chart/bar-chart-type.d.ts +52 -0
  68. package/dist/components/bar-chart/bar-chart.d.ts +4 -0
  69. package/dist/components/bar-chart/bar-chart.stories.d.ts +65 -0
  70. package/dist/components/bar-chart/base-bar-chart.d.ts +17 -0
  71. package/dist/components/board-row/base-board-row.d.ts +13 -0
  72. package/dist/components/board-row/board-row-props.d.ts +2 -0
  73. package/dist/components/board-row/board-row-type.d.ts +22 -0
  74. package/dist/components/board-row/board-row.d.ts +8 -0
  75. package/dist/components/board-row/board-row.stories.d.ts +32 -0
  76. package/dist/components/border/base-border.d.ts +4 -0
  77. package/dist/components/border/border-props.d.ts +10 -0
  78. package/dist/components/border/border-type.d.ts +7 -0
  79. package/dist/components/border/border.d.ts +5 -0
  80. package/dist/components/border/border.stories.d.ts +19 -0
  81. package/dist/components/bottom-cta/base-bottom-cta.d.ts +4 -0
  82. package/dist/components/bottom-cta/bottom-cta-props.d.ts +10 -0
  83. package/dist/components/bottom-cta/bottom-cta-type.d.ts +39 -0
  84. package/dist/components/bottom-cta/bottom-cta.d.ts +35 -0
  85. package/dist/components/bottom-cta/bottom-cta.stories.d.ts +79 -0
  86. package/dist/components/bottom-info/base-bottom-info.d.ts +4 -0
  87. package/dist/components/bottom-info/bottom-info-props.d.ts +1 -0
  88. package/dist/components/bottom-info/bottom-info-type.d.ts +6 -0
  89. package/dist/components/bottom-info/bottom-info.d.ts +4 -0
  90. package/dist/components/bottom-info/bottom-info.stories.d.ts +22 -0
  91. package/dist/components/bottom-sheet/base-bottom-sheet.d.ts +17 -0
  92. package/dist/components/bottom-sheet/bottom-sheet-props.d.ts +1 -0
  93. package/dist/components/bottom-sheet/bottom-sheet-snap.d.ts +15 -0
  94. package/dist/components/bottom-sheet/bottom-sheet-type.d.ts +55 -0
  95. package/dist/components/bottom-sheet/bottom-sheet.d.ts +4 -0
  96. package/dist/components/bottom-sheet/bottom-sheet.stories.d.ts +47 -0
  97. package/dist/components/check-box/check-box-type.d.ts +3 -0
  98. package/dist/components/core/composer/index.d.ts +2 -0
  99. package/dist/components/elements/text/text-props.d.ts +1 -0
  100. package/dist/components/empty-state/empty-state-props.d.ts +5 -3
  101. package/dist/components/empty-state/empty-state-type.d.ts +17 -5
  102. package/dist/components/empty-state/empty-state.d.ts +8 -3
  103. package/dist/components/empty-state/empty-state.stories.d.ts +299 -7
  104. package/dist/components/grid-list/base-grid-list.d.ts +10 -0
  105. package/dist/components/grid-list/grid-list-props.d.ts +11 -0
  106. package/dist/components/grid-list/grid-list-type.d.ts +24 -0
  107. package/dist/components/grid-list/grid-list.d.ts +6 -0
  108. package/dist/components/grid-list/grid-list.stories.d.ts +30 -0
  109. package/dist/components/highlight/base-highlight.d.ts +14 -0
  110. package/dist/components/highlight/highlight-props.d.ts +2 -0
  111. package/dist/components/highlight/highlight-type.d.ts +42 -0
  112. package/dist/components/highlight/highlight.d.ts +4 -0
  113. package/dist/components/highlight/highlight.stories.d.ts +31 -0
  114. package/dist/components/icon/icon-paths.d.ts +16 -0
  115. package/dist/components/icon/icon.stories.d.ts +1 -1
  116. package/dist/components/icon-button/icon-button-type.d.ts +2 -0
  117. package/dist/components/icon-button/icon-button.stories.d.ts +2 -0
  118. package/dist/components/keypad/alphabet-keypad.d.ts +4 -0
  119. package/dist/components/keypad/alphabet-keypad.stories.d.ts +24 -0
  120. package/dist/components/keypad/base-keypad.d.ts +6 -0
  121. package/dist/components/keypad/full-secure-keypad.d.ts +4 -0
  122. package/dist/components/keypad/full-secure-keypad.stories.d.ts +26 -0
  123. package/dist/components/keypad/keypad-layout.d.ts +16 -0
  124. package/dist/components/keypad/keypad-props.d.ts +16 -0
  125. package/dist/components/keypad/keypad-type.d.ts +66 -0
  126. package/dist/components/keypad/number-keypad.d.ts +4 -0
  127. package/dist/components/keypad/number-keypad.stories.d.ts +26 -0
  128. package/dist/components/keypad/use-keypad-decoys.d.ts +10 -0
  129. package/dist/components/list/base-list.d.ts +3 -0
  130. package/dist/components/list/list-footer.d.ts +5 -0
  131. package/dist/components/list/list-footer.stories.d.ts +304 -0
  132. package/dist/components/list/list-group.d.ts +1 -1
  133. package/dist/components/list/list-group.stories.d.ts +2 -0
  134. package/dist/components/list/list-header.d.ts +5 -0
  135. package/dist/components/list/list-header.stories.d.ts +302 -0
  136. package/dist/components/list/list-props.d.ts +33 -1
  137. package/dist/components/list/list-row.d.ts +5 -4
  138. package/dist/components/list/list-row.stories.d.ts +15 -1
  139. package/dist/components/list/list-type.d.ts +44 -2
  140. package/dist/components/logging/logging-type.d.ts +1 -1
  141. package/dist/components/menu/base-menu.d.ts +21 -0
  142. package/dist/components/menu/menu-props.d.ts +2 -0
  143. package/dist/components/menu/menu-type.d.ts +70 -0
  144. package/dist/components/menu/menu.d.ts +8 -0
  145. package/dist/components/menu/menu.stories.d.ts +54 -0
  146. package/dist/components/message/message.stories.d.ts +4 -4
  147. package/dist/components/notice/notice.stories.d.ts +1 -1
  148. package/dist/components/numeric-spinner/base-numeric-spinner.d.ts +8 -0
  149. package/dist/components/numeric-spinner/numeric-spinner-props.d.ts +5 -0
  150. package/dist/components/numeric-spinner/numeric-spinner-type.d.ts +29 -0
  151. package/dist/components/numeric-spinner/numeric-spinner.d.ts +4 -0
  152. package/dist/components/numeric-spinner/numeric-spinner.stories.d.ts +36 -0
  153. package/dist/components/overlay/overlay-context.d.ts +10 -0
  154. package/dist/components/overlay/overlay-provider.d.ts +1 -1
  155. package/dist/components/overlay/overlay-type.d.ts +23 -0
  156. package/dist/components/overlay/overlay.d.ts +2 -1
  157. package/dist/components/overlay/overlay.stories.d.ts +2 -0
  158. package/dist/components/overlay/use-bottom-sheet.d.ts +3 -0
  159. package/dist/components/paragraph/base-paragraph.d.ts +14 -0
  160. package/dist/components/paragraph/paragraph-props.d.ts +25 -0
  161. package/dist/components/paragraph/paragraph-type.d.ts +33 -0
  162. package/dist/components/paragraph/paragraph.d.ts +9 -0
  163. package/dist/components/paragraph/paragraph.stories.d.ts +54 -0
  164. package/dist/components/post/base-post.d.ts +19 -0
  165. package/dist/components/post/post-props.d.ts +31 -0
  166. package/dist/components/post/post-type.d.ts +34 -0
  167. package/dist/components/post/post.d.ts +16 -0
  168. package/dist/components/post/post.stories.d.ts +35 -0
  169. package/dist/components/rating/base-rating.d.ts +11 -0
  170. package/dist/components/rating/rating-props.d.ts +11 -0
  171. package/dist/components/rating/rating-type.d.ts +46 -0
  172. package/dist/components/rating/rating.d.ts +4 -0
  173. package/dist/components/rating/rating.stories.d.ts +35 -0
  174. package/dist/components/search-field/base-search-field.d.ts +4 -0
  175. package/dist/components/search-field/search-field-props.d.ts +2 -0
  176. package/dist/components/search-field/search-field-type.d.ts +25 -0
  177. package/dist/components/search-field/search-field.d.ts +8 -0
  178. package/dist/components/search-field/search-field.stories.d.ts +39 -0
  179. package/dist/components/segmented-control/base-segmented-control.d.ts +8 -0
  180. package/dist/components/segmented-control/segmented-control-props.d.ts +5 -0
  181. package/dist/components/segmented-control/segmented-control-type.d.ts +31 -0
  182. package/dist/components/segmented-control/segmented-control.d.ts +4 -0
  183. package/dist/components/segmented-control/segmented-control.stories.d.ts +39 -0
  184. package/dist/components/skeleton/skeleton.stories.d.ts +2 -2
  185. package/dist/components/slider/base-slider.d.ts +13 -0
  186. package/dist/components/slider/slider-props.d.ts +10 -0
  187. package/dist/components/slider/slider-type.d.ts +46 -0
  188. package/dist/components/slider/slider.d.ts +4 -0
  189. package/dist/components/slider/slider.stories.d.ts +38 -0
  190. package/dist/components/split-text-field/base-split-text-field.d.ts +4 -0
  191. package/dist/components/split-text-field/split-text-field-props.d.ts +23 -0
  192. package/dist/components/split-text-field/split-text-field-type.d.ts +46 -0
  193. package/dist/components/split-text-field/split-text-field.d.ts +7 -0
  194. package/dist/components/split-text-field/split-text-field.stories.d.ts +38 -0
  195. package/dist/components/table-row/base-table-row.d.ts +4 -0
  196. package/dist/components/table-row/table-row-props.d.ts +14 -0
  197. package/dist/components/table-row/table-row-type.d.ts +13 -0
  198. package/dist/components/table-row/table-row.d.ts +5 -0
  199. package/dist/components/table-row/table-row.stories.d.ts +24 -0
  200. package/dist/components/text-button/base-text-button.d.ts +3 -0
  201. package/dist/components/text-button/text-button-props.d.ts +19 -0
  202. package/dist/components/text-button/text-button-type.d.ts +17 -0
  203. package/dist/components/text-button/text-button.d.ts +5 -0
  204. package/dist/components/text-button/text-button.stories.d.ts +47 -0
  205. package/dist/components/text-field/text-field-type.d.ts +2 -1
  206. package/dist/components/toast/toast.stories.d.ts +2 -2
  207. package/dist/components/top/base-top.d.ts +4 -0
  208. package/dist/components/top/top-props.d.ts +12 -0
  209. package/dist/components/top/top-type.d.ts +20 -0
  210. package/dist/components/top/top.d.ts +5 -0
  211. package/dist/components/top/top.stories.d.ts +320 -0
  212. package/dist/components.css +2221 -116
  213. package/dist/cta-button.js +11 -9
  214. package/dist/drawer.js +18 -113
  215. package/dist/drop-down.js +4 -4
  216. package/dist/empty-state.js +16 -7
  217. package/dist/full-secure-keypad.js +524 -0
  218. package/dist/grid-list.js +378 -0
  219. package/dist/helpers/hooks/useIndicatorPosition.d.ts +7 -0
  220. package/dist/helpers/hooks/useKeyboardInset.d.ts +5 -0
  221. package/dist/helpers/hooks/useScrollStart.d.ts +9 -0
  222. package/dist/helpers/motion/use-reveal-children.d.ts +6 -0
  223. package/dist/helpers/types/propsDef.d.ts +4 -2
  224. package/dist/highlight.js +492 -0
  225. package/dist/icon-button.js +53 -96
  226. package/dist/icon-text-badge.js +5 -3
  227. package/dist/icon-text-option-badge.js +4 -2
  228. package/dist/index.d.ts +52 -4
  229. package/dist/index.js +11495 -4918
  230. package/dist/list-footer.js +339 -0
  231. package/dist/list-group.js +61 -18
  232. package/dist/list-header.js +293 -0
  233. package/dist/list-row.js +243 -26
  234. package/dist/loading.js +7 -5
  235. package/dist/media-thumbnail.js +6 -6
  236. package/dist/menu.js +527 -0
  237. package/dist/message-composer.js +2 -2
  238. package/dist/modal-with-double-button.js +17 -13
  239. package/dist/modal.js +9 -7
  240. package/dist/notice.js +14 -12
  241. package/dist/number-keypad.js +436 -0
  242. package/dist/numeric-spinner.js +396 -0
  243. package/dist/option-badge.js +5 -3
  244. package/dist/overlay.js +555 -21
  245. package/dist/pagination.js +2 -2
  246. package/dist/paragraph.js +286 -0
  247. package/dist/post.js +568 -0
  248. package/dist/radio.js +5 -3
  249. package/dist/rating.js +437 -0
  250. package/dist/scripts/usage-doc.d.mts +83 -0
  251. package/dist/search-field.js +516 -0
  252. package/dist/segmented-control.js +409 -0
  253. package/dist/skeleton-group.js +28 -151
  254. package/dist/skeleton.js +3 -1
  255. package/dist/slider.js +419 -0
  256. package/dist/split-text-field.js +498 -0
  257. package/dist/styles.css +1926 -159
  258. package/dist/switch.js +5 -3
  259. package/dist/table-row.js +284 -0
  260. package/dist/tabs.js +13 -69
  261. package/dist/text-area.js +7 -5
  262. package/dist/text-button.js +357 -0
  263. package/dist/text-field.js +47 -204
  264. package/dist/text.js +5 -7
  265. package/dist/toast.js +15 -13
  266. package/dist/tokens.css +66 -10
  267. package/dist/tooltip.js +2 -2
  268. package/dist/top.js +312 -0
  269. package/package.json +107 -2
  270. package/dist/chunk-3839.js +0 -54
package/dist/styles.css CHANGED
@@ -316,6 +316,15 @@
316
316
  --modal-width-m: 450px;
317
317
  --modal-width-l: 500px;
318
318
 
319
+ /* 아래 시트(BottomSheet): 손잡이 크기와 가장 큰 높이. 위 8% 는 시트 뒤 화면이 보이게 남긴다 */
320
+ --sheet-handle-width: 40px;
321
+ --sheet-handle-height: 4px;
322
+ --sheet-max-height: 92dvh; /* raw-value */
323
+ /* 행동 메뉴(Menu) 목록의 가장 좁은 폭 */
324
+ --menu-min-width: 180px;
325
+ /* 코치마크(Highlight) 메시지 상자의 가장 넓은 폭 */
326
+ --highlight-message-max-width: 280px;
327
+
319
328
  /* 하단 탭 바: 화면 아래에 떠 있는 유리 캡슐. 화면은 아래를 --bottom-nav-space(+ 안전 영역)만큼 비운다 */
320
329
  --bottom-nav-height: 62px;
321
330
  --bottom-nav-padding: 5px;
@@ -342,13 +351,24 @@
342
351
  --progress-thickness-m: 4px;
343
352
  --progress-thickness-l: 8px;
344
353
 
354
+ /* 막대 차트: bar-chart. 높이는 라벨까지 포함한 차트 전체, 막대 폭은 칸이 넓어도 이 값을 넘지 않는다 */
355
+ --bar-chart-height: 160px;
356
+ --bar-chart-bar-max-width: 32px;
357
+
345
358
  /* 진행 단계 둥근 표시: step-progress variant='icon'. 안의 아이콘은 --icon-size-* */
346
359
  --step-marker-size-s: 24px;
347
360
  --step-marker-size-m: 32px;
348
361
  --step-marker-size-l: 40px;
349
362
 
350
- /* 목록 행: list-row. 한 줄 이름에 보조 글이 붙어도 이 높이부터 */
351
- --list-row-height: 56px;
363
+ /* 목록 행: list-row 의 size. 한 줄 이름에 보조 글이 붙어도 이 높이부터. s 는 ListFooter 의 높이 */
364
+ --list-row-height-s: 48px;
365
+ --list-row-height-m: 56px;
366
+ --list-row-height-l: 64px;
367
+ /* size 가 생기기 전 이름. 쓰는 쪽 CSS 가 읽고 있어 m 을 가리킨 채 둔다 */
368
+ --list-row-height: var(--list-row-height-m);
369
+
370
+ /* 구분 띠: border variant='section'. 화면 안 두 덩어리 사이의 회색 띠 두께 */
371
+ --border-section-height: 8px;
352
372
 
353
373
  /* 손가락 터치 영역. 보이는 크기가 작은 버튼(아이콘 버튼·빼기·보내기)이 이만큼 눌린다 */
354
374
  --touch-target: 44px;
@@ -370,12 +390,48 @@
370
390
  --icon-button-size-m: 44px;
371
391
  --icon-button-size-l: 56px;
372
392
 
393
+ /* 글자 버튼: text-button. 보이는 높이는 컨트롤 한 단계 아래(글자 sm·base·lg 에 맞춘다). 누르는 자리는 --touch-target */
394
+ --text-button-height-s: var(--control-height-xs);
395
+ --text-button-height-m: var(--control-height-s);
396
+ --text-button-height-l: var(--control-height-m);
397
+
373
398
  /* 입력 상자 안 버튼: text-field·text-area 의 지우기·비밀번호 보기. 아이콘 s 와 같고 누르는 자리는 --touch-target */
374
399
  --text-field-action-size: var(--icon-size-s);
375
400
 
401
+ /* 화면 아래 주 버튼 바: bottom-cta. 높이 최소값은 버튼(control xl) + 위 여백 12 + 아래 여백 20 이다.
402
+ takeSpace 자리가 바를 재기 전에 이 높이로 잡히고, 바를 직접 비우는 화면도 이 값을 읽는다 */
403
+ --bottom-cta-height-min: calc(var(--control-height-xl) + var(--spacing-12) + var(--spacing-20));
404
+ /* fixed 바 위에 얹는, 바탕색으로 녹아드는 띠의 높이 */
405
+ --bottom-cta-fade-height: 24px;
406
+
376
407
  /* 빈 화면: empty-state 아이콘 원 */
377
408
  --empty-state-icon-box: 64px;
378
409
 
410
+ /* 약관 동의 행: agreement 의 size 와 indent 한 단계 */
411
+ --agreement-row-height-s: 44px;
412
+ --agreement-row-height-m: 52px;
413
+ --agreement-row-height-l: 60px;
414
+ --agreement-indent: 24px;
415
+
416
+ /* 뷰 전환 칸 묶음: segmented-control. 바탕 판의 높이(안쪽 여백 포함). s 는 카드·시트 안, m 은 화면 위 */
417
+ --segmented-height-s: 32px;
418
+ --segmented-height-m: 40px;
419
+
420
+ /* 슬라이더: slider. 트랙 두께와 손잡이 지름 */
421
+ --slider-track-thickness: 4px;
422
+ --slider-thumb-size: 24px;
423
+
424
+ /* 두 칸 숫자 입력: split-text-field. RRNFirst7 의 성별 한 자리 칸 폭(숫자 하나 + 여유) */
425
+ --split-text-field-digit-width: 2ch;
426
+
427
+ /* 화면 자판: keypad 의 키 높이. 손가락 터치(44) 보다 조금 크게 둔다 */
428
+ --keypad-key-height: 48px;
429
+
430
+
431
+ /* 문단 줄 안 조각: paragraph. 아이콘은 글자 크기를 따른다.
432
+ 뱃지는 20px 이되 줄 높이(1lh, 문단의 것을 물려받는다)를 넘지 않는다. xsm·sm(18px 줄)에서 줄 간격이 벌어지지 않게 한다 */
433
+ --inline-icon-size: 1em;
434
+ --inline-badge-height: min(20px, 1lh);
379
435
 
380
436
  /* 그 밖의 치수 */
381
437
  --icon-size-xs: 16px;
@@ -749,12 +805,12 @@
749
805
  --icon-tertiary: var(--color-grey-scale-300);
750
806
  --icon-disabled: var(--color-grey-scale-600);
751
807
  --icon-brand: var(--color-purple-300);
752
- --border-subtle: var(--color-grey-scale-800);
753
- --border-default: var(--color-grey-scale-700);
754
- --border-hover: var(--color-grey-scale-600);
808
+ --border-subtle: var(--color-grey-scale-700);
809
+ --border-default: var(--color-grey-scale-600);
810
+ --border-hover: var(--color-grey-scale-500);
755
811
  --border-accent: var(--color-purple-400);
756
812
  --border-error: var(--color-accent-red-400);
757
- --border-disabled: var(--color-grey-scale-800);
813
+ --border-disabled: var(--color-grey-scale-700);
758
814
  --focus-ring-color: var(--color-purple-400);
759
815
  --focus-halo-color: var(--color-purple-900);
760
816
  --focus-halo-error-color: var(--color-accent-red-900);
@@ -867,12 +923,12 @@
867
923
  --icon-tertiary: var(--color-grey-scale-300);
868
924
  --icon-disabled: var(--color-grey-scale-600);
869
925
  --icon-brand: var(--color-purple-300);
870
- --border-subtle: var(--color-grey-scale-800);
871
- --border-default: var(--color-grey-scale-700);
872
- --border-hover: var(--color-grey-scale-600);
926
+ --border-subtle: var(--color-grey-scale-700);
927
+ --border-default: var(--color-grey-scale-600);
928
+ --border-hover: var(--color-grey-scale-500);
873
929
  --border-accent: var(--color-purple-400);
874
930
  --border-error: var(--color-accent-red-400);
875
- --border-disabled: var(--color-grey-scale-800);
931
+ --border-disabled: var(--color-grey-scale-700);
876
932
  --focus-ring-color: var(--color-purple-400);
877
933
  --focus-halo-color: var(--color-purple-900);
878
934
  --focus-halo-error-color: var(--color-accent-red-900);
@@ -1192,6 +1248,11 @@ p {
1192
1248
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
1193
1249
  outline-offset: var(--focus-ring-offset);
1194
1250
  }
1251
+ /* 포커스를 보이지 않는 입력이 받는 컴포넌트(Rating 의 range)는 그 입력을 바로 감싼 요소에 링을 그린다 */
1252
+ :where(.nuri-theme):has(> [data-focus-proxy]:focus-visible) {
1253
+ outline: var(--focus-ring-width) solid var(--focus-ring-color);
1254
+ outline-offset: var(--focus-ring-offset);
1255
+ }
1195
1256
  /* 공용 키프레임. 컴포넌트 CSS 보다 앞에 둔다 */
1196
1257
  /*
1197
1258
  * 공용 키프레임. 컴포넌트 CSS 는 @keyframes 를 두지 않고 이 이름을 쓴다(빌드 R18).
@@ -1545,6 +1606,227 @@ p {
1545
1606
  var(--motion-busy-delay) backwards;
1546
1607
  }
1547
1608
  /* Component */
1609
+ .base-agreement:where(.row) {
1610
+ display: flex;
1611
+ align-items: center;
1612
+ box-sizing: border-box;
1613
+ width: 100%;
1614
+ color: var(--text-primary);
1615
+ }
1616
+ .base-agreement:where(.pressable) {
1617
+ cursor: var(--cursor-button);
1618
+ -webkit-tap-highlight-color: transparent;
1619
+ }
1620
+ .base-agreement:where(.group) {
1621
+ position: relative;
1622
+ display: flex;
1623
+ flex-direction: column;
1624
+ }
1625
+ .base-agreement:where(.checkbox-control) {
1626
+ flex: none;
1627
+ padding: 0;
1628
+ cursor: var(--cursor-button);
1629
+ }
1630
+ .base-agreement[data-disabled]:where(.checkbox-control) {
1631
+ cursor: var(--cursor-disabled);
1632
+ }
1633
+ /***************************************************************************************************
1634
+ * *
1635
+ * agreement *
1636
+ * *
1637
+ ***************************************************************************************************/
1638
+ /* 크기는 변수로 내린다. Header 는 바깥 div 가 size 클래스를 들고 안쪽 행이 물려받는다 */
1639
+ .size-s:where(.agreement,.agreement-header) {
1640
+ --agreement-row-height: var(--agreement-row-height-s);
1641
+ --agreement-control-size: var(--checkbox-size-s);
1642
+ --agreement-font-size: var(--font-size-sm);
1643
+ --agreement-line-height: var(--line-height-sm);
1644
+ }
1645
+ .size-m:where(.agreement,.agreement-header) {
1646
+ --agreement-row-height: var(--agreement-row-height-m);
1647
+ --agreement-control-size: var(--checkbox-size-m);
1648
+ --agreement-font-size: var(--font-size-base);
1649
+ --agreement-line-height: var(--line-height-base);
1650
+ }
1651
+ .size-l:where(.agreement,.agreement-header) {
1652
+ --agreement-row-height: var(--agreement-row-height-l);
1653
+ --agreement-control-size: var(--checkbox-size-l);
1654
+ --agreement-font-size: var(--font-size-lg);
1655
+ --agreement-line-height: var(--line-height-lg);
1656
+ }
1657
+ /* 전체 동의는 같은 size 의 행보다 글자가 한 단계 크다 */
1658
+ .agreement-header.size-s {
1659
+ --agreement-font-size: var(--font-size-base);
1660
+ --agreement-line-height: var(--line-height-base);
1661
+ }
1662
+ .agreement-header.size-m {
1663
+ --agreement-font-size: var(--font-size-lg);
1664
+ --agreement-line-height: var(--line-height-lg);
1665
+ }
1666
+ .agreement-header.size-l {
1667
+ --agreement-font-size: var(--font-size-xl);
1668
+ --agreement-line-height: var(--line-height-xl);
1669
+ }
1670
+ .agreement-header .agreement-text-title {
1671
+ font-weight: var(--font-weight-bold);
1672
+ }
1673
+ /* 들여쓰기는 행 자신의 단계(indent)와 IndentPushable.Content 가 밀어 넣은 한 단계를 더한다 */
1674
+ .agreement {
1675
+ gap: var(--spacing-12);
1676
+ min-height: var(--agreement-row-height);
1677
+ padding-block: var(--spacing-8);
1678
+ padding-inline: calc(
1679
+ var(--spacing-20) + var(--agreement-indent) *
1680
+ (var(--agreement-row-indent, 0) + var(--agreement-pushed, 0))
1681
+ )
1682
+ var(--spacing-20);
1683
+ }
1684
+ .agreement.indent-1 {
1685
+ --agreement-row-indent: 1;
1686
+ }
1687
+ .agreement.indent-2 {
1688
+ --agreement-row-indent: 2;
1689
+ }
1690
+ .agreement-left,
1691
+ .agreement-right {
1692
+ flex: none;
1693
+ display: flex;
1694
+ align-items: center;
1695
+ gap: var(--spacing-4);
1696
+ }
1697
+ /* 체크박스가 숨은 행은 왼쪽 자리 간격도 남기지 않는다 */
1698
+ .agreement-left:has(> .agreement-checkbox.variant-hidden:only-child) {
1699
+ display: contents;
1700
+ }
1701
+ .agreement-middle {
1702
+ flex: 1;
1703
+ min-width: 0;
1704
+ }
1705
+ .agreement-text {
1706
+ display: flex;
1707
+ flex-direction: column;
1708
+ gap: var(--spacing-2);
1709
+ }
1710
+ .agreement-text-title {
1711
+ font-size: var(--agreement-font-size);
1712
+ line-height: var(--agreement-line-height);
1713
+ font-weight: var(--font-weight-medium);
1714
+ overflow-wrap: anywhere;
1715
+ }
1716
+ .agreement-text-description {
1717
+ color: var(--text-tertiary);
1718
+ font-size: var(--font-size-sm);
1719
+ line-height: var(--line-height-sm);
1720
+ }
1721
+ .agreement-necessity {
1722
+ margin-inline-end: var(--spacing-4);
1723
+ }
1724
+ .agreement-necessity.type-mandatory {
1725
+ color: var(--text-brand);
1726
+ }
1727
+ .agreement-necessity.type-optional {
1728
+ color: var(--text-tertiary);
1729
+ }
1730
+ .agreement-badge {
1731
+ display: inline-flex;
1732
+ flex: none;
1733
+ }
1734
+ .agreement-checkbox {
1735
+ display: inline-flex;
1736
+
1737
+ /* 낭독기·키보드에는 남기고 화면에서만 지운다 */
1738
+ }
1739
+ .agreement-checkbox.variant-hidden {
1740
+ position: absolute;
1741
+ width: 1px; /* raw-px */
1742
+ height: 1px; /* raw-px */
1743
+ overflow: hidden;
1744
+ clip-path: inset(50%);
1745
+ white-space: nowrap;
1746
+ }
1747
+ /* dot: 원 테두리 안에서 브랜드 점이 confirm 스프링으로 커진다. --confirm-delay 는 차례 연출의 지연이다 */
1748
+ .agreement-dot {
1749
+ display: inline-flex;
1750
+ align-items: center;
1751
+ justify-content: center;
1752
+ box-sizing: border-box;
1753
+ width: var(--agreement-control-size, var(--checkbox-size-m));
1754
+ height: var(--agreement-control-size, var(--checkbox-size-m));
1755
+ border: var(--border-width-strong) solid var(--border-default);
1756
+ border-radius: var(--radius-circle);
1757
+ background-color: var(--surface-base);
1758
+ transition: border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
1759
+ var(--confirm-delay, 0ms);
1760
+ }
1761
+ .agreement-dot[data-state='checked'] {
1762
+ border-color: var(--border-accent);
1763
+ }
1764
+ .agreement-dot[data-disabled] {
1765
+ border-color: var(--border-disabled);
1766
+ background-color: var(--surface-control);
1767
+ }
1768
+ .agreement-dot-mark {
1769
+ width: 50%;
1770
+ height: 50%;
1771
+ border-radius: var(--radius-circle);
1772
+ background-color: var(--surface-brand);
1773
+ transform: scale(0);
1774
+ transition: transform var(--motion-confirm-weak-duration) var(--motion-confirm-weak-ease)
1775
+ var(--confirm-delay, 0ms);
1776
+ }
1777
+ .agreement-dot-mark[data-motion='strong'] {
1778
+ transition: transform var(--motion-confirm-strong-duration) var(--motion-confirm-strong-ease)
1779
+ var(--confirm-delay, 0ms);
1780
+ }
1781
+ .agreement-dot-mark[data-state='checked'] {
1782
+ transform: scale(1);
1783
+ }
1784
+ [data-disabled] > .agreement-dot-mark {
1785
+ background-color: var(--surface-disabled);
1786
+ }
1787
+ .agreement-description {
1788
+ padding: 0 var(--spacing-20) var(--spacing-12);
1789
+ color: var(--text-tertiary);
1790
+ font-size: var(--font-size-sm);
1791
+ line-height: var(--line-height-sm);
1792
+ }
1793
+ .agreement-description.variant-box {
1794
+ margin: 0 var(--spacing-20) var(--spacing-12);
1795
+ padding: var(--spacing-12) var(--spacing-16);
1796
+ border-radius: var(--radius-control);
1797
+ background-color: var(--surface-subtle);
1798
+ }
1799
+ .agreement-expand-trigger > * {
1800
+ transition: transform var(--motion-expand-duration) var(--motion-expand-ease);
1801
+ }
1802
+ .agreement-expand-trigger[data-state='open'] > * {
1803
+ transform: rotate(var(--motion-expand-rotate));
1804
+ }
1805
+ .agreement-collapsible-content {
1806
+ /* 블록 그대로 둔다. display 를 주면 Radix 가 접힌 뒤 다는 hidden 이 무력해진다(docs/css-conventions.md) */
1807
+ --motion-content-height: var(--radix-collapsible-content-height);
1808
+ }
1809
+ .agreement-collapsible-content[data-state='open'] {
1810
+ animation: motion-expand-open var(--motion-expand-duration) var(--motion-expand-ease);
1811
+ }
1812
+ .agreement-collapsible-content[data-state='closed'] {
1813
+ overflow: hidden;
1814
+ animation: motion-expand-close var(--motion-expand-duration) var(--motion-expand-ease) forwards;
1815
+ }
1816
+ .agreement-collapsible-content.pushed {
1817
+ --agreement-pushed: 1;
1818
+ }
1819
+ /* 목록 아래 가장자리에 바탕색으로 녹아드는 띠. 스크롤되는 동안 보이는 영역 아래에 붙어 있다 */
1820
+ .agreement-group.gradient::after {
1821
+ content: '';
1822
+ position: sticky;
1823
+ bottom: 0;
1824
+ display: block;
1825
+ height: var(--spacing-24);
1826
+ margin-top: calc(var(--spacing-24) * -1);
1827
+ background-image: linear-gradient(to bottom, transparent, var(--surface-base));
1828
+ pointer-events: none;
1829
+ }
1548
1830
  /* 틀(frame)은 모서리를 자르고, 액세서리는 틀의 형제라 잘리지 않는다. anchor 가 둘을 겹쳐 놓는다 */
1549
1831
  .base-asset:where(.anchor) {
1550
1832
  position: relative;
@@ -1570,6 +1852,12 @@ p {
1570
1852
  .base-asset:where(.text) {
1571
1853
  white-space: nowrap;
1572
1854
  }
1855
+ /* Lottie·영상은 사진처럼 틀을 가득 채운다 */
1856
+ .base-asset:where(.lottie,.video) {
1857
+ display: block;
1858
+ width: 100%;
1859
+ height: 100%;
1860
+ }
1573
1861
  /***************************************************************************************************
1574
1862
  * *
1575
1863
  * asset *
@@ -1732,6 +2020,20 @@ p {
1732
2020
  -o-object-fit: contain;
1733
2021
  object-fit: contain;
1734
2022
  }
2023
+ .asset-video.fit-cover {
2024
+ -o-object-fit: cover;
2025
+ object-fit: cover;
2026
+ }
2027
+ .asset-video.fit-contain {
2028
+ -o-object-fit: contain;
2029
+ object-fit: contain;
2030
+ }
2031
+ /* 플레이어가 그리는 루트(div·canvas)가 감싸개를 채운다 */
2032
+ .asset-lottie > .asset-lottie-player {
2033
+ display: block;
2034
+ width: 100%;
2035
+ height: 100%;
2036
+ }
1735
2037
  /* 원·크기·자르기·배지 자리는 Asset.Frame(shape circle)이 그린다. 여기는 아바타만의 것이다 */
1736
2038
  .base-avatar .avatar-fallback {
1737
2039
  display: block;
@@ -1900,113 +2202,431 @@ p {
1900
2202
  background-color: var(--surface-base);
1901
2203
  border: var(--hairline) solid var(--border-default);
1902
2204
  }
1903
- /* 스크롤하는 조상의 맨 아래에 붙는다. 모션은 없다 — 주 행동·입력을 담아 스크롤로 숨기지 않는다 */
1904
- .base-bottom-bar {
1905
- position: sticky;
1906
- bottom: 0;
1907
- z-index: var(--z-sticky);
1908
- display: flex;
1909
- }
1910
- .base-bottom-bar > * {
1911
- flex: 1;
1912
- min-width: 0;
1913
- }
1914
- /***************************************************************************************************
1915
- * *
1916
- * bottom-bar *
1917
- * *
1918
- ***************************************************************************************************/
1919
- .bottom-bar {
1920
- gap: var(--spacing-8);
1921
- padding: var(--spacing-12) var(--spacing-16);
1922
- /* 기기 홈 막대만큼 아래를 더 비운다. env() 의 대체값 0 은 단위가 있어야 calc 가 성립한다 */
1923
- padding-bottom: calc(var(--spacing-12) + env(safe-area-inset-bottom, 0px)); /* raw-px */
1924
- border-top: var(--hairline) solid var(--border-subtle);
1925
- background-color: var(--surface-base);
1926
- }
1927
- .base-bottom-nav:where(.root) {
1928
- position: fixed;
1929
- left: var(--spacing-16);
1930
- right: var(--spacing-16);
1931
- /* 기기 홈 막대만큼 더 띄운다. env() 의 대체값 0 은 단위가 있어야 calc 가 성립한다 */
1932
- bottom: calc(var(--bottom-nav-offset) + env(safe-area-inset-bottom, 0px)); /* raw-px */
1933
- z-index: var(--z-sticky);
1934
- display: grid;
1935
- grid-template-columns: repeat(var(--bottom-nav-count), minmax(0, 1fr));
1936
- height: var(--bottom-nav-height);
1937
- padding: var(--bottom-nav-padding);
2205
+ /* 막대 칸과 라벨 줄은 같은 열(--bar-count)을 나눠 쓴다. 라벨을 따로 두어 라벨이 빠진 칸도 막대 높이가 같다 */
2206
+ .base-bar-chart:where(.root) {
2207
+ display: flex;
2208
+ flex-direction: column;
1938
2209
  box-sizing: border-box;
1939
- border-radius: var(--radius-pill);
1940
- isolation: isolate;
1941
2210
  }
1942
- .base-bottom-nav:where(.indicator) {
1943
- position: absolute;
1944
- z-index: var(--z-base);
1945
- top: var(--bottom-nav-padding);
1946
- bottom: var(--bottom-nav-padding);
1947
- left: var(--bottom-nav-padding);
1948
- width: calc((100% - 2 * var(--bottom-nav-padding)) / var(--bottom-nav-count));
1949
- border-radius: inherit;
1950
- transform: translateX(calc(var(--bottom-nav-active) * 100%));
2211
+ .base-bar-chart:where(.plot) {
2212
+ display: grid;
2213
+ grid-template-columns: repeat(var(--bar-count), minmax(0, 1fr));
2214
+ flex: 1;
2215
+ min-height: 0;
1951
2216
  }
1952
- .base-bottom-nav:where(.item) {
2217
+ /* 늘어난 격자 칸이라 높이가 정해져 있고, 막대의 % 높이가 이 칸을 기준으로 잡힌다 */
2218
+ .base-bar-chart:where(.column) {
1953
2219
  position: relative;
1954
- z-index: var(--z-raised);
1955
2220
  display: flex;
1956
- flex-direction: column-reverse;
1957
- align-items: center;
2221
+ align-items: flex-end;
1958
2222
  justify-content: center;
1959
- gap: var(--spacing-2);
1960
- border-radius: inherit;
1961
- text-decoration: none;
2223
+ min-width: 0;
2224
+ }
2225
+ .base-bar-chart:where(.labels) {
2226
+ display: grid;
2227
+ grid-template-columns: repeat(var(--bar-count), minmax(0, 1fr));
2228
+ }
2229
+ .base-bar-chart:where(.label) {
2230
+ grid-column: var(--bar-column);
2231
+ min-width: 0;
2232
+ }
2233
+ /* 낭독기만 읽는 대체 글 */
2234
+ .base-bar-chart:where(.description) {
2235
+ position: absolute;
2236
+ width: 1px; /* raw-px */
2237
+ height: 1px; /* raw-px */
2238
+ overflow: hidden;
2239
+ clip-path: inset(50%);
2240
+ white-space: nowrap;
1962
2241
  }
1963
2242
  /***************************************************************************************************
1964
2243
  * *
1965
- * bottom-nav — 유리 캡슐 *
2244
+ * bar-chart *
1966
2245
  * *
1967
2246
  ***************************************************************************************************/
1968
- .bottom-nav {
1969
- /* 뒤를 흐리고 채도를 올린 반투명 바탕 + 위쪽 반사광 + 흰 안쪽 테두리 + 그림자 */
1970
- background:
1971
- linear-gradient(
1972
- 180deg,
1973
- color-mix(in srgb, var(--surface-subtle) 55%, transparent),
1974
- transparent 55%
1975
- ),
1976
- color-mix(in srgb, var(--surface-subtle) 62%, transparent);
1977
- backdrop-filter: blur(var(--glass-blur)) saturate(180%);
1978
- box-shadow:
1979
- inset 0 var(--hairline) 0 color-mix(in srgb, var(--surface-subtle) 75%, transparent),
1980
- inset 0 0 0 var(--hairline) color-mix(in srgb, var(--surface-subtle) 35%, transparent),
1981
- var(--shadow-floating);
2247
+ .bar-chart {
2248
+ --bar-chart-gap: var(--spacing-8);
1982
2249
 
1983
- /* 흐림을 못 하는 브라우저, 투명도 줄이기 설정에서는 거의 불투명하게 */
2250
+ position: relative;
2251
+ height: var(--bar-chart-height);
2252
+ gap: var(--spacing-8);
1984
2253
 
1985
- /* hideOnScroll: 아래 여백까지 더해 화면 밖으로 내린다. 키보드로 탭에 들어오면 다시 올린다 */
1986
- transition: transform var(--motion-dismiss-on-scroll-duration)
1987
- var(--motion-dismiss-on-scroll-ease);
1988
- }
1989
- @supports not ((backdrop-filter: none) or (-webkit-backdrop-filter: none)) {
1990
- .bottom-nav {
1991
- background: color-mix(in srgb, var(--surface-subtle) 96%, transparent);
2254
+ /* 막대가 많으면 칸 사이를 좁혀 막대 폭을 지킨다 */
1992
2255
  }
2256
+ .bar-chart[data-dense] {
2257
+ --bar-chart-gap: var(--spacing-2);
1993
2258
  }
1994
- @media (prefers-reduced-transparency: reduce) {
1995
- .bottom-nav {
1996
- background: color-mix(in srgb, var(--surface-subtle) 98%, transparent);
2259
+ /* 가장 높은 막대 위 글이 차트 밖으로 나가지 않게 글 한 줄만큼 비운다 */
2260
+ .bar-chart[data-annotated] .bar-chart-plot {
2261
+ padding-top: calc(var(--line-height-xsm) + var(--spacing-4));
2262
+ }
2263
+ .bar-chart-plot,
2264
+ .bar-chart-labels {
2265
+ -moz-column-gap: var(--bar-chart-gap);
2266
+ column-gap: var(--bar-chart-gap);
2267
+ }
2268
+ .bar-chart-bar {
2269
+ display: block;
2270
+ width: 100%;
2271
+ max-width: var(--bar-chart-bar-max-width);
2272
+ height: calc(var(--bar-ratio, 0) * 100%);
2273
+ border-radius: var(--radius-mark) var(--radius-mark) 0 0;
2274
+ transform-origin: bottom;
1997
2275
  }
2276
+ .bar-chart-bar.variant-brand {
2277
+ background-color: var(--surface-brand);
1998
2278
  }
1999
- .bottom-nav[data-hidden]:not(:focus-within) {
2000
- transform: translateY(calc(100% + var(--bottom-nav-offset) + env(safe-area-inset-bottom, 0px))); /* raw-px */
2279
+ .bar-chart-bar.variant-neutral {
2280
+ background-color: var(--surface-strong);
2001
2281
  }
2002
- .bottom-nav-indicator {
2003
- background: color-mix(in srgb, var(--surface-brand) 10%, transparent);
2004
- box-shadow: inset 0 var(--hairline) 0
2005
- color-mix(in srgb, var(--surface-subtle) 50%, transparent);
2006
- transition: transform var(--motion-indicate-spring-duration) var(--motion-indicate-spring-ease);
2007
- }
2008
- .bottom-nav-item {
2009
- color: var(--text-tertiary);
2282
+ .bar-chart-annotation {
2283
+ position: absolute;
2284
+ bottom: calc(var(--bar-ratio, 0) * 100% + var(--spacing-4));
2285
+ left: 50%;
2286
+ color: var(--text-secondary);
2287
+ font-size: var(--font-size-xsm);
2288
+ line-height: var(--line-height-xsm);
2289
+ font-weight: var(--font-weight-semibold);
2290
+ white-space: nowrap;
2291
+ transform: translateX(-50%);
2292
+ }
2293
+ .bar-chart-label {
2294
+ overflow: hidden;
2295
+ color: var(--text-muted);
2296
+ font-size: var(--font-size-xsm);
2297
+ line-height: var(--line-height-xsm);
2298
+ text-align: center;
2299
+ white-space: nowrap;
2300
+ text-overflow: ellipsis;
2301
+ }
2302
+ /* 첫·끝 라벨만 남은 차트. 좁은 칸을 넘쳐 안쪽으로 펼친다 */
2303
+ .bar-chart[data-dense] .bar-chart-label {
2304
+ overflow: visible;
2305
+ }
2306
+ :is(.bar-chart[data-dense] .bar-chart-label):first-child {
2307
+ justify-self: start;
2308
+ text-align: start;
2309
+ }
2310
+ :is(.bar-chart[data-dense] .bar-chart-label):last-child {
2311
+ justify-self: end;
2312
+ text-align: end;
2313
+ }
2314
+ .bar-chart[data-animated] .bar-chart-bar {
2315
+ transition-property: transform, height;
2316
+ transition-duration: var(--motion-progress-duration);
2317
+ transition-timing-function: var(--motion-progress-ease);
2318
+ }
2319
+ .bar-chart[data-animated] .bar-chart-annotation {
2320
+ transition-property: opacity, bottom;
2321
+ transition-duration: var(--motion-progress-duration);
2322
+ transition-timing-function: var(--motion-progress-ease);
2323
+ }
2324
+ /* 차오르는 동안 위 글은 아직 없는 막대 끝에 떠 있지 않게 감춘다 */
2325
+ .bar-chart[data-animated]:not([data-mounted]) .bar-chart-bar {
2326
+ transform: scaleY(0);
2327
+ }
2328
+ .bar-chart[data-animated]:not([data-mounted]) .bar-chart-annotation {
2329
+ opacity: 0;
2330
+ }
2331
+ /* stagger 면 막대도 제 칸이 나타나는 순서대로 차오른다 */
2332
+ .bar-chart-column.motion-reveal .bar-chart-bar,.bar-chart-column.motion-reveal .bar-chart-annotation {
2333
+ transition-delay: calc(var(--i, 0) * var(--motion-reveal-gap));
2334
+ }
2335
+ .base-board-row:where(.trigger) {
2336
+ position: relative;
2337
+ display: flex;
2338
+ align-items: center;
2339
+ box-sizing: border-box;
2340
+ width: 100%;
2341
+ border: 0;
2342
+ background-color: transparent;
2343
+ color: inherit;
2344
+ text-align: start;
2345
+ cursor: pointer;
2346
+ }
2347
+ .base-board-row:where(.group) {
2348
+ display: flex;
2349
+ flex-direction: column;
2350
+ }
2351
+ /***************************************************************************************************
2352
+ * *
2353
+ * board-row *
2354
+ * *
2355
+ ***************************************************************************************************/
2356
+ .board-row-trigger {
2357
+ gap: var(--spacing-8);
2358
+ min-height: var(--list-row-height-m);
2359
+ padding: var(--spacing-12) var(--spacing-16);
2360
+
2361
+ /* 행 사이 선이 그룹 가장자리에 붙어 있어 전역 포커스 링을 안쪽에 그린다 */
2362
+ }
2363
+ .board-row-trigger:focus-visible {
2364
+ outline-offset: calc(var(--focus-ring-width) * -1);
2365
+ }
2366
+ .board-row-prefix {
2367
+ flex: none;
2368
+ color: var(--text-brand);
2369
+ font-size: var(--font-size-base);
2370
+ line-height: var(--line-height-base);
2371
+ font-weight: var(--font-weight-semibold);
2372
+ }
2373
+ .board-row-title {
2374
+ flex: 1;
2375
+ min-width: 0;
2376
+ color: var(--text-body);
2377
+ font-size: var(--font-size-base);
2378
+ line-height: var(--line-height-base);
2379
+ font-weight: var(--font-weight-medium);
2380
+ }
2381
+ .board-row-chevron {
2382
+ flex: none;
2383
+ color: var(--text-muted);
2384
+ transition: transform var(--motion-expand-duration) var(--motion-expand-ease);
2385
+ }
2386
+ .base-board-row.trigger[data-state='open'] .board-row-chevron {
2387
+ transform: rotate(var(--motion-expand-rotate));
2388
+ }
2389
+ .board-row-content {
2390
+ /* 블록 그대로 둔다. display 를 주면 Radix 가 접힌 뒤 다는 hidden 이 무력해진다(docs/css-conventions.md).
2391
+ 열린 채로 둘 때는 overflow 를 숨기지 않는다(본문 안 포커스 링이 잘리지 않게). 여닫는 동안은 키프레임이 숨긴다 */
2392
+ --motion-content-height: var(--radix-collapsible-content-height);
2393
+ }
2394
+ .board-row-content[data-state='open'] {
2395
+ animation: motion-expand-open var(--motion-expand-duration) var(--motion-expand-ease);
2396
+ }
2397
+ .board-row-content[data-state='closed'] {
2398
+ overflow: hidden;
2399
+ animation: motion-expand-close var(--motion-expand-duration) var(--motion-expand-ease) forwards;
2400
+ }
2401
+ /* 안쪽 여백은 안쪽 감싸개에 둔다. Radix 가 재는 높이 안에 들어 함께 접힌다 */
2402
+ .board-row-body {
2403
+ padding: 0 var(--spacing-16) var(--spacing-16);
2404
+ color: var(--text-secondary);
2405
+ font-size: var(--font-size-sm);
2406
+ line-height: var(--line-height-sm);
2407
+ }
2408
+ /* 행 사이 선 */
2409
+ .board-row-group > .board-row + .board-row {
2410
+ border-top: var(--hairline) solid var(--border-subtle);
2411
+ }
2412
+ .base-border {
2413
+ margin: 0;
2414
+ border: 0;
2415
+ }
2416
+ /***************************************************************************************************
2417
+ * *
2418
+ * border *
2419
+ * *
2420
+ ***************************************************************************************************/
2421
+ /* .border 는 앱의 유틸리티 CSS(Tailwind 등)에도 흔한 이름이라 base 클래스와 함께 잡는다 */
2422
+ .base-border.border {
2423
+ border-top: var(--hairline) solid var(--border-subtle);
2424
+ }
2425
+ .base-border.border.variant-inset {
2426
+ margin: 0 var(--spacing-16);
2427
+ }
2428
+ .base-border.border.variant-section {
2429
+ height: var(--border-section-height);
2430
+ border-top: 0;
2431
+ background-color: var(--surface-muted);
2432
+ }
2433
+ /* 스크롤하는 조상의 맨 아래에 붙는다. 모션은 없다 — 주 행동·입력을 담아 스크롤로 숨기지 않는다 */
2434
+ .base-bottom-bar {
2435
+ position: sticky;
2436
+ bottom: 0;
2437
+ z-index: var(--z-sticky);
2438
+ display: flex;
2439
+ }
2440
+ .base-bottom-bar > * {
2441
+ flex: 1;
2442
+ min-width: 0;
2443
+ }
2444
+ /***************************************************************************************************
2445
+ * *
2446
+ * bottom-bar *
2447
+ * *
2448
+ ***************************************************************************************************/
2449
+ .bottom-bar {
2450
+ gap: var(--spacing-8);
2451
+ padding: var(--spacing-12) var(--spacing-16);
2452
+ /* 기기 홈 막대만큼 아래를 더 비운다. env() 의 대체값 0 은 단위가 있어야 calc 가 성립한다 */
2453
+ padding-bottom: calc(var(--spacing-12) + env(safe-area-inset-bottom, 0px)); /* raw-px */
2454
+ border-top: var(--hairline) solid var(--border-subtle);
2455
+ background-color: var(--surface-base);
2456
+ }
2457
+ /* 화면 아래 주 버튼 바. 기본은 흐름 안에 있고 data-fixed 면 화면 아래에 붙는다 */
2458
+ .base-bottom-cta {
2459
+ position: relative;
2460
+ display: flex;
2461
+ flex-direction: column;
2462
+ gap: var(--spacing-12);
2463
+
2464
+ /* 키보드가 열리면 가린 높이만큼 올라간다. 값은 useKeyboardInset 이 루트 style 에 둔다 */
2465
+ }
2466
+ .base-bottom-cta[data-fixed] {
2467
+ position: fixed;
2468
+ left: 0;
2469
+ right: 0;
2470
+ bottom: var(--bottom-cta-keyboard, 0px);
2471
+ z-index: var(--z-sticky);
2472
+ }
2473
+ /***************************************************************************************************
2474
+ * *
2475
+ * bottom-cta *
2476
+ * *
2477
+ ***************************************************************************************************/
2478
+ .bottom-cta {
2479
+ padding: var(--spacing-12) var(--spacing-16) var(--spacing-20);
2480
+ /* hideOnScroll: 위 띠와 키보드 높이까지 더해 화면 밖으로 내린다. 키보드로 버튼에 들어오면 다시 올린다 */
2481
+ transition: transform var(--motion-dismiss-on-scroll-duration)
2482
+ var(--motion-dismiss-on-scroll-ease);
2483
+
2484
+ /* 기기 홈 막대가 기본 아래 여백보다 크면 그만큼 비운다. env() 의 대체값 0 은 단위가 있어야 max 가 성립한다 */
2485
+ }
2486
+ .bottom-cta.safe-area {
2487
+ padding-bottom: max(env(safe-area-inset-bottom, 0px), var(--spacing-20)); /* raw-px */
2488
+ }
2489
+ .bottom-cta.background-default {
2490
+ background-color: var(--surface-base);
2491
+ }
2492
+ /* 고정되면 위 내용이 바 뒤로 녹아 사라지게 바탕색 띠를 바 위에 얹는다 */
2493
+ .bottom-cta.background-default[data-fixed]::before {
2494
+ content: '';
2495
+ position: absolute;
2496
+ left: 0;
2497
+ right: 0;
2498
+ bottom: 100%;
2499
+ height: var(--bottom-cta-fade-height);
2500
+ background: linear-gradient(to bottom, transparent, var(--surface-base));
2501
+ pointer-events: none;
2502
+ }
2503
+ .bottom-cta[data-hidden]:not(:focus-within) {
2504
+ transform: translateY(
2505
+ calc(100% + var(--bottom-cta-fade-height) + var(--bottom-cta-keyboard, 0px))
2506
+ );
2507
+ }
2508
+ /* 바로 아래 버튼들이 폭을 똑같이 나눠 갖는다 */
2509
+ .bottom-cta-actions {
2510
+ display: flex;
2511
+ gap: var(--spacing-8);
2512
+ }
2513
+ .bottom-cta-actions > * {
2514
+ flex: 1;
2515
+ min-width: 0;
2516
+ }
2517
+ /* takeSpace: 고정된 바가 흐름에서 빠진 자리. 높이는 bottom-cta.tsx 가 바를 재서 넣는다 */
2518
+ .bottom-cta-space {
2519
+ flex: none;
2520
+ height: var(--bottom-cta-height, var(--bottom-cta-height-min));
2521
+ }
2522
+ /* 화면 맨 아래 법적 고지. 글자는 sm·muted 이고 안에 든 Post.Ul 이 이 크기와 색을 물려받는다 */
2523
+ .base-bottom-info {
2524
+ position: relative;
2525
+ padding: var(--spacing-24) var(--spacing-20);
2526
+ background-color: var(--surface-muted);
2527
+ color: var(--text-muted);
2528
+ font-size: var(--font-size-sm);
2529
+ line-height: var(--line-height-sm);
2530
+ }
2531
+ /***************************************************************************************************
2532
+ * *
2533
+ * bottom-info *
2534
+ * *
2535
+ ***************************************************************************************************/
2536
+ /* 위 가장자리 바로 바깥에 화면 바탕(surface-base)에서 고지 바탕으로 넘어가는 띠를 얹어 경계선이 보이지 않게 한다 */
2537
+ .bottom-info.gradient::before {
2538
+ content: '';
2539
+ position: absolute;
2540
+ right: 0;
2541
+ bottom: 100%;
2542
+ left: 0;
2543
+ height: var(--spacing-24);
2544
+ background-image: linear-gradient(to bottom, var(--surface-base), var(--surface-muted));
2545
+ pointer-events: none;
2546
+ }
2547
+ .base-bottom-nav:where(.root) {
2548
+ position: fixed;
2549
+ left: var(--spacing-16);
2550
+ right: var(--spacing-16);
2551
+ /* 기기 홈 막대만큼 더 띄운다. env() 의 대체값 0 은 단위가 있어야 calc 가 성립한다 */
2552
+ bottom: calc(var(--bottom-nav-offset) + env(safe-area-inset-bottom, 0px)); /* raw-px */
2553
+ z-index: var(--z-sticky);
2554
+ display: grid;
2555
+ grid-template-columns: repeat(var(--bottom-nav-count), minmax(0, 1fr));
2556
+ height: var(--bottom-nav-height);
2557
+ padding: var(--bottom-nav-padding);
2558
+ box-sizing: border-box;
2559
+ border-radius: var(--radius-pill);
2560
+ isolation: isolate;
2561
+ }
2562
+ .base-bottom-nav:where(.indicator) {
2563
+ position: absolute;
2564
+ z-index: var(--z-base);
2565
+ top: var(--bottom-nav-padding);
2566
+ bottom: var(--bottom-nav-padding);
2567
+ left: var(--bottom-nav-padding);
2568
+ width: calc((100% - 2 * var(--bottom-nav-padding)) / var(--bottom-nav-count));
2569
+ border-radius: inherit;
2570
+ transform: translateX(calc(var(--bottom-nav-active) * 100%));
2571
+ }
2572
+ .base-bottom-nav:where(.item) {
2573
+ position: relative;
2574
+ z-index: var(--z-raised);
2575
+ display: flex;
2576
+ flex-direction: column-reverse;
2577
+ align-items: center;
2578
+ justify-content: center;
2579
+ gap: var(--spacing-2);
2580
+ border-radius: inherit;
2581
+ text-decoration: none;
2582
+ }
2583
+ /***************************************************************************************************
2584
+ * *
2585
+ * bottom-nav — 유리 캡슐 *
2586
+ * *
2587
+ ***************************************************************************************************/
2588
+ .bottom-nav {
2589
+ /* 뒤를 흐리고 채도를 올린 반투명 바탕 + 위쪽 반사광 + 흰 안쪽 테두리 + 그림자 */
2590
+ background:
2591
+ linear-gradient(
2592
+ 180deg,
2593
+ color-mix(in srgb, var(--surface-subtle) 55%, transparent),
2594
+ transparent 55%
2595
+ ),
2596
+ color-mix(in srgb, var(--surface-subtle) 62%, transparent);
2597
+ backdrop-filter: blur(var(--glass-blur)) saturate(180%);
2598
+ box-shadow:
2599
+ inset 0 var(--hairline) 0 color-mix(in srgb, var(--surface-subtle) 75%, transparent),
2600
+ inset 0 0 0 var(--hairline) color-mix(in srgb, var(--surface-subtle) 35%, transparent),
2601
+ var(--shadow-floating);
2602
+
2603
+ /* 흐림을 못 하는 브라우저, 투명도 줄이기 설정에서는 거의 불투명하게 */
2604
+
2605
+ /* hideOnScroll: 아래 여백까지 더해 화면 밖으로 내린다. 키보드로 탭에 들어오면 다시 올린다 */
2606
+ transition: transform var(--motion-dismiss-on-scroll-duration)
2607
+ var(--motion-dismiss-on-scroll-ease);
2608
+ }
2609
+ @supports not ((backdrop-filter: none) or (-webkit-backdrop-filter: none)) {
2610
+ .bottom-nav {
2611
+ background: color-mix(in srgb, var(--surface-subtle) 96%, transparent);
2612
+ }
2613
+ }
2614
+ @media (prefers-reduced-transparency: reduce) {
2615
+ .bottom-nav {
2616
+ background: color-mix(in srgb, var(--surface-subtle) 98%, transparent);
2617
+ }
2618
+ }
2619
+ .bottom-nav[data-hidden]:not(:focus-within) {
2620
+ transform: translateY(calc(100% + var(--bottom-nav-offset) + env(safe-area-inset-bottom, 0px))); /* raw-px */
2621
+ }
2622
+ .bottom-nav-indicator {
2623
+ background: color-mix(in srgb, var(--surface-brand) 10%, transparent);
2624
+ box-shadow: inset 0 var(--hairline) 0
2625
+ color-mix(in srgb, var(--surface-subtle) 50%, transparent);
2626
+ transition: transform var(--motion-indicate-spring-duration) var(--motion-indicate-spring-ease);
2627
+ }
2628
+ .bottom-nav-item {
2629
+ color: var(--text-tertiary);
2010
2630
  font-size: var(--font-size-xsm);
2011
2631
  font-weight: var(--font-weight-medium);
2012
2632
  -webkit-tap-highlight-color: transparent;
@@ -2052,6 +2672,100 @@ p {
2052
2672
  font-weight: var(--font-weight-bold);
2053
2673
  font-variant-numeric: tabular-nums;
2054
2674
  }
2675
+ /* 바깥 틀은 DrawerContent 다. 바탕은 끌리는 panel 이 그리므로 Drawer 의 content 바탕(.base-drawer:where(.content))을 덮는다 */
2676
+ .base-bottom-sheet.content {
2677
+ left: 0;
2678
+ right: 0;
2679
+ bottom: var(--sheet-keyboard-inset, 0);
2680
+ background-color: transparent;
2681
+ }
2682
+ .base-bottom-sheet:where(.panel) {
2683
+ position: relative;
2684
+ display: flex;
2685
+ flex-direction: column;
2686
+ box-sizing: border-box;
2687
+ max-height: var(--sheet-max-height);
2688
+ background-color: var(--surface-base);
2689
+ border-top-left-radius: var(--radius-surface);
2690
+ border-top-right-radius: var(--radius-surface);
2691
+
2692
+ /* 위로 끌면 판이 화면 아래에서 뜬다. 판 아래로 이어지는 같은 바탕이 그 틈을 가린다 */
2693
+ }
2694
+ .base-bottom-sheet:where(.panel)::after {
2695
+ content: '';
2696
+ position: absolute;
2697
+ top: 100%;
2698
+ left: 0;
2699
+ right: 0;
2700
+ height: 100%;
2701
+ background-color: inherit;
2702
+ }
2703
+ .base-bottom-sheet:where(.handle) {
2704
+ width: var(--sheet-handle-width);
2705
+ height: var(--sheet-handle-height);
2706
+ border-radius: var(--radius-pill);
2707
+ background-color: var(--surface-strong);
2708
+ }
2709
+ /***************************************************************************************************
2710
+ * *
2711
+ * bottom-sheet *
2712
+ * *
2713
+ ***************************************************************************************************/
2714
+ /* 키프레임은 이 바깥 틀에서만 돈다. 끌기(y)는 안쪽 panel 이 맡아 둘이 같은 transform 을 두고 싸우지 않는다 */
2715
+ .bottom-sheet {
2716
+ --motion-slide-offset: translateY(100%);
2717
+ }
2718
+ .bottom-sheet[data-state='open'] {
2719
+ animation: motion-enter-slide var(--motion-enter-duration) var(--motion-enter-ease);
2720
+ }
2721
+ .bottom-sheet.motion-strong[data-state='open'] {
2722
+ animation-duration: var(--motion-enter-strong-duration);
2723
+ animation-timing-function: var(--motion-enter-strong-ease);
2724
+ }
2725
+ .bottom-sheet[data-state='closed'] {
2726
+ animation: motion-exit-slide var(--motion-exit-duration) var(--motion-exit-ease) forwards;
2727
+ }
2728
+ /* 등장 뒤에 덧붙이고 등장의 시간·곡선은 그대로 둔다. 바꾸면 data-effect 가 떨어질 때 등장이 다시 돈다 */
2729
+ .bottom-sheet[data-state='open'][data-effect='wiggle'] {
2730
+ animation:
2731
+ motion-enter-slide var(--motion-enter-duration) var(--motion-enter-ease),
2732
+ motion-reject-wiggle var(--motion-reject-duration) var(--motion-reject-ease);
2733
+ }
2734
+ .bottom-sheet.motion-strong[data-state='open'][data-effect='wiggle'] {
2735
+ animation-duration: var(--motion-enter-strong-duration), var(--motion-reject-duration);
2736
+ animation-timing-function: var(--motion-enter-strong-ease), var(--motion-reject-ease);
2737
+ }
2738
+ .bottom-sheet-panel {
2739
+ padding: 0 var(--spacing-20);
2740
+ padding-bottom: max(env(safe-area-inset-bottom), var(--spacing-20));
2741
+ }
2742
+ /* 끌기는 여기서만 시작한다. 본문은 스크롤이 먼저다 */
2743
+ .bottom-sheet-header {
2744
+ display: flex;
2745
+ flex-direction: column;
2746
+ gap: var(--spacing-12);
2747
+ padding-top: var(--spacing-12);
2748
+ touch-action: none;
2749
+ cursor: grab;
2750
+ }
2751
+ .bottom-sheet-handle {
2752
+ align-self: center;
2753
+ }
2754
+ .bottom-sheet-description {
2755
+ margin-top: var(--spacing-4);
2756
+ }
2757
+ .bottom-sheet-body {
2758
+ flex: 1;
2759
+ min-height: 0;
2760
+ overflow-y: auto;
2761
+ overscroll-behavior: contain;
2762
+ margin-top: var(--spacing-16);
2763
+ }
2764
+ .bottom-sheet-footer {
2765
+ display: flex;
2766
+ gap: var(--spacing-8);
2767
+ margin-top: var(--spacing-16);
2768
+ }
2055
2769
  .base-breadcrumb:where(.list) {
2056
2770
  display: flex;
2057
2771
  flex-wrap: wrap;
@@ -3608,6 +4322,16 @@ p {
3608
4322
  background-color: var(--surface-muted);
3609
4323
  color: var(--text-tertiary);
3610
4324
  }
4325
+ .empty-state.variant-success .empty-state-icon {
4326
+ background-color: var(--surface-success-subtle);
4327
+ color: var(--text-success);
4328
+ }
4329
+ /* figure 는 쓰는 쪽 그림을 크기 그대로 아이콘 원 자리에 둔다 */
4330
+ .empty-state-figure {
4331
+ display: flex;
4332
+ justify-content: center;
4333
+ margin-bottom: var(--spacing-8);
4334
+ }
3611
4335
  .empty-state-icon {
3612
4336
  display: inline-flex;
3613
4337
  align-items: center;
@@ -3619,7 +4343,9 @@ p {
3619
4343
  background-color: var(--surface-brand-subtle);
3620
4344
  color: var(--text-brand);
3621
4345
  }
4346
+ /* titleAs 가 h1~h3 이어도 리셋 없이 쓰는 앱의 제목 여백을 받지 않는다 */
3622
4347
  .empty-state-title {
4348
+ margin: 0;
3623
4349
  font-size: var(--font-size-base);
3624
4350
  line-height: var(--line-height-base);
3625
4351
  font-weight: var(--font-weight-semibold);
@@ -3635,6 +4361,139 @@ p {
3635
4361
  .empty-state-action {
3636
4362
  margin-top: var(--spacing-8);
3637
4363
  }
4364
+ /* reset.css 없이 components.css 만 가져온 앱에서도 글머리표·들여쓰기가 생기지 않게 한다 */
4365
+ .base-grid-list:where(.root) {
4366
+ display: grid;
4367
+ margin: 0;
4368
+ padding: 0;
4369
+ list-style: none;
4370
+ }
4371
+ .base-grid-list:where(.item) {
4372
+ margin: 0;
4373
+ padding: 0;
4374
+ min-width: 0;
4375
+ }
4376
+ /* 칸 안은 div·button·링크 어느 것이든 같은 모양이다 */
4377
+ .base-grid-list:where(.action) {
4378
+ display: flex;
4379
+ flex-direction: column;
4380
+ box-sizing: border-box;
4381
+ width: 100%;
4382
+ padding: 0;
4383
+ border: 0;
4384
+ background-color: transparent;
4385
+ color: inherit;
4386
+ font: inherit;
4387
+ text-align: start;
4388
+ text-decoration: none;
4389
+ }
4390
+ /***************************************************************************************************
4391
+ * *
4392
+ * grid-list *
4393
+ * *
4394
+ ***************************************************************************************************/
4395
+ /* --grid-list-column 은 column prop 이 루트 style 에 둔다 */
4396
+ .grid-list {
4397
+ grid-template-columns: repeat(var(--grid-list-column), minmax(0, 1fr));
4398
+ gap: var(--spacing-20) var(--spacing-12);
4399
+ }
4400
+ .grid-list-item-action {
4401
+ gap: var(--spacing-8);
4402
+ }
4403
+ .grid-list-item-action:is(a[href],button) {
4404
+ cursor: pointer;
4405
+ }
4406
+ /* 그림 칸은 1:1. Asset.Image 는 칸을 채우고 Asset.Frame 은 가운데 놓인다 */
4407
+ .grid-list-item-image {
4408
+ display: flex;
4409
+ align-items: center;
4410
+ justify-content: center;
4411
+ aspect-ratio: 1;
4412
+ overflow: hidden;
4413
+ border-radius: var(--radius-surface);
4414
+ background-color: var(--surface-muted);
4415
+ }
4416
+ .grid-list-item-text {
4417
+ color: var(--text-body);
4418
+ font-size: var(--font-size-sm);
4419
+ line-height: var(--line-height-sm);
4420
+ font-weight: var(--font-weight-medium);
4421
+ }
4422
+ /* 구멍 자리를 눌러 그 아래 대상이 눌리도록 틀은 누름을 받지 않고, 바탕·메시지만 받는다 */
4423
+ .base-highlight:where(.root) {
4424
+ position: fixed;
4425
+ inset: 0;
4426
+ z-index: var(--z-modal);
4427
+ pointer-events: none;
4428
+ }
4429
+ .base-highlight:where(.backdrop) {
4430
+ position: absolute;
4431
+ inset: 0;
4432
+ pointer-events: auto;
4433
+ }
4434
+ .base-highlight:where(.hole) {
4435
+ position: absolute;
4436
+ border-radius: var(--radius-control);
4437
+ box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--surface-overlay) 50%, transparent); /* raw-value */
4438
+ pointer-events: none;
4439
+ }
4440
+ .base-highlight:where(.message) {
4441
+ pointer-events: auto;
4442
+ }
4443
+ /***************************************************************************************************
4444
+ * *
4445
+ * highlight *
4446
+ * *
4447
+ ***************************************************************************************************/
4448
+ /* delay(--motion-appear-delay) 동안은 틀 전체를 가린다. visibility 라 바탕이 누름도 받지 않는다 */
4449
+ .highlight[data-state='open'] {
4450
+ animation: motion-appear-hold var(--motion-appear-delay, 0ms) linear;
4451
+ }
4452
+ .highlight[data-state='open'] .highlight-hole {
4453
+ animation: motion-enter-fade var(--motion-enter-duration) var(--motion-enter-ease)
4454
+ var(--motion-appear-delay, 0ms) backwards;
4455
+ }
4456
+ .highlight[data-state='open'] .highlight-message {
4457
+ animation: motion-enter-pop var(--motion-enter-duration) var(--motion-enter-ease)
4458
+ var(--motion-appear-delay, 0ms) backwards;
4459
+ }
4460
+ .highlight[data-state='closed'] {
4461
+ animation: motion-exit-fade var(--motion-exit-duration) var(--motion-exit-ease) forwards;
4462
+ }
4463
+ .highlight-message-anchor {
4464
+ position: absolute;
4465
+ display: flex;
4466
+ pointer-events: none;
4467
+ }
4468
+ .highlight-message-anchor[data-align-y='bottom'] {
4469
+ margin-top: var(--spacing-12);
4470
+ --motion-slide-offset: translateY(calc(var(--motion-enter-offset) * -1));
4471
+ }
4472
+ .highlight-message-anchor[data-align-y='top'] {
4473
+ margin-bottom: var(--spacing-12);
4474
+ --motion-slide-offset: translateY(var(--motion-enter-offset));
4475
+ }
4476
+ .highlight-message-anchor[data-align-x='center'] {
4477
+ transform: translateX(-50%);
4478
+ }
4479
+ .highlight-message {
4480
+ box-sizing: border-box;
4481
+ max-width: var(--highlight-message-max-width);
4482
+ padding: var(--spacing-12) var(--spacing-16);
4483
+ border-radius: var(--radius-control);
4484
+ background-color: var(--surface-base);
4485
+ box-shadow: var(--shadow-floating);
4486
+ font-size: var(--font-size-sm);
4487
+ line-height: var(--line-height-sm);
4488
+ font-weight: var(--font-weight-medium);
4489
+ color: var(--text-primary);
4490
+ }
4491
+ .highlight-message-anchor[data-align-y='bottom'] .highlight-message {
4492
+ transform-origin: top center;
4493
+ }
4494
+ .highlight-message-anchor[data-align-y='top'] .highlight-message {
4495
+ transform-origin: bottom center;
4496
+ }
3638
4497
  .base-icon {
3639
4498
  flex-shrink: 0;
3640
4499
  vertical-align: middle;
@@ -3732,6 +4591,84 @@ p {
3732
4591
  background-color: var(--surface-disabled);
3733
4592
  color: var(--text-on-disabled);
3734
4593
  }
4594
+ .base-keypad:where(:not(.key,.blank)) {
4595
+ display: grid;
4596
+ grid-template-columns: repeat(var(--keypad-columns), minmax(0, 1fr));
4597
+ gap: var(--spacing-4);
4598
+ }
4599
+ .base-keypad:where(.key) {
4600
+ display: inline-flex;
4601
+ align-items: center;
4602
+ justify-content: center;
4603
+ min-width: 0;
4604
+ height: var(--keypad-key-height);
4605
+ padding: 0;
4606
+ border: none;
4607
+ background: transparent;
4608
+ color: inherit;
4609
+ font: inherit;
4610
+ cursor: var(--cursor-button);
4611
+ }
4612
+ .base-keypad:where(.key):disabled {
4613
+ cursor: var(--cursor-disabled);
4614
+ }
4615
+ /***************************************************************************************************
4616
+ * *
4617
+ * base-keypad *
4618
+ * *
4619
+ ***************************************************************************************************/
4620
+ .keypad {
4621
+ padding: var(--spacing-8);
4622
+ background-color: var(--surface-base);
4623
+ color: var(--text-primary);
4624
+ font-size: var(--font-size-2xl);
4625
+ font-weight: var(--font-weight-medium);
4626
+ -webkit-user-select: none;
4627
+ -moz-user-select: none;
4628
+ user-select: none;
4629
+ }
4630
+ .keypad-key {
4631
+ border-radius: var(--radius-control);
4632
+ /* .motion-press 의 transform 전환을 덮지 않게 둘을 함께 적는다 */
4633
+ transition:
4634
+ transform var(--motion-press-duration) var(--motion-press-ease),
4635
+ background-color var(--motion-press-duration) var(--motion-press-ease);
4636
+ touch-action: manipulation;
4637
+
4638
+ /* 진짜 눌림(:active)과 secure 의 가짜 눌림(data-pressed)이 같아 보여야 어느 키를 눌렀는지 드러나지 않는다 */
4639
+ }
4640
+ .keypad-key:active:not(:disabled),.keypad-key[data-pressed] {
4641
+ background-color: var(--surface-muted);
4642
+ }
4643
+ .keypad-key.motion-press[data-pressed] {
4644
+ transform: scale(var(--motion-press-scale));
4645
+ }
4646
+ .keypad-key[aria-pressed='true'] {
4647
+ color: var(--text-brand);
4648
+ }
4649
+ .alphabet-keypad,
4650
+ .full-secure-keypad {
4651
+ font-size: var(--font-size-xl);
4652
+ }
4653
+ .full-secure-keypad {
4654
+ gap: var(--spacing-2);
4655
+ padding: var(--spacing-8) var(--spacing-4);
4656
+ }
4657
+ .full-secure-keypad-footer {
4658
+ grid-column: 1 / -1;
4659
+ display: flex;
4660
+ flex-direction: column;
4661
+ gap: var(--spacing-8);
4662
+ margin-top: var(--spacing-8);
4663
+ }
4664
+ .full-secure-keypad-space {
4665
+ width: 100%;
4666
+ font-size: var(--font-size-base);
4667
+ background-color: var(--surface-subtle);
4668
+ }
4669
+ .full-secure-keypad-submit {
4670
+ width: 100%;
4671
+ }
3735
4672
  .base-list:where(.group) {
3736
4673
  display: flex;
3737
4674
  flex-direction: column;
@@ -3778,12 +4715,19 @@ p {
3778
4715
  * *
3779
4716
  ***************************************************************************************************/
3780
4717
  .list-row {
3781
- min-height: var(--list-row-height);
3782
4718
  gap: var(--spacing-12);
3783
4719
  padding: var(--spacing-10) var(--spacing-16);
3784
-
3785
- /* 누르는 행(링크·버튼)은 줄어들지 않고 공용 .motion-press-dim 으로 어두워진다. 폭이 꽉 찬 면이라 scale 이 어색하다 */
3786
4720
  }
4721
+ .list-row.size-s {
4722
+ min-height: var(--list-row-height-s);
4723
+ }
4724
+ .list-row.size-m {
4725
+ min-height: var(--list-row-height-m);
4726
+ }
4727
+ .list-row.size-l {
4728
+ min-height: var(--list-row-height-l);
4729
+ }
4730
+ /* 누르는 행(링크·버튼)은 줄어들지 않고 공용 .motion-press-dim 으로 어두워진다. 폭이 꽉 찬 면이라 scale 이 어색하다 */
3787
4731
  .list-row:is(a[href],button) {
3788
4732
  cursor: pointer;
3789
4733
 
@@ -3792,7 +4736,7 @@ p {
3792
4736
  .list-row:is(a[href],button):focus-visible {
3793
4737
  outline-offset: calc(var(--focus-ring-width) * -1);
3794
4738
  }
3795
- /* 행 사이 구분선. 왼쪽은 안쪽 여백만큼 띄운다 */
4739
+ /* 행 사이 구분선. 아래 행의 위쪽에 그리고, 모양은 위 행의 border 가 정한다. 기본(indented)은 왼쪽을 안쪽 여백만큼 띄운다 */
3796
4740
  .list-row + .list-row::before {
3797
4741
  content: '';
3798
4742
  position: absolute;
@@ -3802,6 +4746,12 @@ p {
3802
4746
  height: var(--hairline);
3803
4747
  background-color: var(--surface-muted);
3804
4748
  }
4749
+ .list-row.border-full + .list-row::before {
4750
+ left: 0;
4751
+ }
4752
+ .list-row.border-none + .list-row::before {
4753
+ content: none;
4754
+ }
3805
4755
  .list-row-leading {
3806
4756
  display: flex;
3807
4757
  flex: none;
@@ -3837,6 +4787,84 @@ p {
3837
4787
  flex: none;
3838
4788
  color: var(--text-placeholder);
3839
4789
  }
4790
+ /***************************************************************************************************
4791
+ * *
4792
+ * list-header *
4793
+ * *
4794
+ ***************************************************************************************************/
4795
+ .list-header {
4796
+ display: flex;
4797
+ align-items: center;
4798
+ gap: var(--spacing-12);
4799
+ padding: var(--spacing-12) var(--spacing-16);
4800
+ }
4801
+ .list-header.right-align-bottom {
4802
+ align-items: flex-end;
4803
+ }
4804
+ .list-header-text {
4805
+ display: flex;
4806
+ flex: 1;
4807
+ flex-direction: column;
4808
+ gap: var(--spacing-2);
4809
+ min-width: 0;
4810
+ }
4811
+ .list-header-title {
4812
+ color: var(--text-primary);
4813
+ font-size: var(--font-size-base);
4814
+ line-height: var(--line-height-base);
4815
+ font-weight: var(--font-weight-semibold);
4816
+ }
4817
+ .list-header-description {
4818
+ color: var(--text-muted);
4819
+ font-size: var(--font-size-sm);
4820
+ line-height: var(--line-height-sm);
4821
+ }
4822
+ .list-header-right {
4823
+ display: flex;
4824
+ flex: none;
4825
+ align-items: center;
4826
+ }
4827
+ /***************************************************************************************************
4828
+ * *
4829
+ * list-footer *
4830
+ * *
4831
+ ***************************************************************************************************/
4832
+ .list-footer {
4833
+ justify-content: center;
4834
+ gap: var(--spacing-4);
4835
+ min-height: var(--list-row-height-s);
4836
+ padding: var(--spacing-10) var(--spacing-16);
4837
+ color: var(--text-secondary);
4838
+ font-size: var(--font-size-sm);
4839
+ line-height: var(--line-height-sm);
4840
+ font-weight: var(--font-weight-medium);
4841
+ }
4842
+ .list-footer:is(a[href],button) {
4843
+ cursor: pointer;
4844
+ }
4845
+ .list-footer:is(a[href],button):focus-visible {
4846
+ outline-offset: calc(var(--focus-ring-width) * -1);
4847
+ }
4848
+ .list-footer[aria-busy='true'] {
4849
+ cursor: default;
4850
+ }
4851
+ /* 위쪽 선. ::after 는 눌림 딤이 쓴다 */
4852
+ .list-footer.border-full::before,.list-footer.border-indented::before {
4853
+ content: '';
4854
+ position: absolute;
4855
+ top: 0;
4856
+ right: 0;
4857
+ left: 0;
4858
+ height: var(--hairline);
4859
+ background-color: var(--surface-muted);
4860
+ }
4861
+ .list-footer.border-indented::before {
4862
+ left: var(--spacing-16);
4863
+ }
4864
+ .list-footer-icon {
4865
+ flex: none;
4866
+ color: var(--text-muted);
4867
+ }
3840
4868
  .base-inline-loading {
3841
4869
  display: flex;
3842
4870
  width: 100%;
@@ -4131,9 +5159,99 @@ p {
4131
5159
  justify-content: center;
4132
5160
  background-color: color-mix(in srgb, var(--surface-highlight) 60%, transparent);
4133
5161
  }
4134
- /* 흰 막 위라 기본 링 색(grey-200)은 안 보인다 */
4135
- .media-thumbnail-spinner {
4136
- color: var(--text-tertiary);
5162
+ /* 흰 막 위라 기본 링 색(grey-200)은 안 보인다 */
5163
+ .media-thumbnail-spinner {
5164
+ color: var(--text-tertiary);
5165
+ }
5166
+ .base-menu:where(.content) {
5167
+ z-index: var(--z-popover);
5168
+ }
5169
+ .base-menu:where(.item) {
5170
+ display: flex;
5171
+ align-items: center;
5172
+ cursor: pointer;
5173
+ outline: none;
5174
+ }
5175
+ .base-menu:where(.separator) {
5176
+ height: var(--hairline);
5177
+ }
5178
+ /***************************************************************************************************
5179
+ * *
5180
+ * menu *
5181
+ * *
5182
+ ***************************************************************************************************/
5183
+ .menu-content {
5184
+ box-sizing: border-box;
5185
+ min-width: var(--menu-min-width);
5186
+ max-height: var(--radix-dropdown-menu-content-available-height);
5187
+ overflow-y: auto;
5188
+ padding: var(--spacing-4) 0;
5189
+ background-color: var(--surface-base);
5190
+ border-radius: var(--radius-control);
5191
+ box-shadow: var(--shadow-popover);
5192
+
5193
+ /* 펼침은 공용 .motion-unfold 가 그린다. 축은 Radix 가 side·align 으로 계산한 트리거 쪽 모서리다(왼쪽·오른쪽 펼침 포함) */
5194
+ }
5195
+ .menu-content.motion-unfold[data-side] {
5196
+ transform-origin: var(--radix-dropdown-menu-content-transform-origin);
5197
+ }
5198
+ /* Radix DropdownMenu 는 닫힘 애니메이션이 끝나야 지운다. 펼침 대신 fade 로 나간다 */
5199
+ .menu-content[data-state='closed'] {
5200
+ animation: motion-exit-fade var(--motion-exit-duration) var(--motion-exit-ease) forwards;
5201
+ }
5202
+ .menu-header {
5203
+ display: flex;
5204
+ align-items: center;
5205
+ height: var(--menu-row-height-s);
5206
+ padding: 0 var(--spacing-16);
5207
+ font-size: var(--font-size-xsm);
5208
+ line-height: var(--line-height-xsm);
5209
+ font-weight: var(--font-weight-bold);
5210
+ color: var(--text-muted);
5211
+ }
5212
+ .menu-item {
5213
+ gap: var(--spacing-10);
5214
+ height: var(--menu-row-height-m);
5215
+ padding: 0 var(--spacing-16);
5216
+ font-size: var(--font-size-sm);
5217
+ line-height: var(--line-height-sm);
5218
+ font-weight: var(--font-weight-medium);
5219
+ color: var(--text-primary);
5220
+ text-decoration: none;
5221
+
5222
+ /* 키보드 이동·호버는 Radix 가 단 data-highlighted 배경이 보여 준다 */
5223
+ }
5224
+ .menu-item[data-highlighted] {
5225
+ background-color: var(--surface-muted);
5226
+ }
5227
+ /* 눌림은 딤만(press form dim). 행이 줄면 목록 가장자리에 틈이 보인다 */
5228
+ .menu-item.motion-press-dim::after {
5229
+ background: var(--surface-strong);
5230
+ }
5231
+ .menu-item[data-disabled] {
5232
+ color: var(--text-disabled);
5233
+ cursor: not-allowed;
5234
+ }
5235
+ .menu-item-left,
5236
+ .menu-item-right {
5237
+ display: inline-flex;
5238
+ align-items: center;
5239
+ flex-shrink: 0;
5240
+ color: var(--text-tertiary);
5241
+ }
5242
+ .menu-item-label {
5243
+ flex: 1;
5244
+ min-width: 0;
5245
+ overflow: hidden;
5246
+ text-overflow: ellipsis;
5247
+ white-space: nowrap;
5248
+ }
5249
+ .menu-item[data-state='checked'] .menu-item-right {
5250
+ color: var(--text-brand);
5251
+ }
5252
+ .menu-separator {
5253
+ margin: var(--spacing-4) 0;
5254
+ background-color: var(--border-subtle);
4137
5255
  }
4138
5256
  .base-message-composer:where(.root) {
4139
5257
  display: flex;
@@ -4534,6 +5652,72 @@ button.modal-with-double-button-close-button {
4534
5652
  align-items: center;
4535
5653
  gap: var(--spacing-10);
4536
5654
  }
5655
+ .base-numeric-spinner:where(.root) {
5656
+ display: inline-flex;
5657
+ align-items: center;
5658
+ }
5659
+ .base-numeric-spinner:where(.button) {
5660
+ display: inline-flex;
5661
+ flex-shrink: 0;
5662
+ align-items: center;
5663
+ justify-content: center;
5664
+ padding: 0;
5665
+ border: 0;
5666
+ background: transparent;
5667
+ cursor: var(--cursor-button);
5668
+ }
5669
+ .base-numeric-spinner[data-disabled]:where(.button) {
5670
+ cursor: not-allowed;
5671
+ }
5672
+ /***************************************************************************************************
5673
+ * *
5674
+ * numeric-spinner *
5675
+ * *
5676
+ ***************************************************************************************************/
5677
+ .numeric-spinner {
5678
+ border: var(--hairline) solid var(--border-default);
5679
+ border-radius: var(--radius-control);
5680
+ background: var(--surface-base);
5681
+ color: var(--text-primary);
5682
+ }
5683
+ .numeric-spinner.size-xs {
5684
+ height: var(--control-height-xs);
5685
+ font-size: var(--font-size-xsm);
5686
+ }
5687
+ .numeric-spinner.size-s {
5688
+ height: var(--control-height-s);
5689
+ font-size: var(--font-size-sm);
5690
+ }
5691
+ .numeric-spinner.size-m {
5692
+ height: var(--control-height-m);
5693
+ font-size: var(--font-size-base);
5694
+ }
5695
+ .numeric-spinner.size-l {
5696
+ height: var(--control-height-l);
5697
+ font-size: var(--font-size-lg);
5698
+ }
5699
+ .numeric-spinner[data-disabled] {
5700
+ border-color: var(--border-disabled);
5701
+ background: var(--surface-muted);
5702
+ color: var(--text-disabled);
5703
+ }
5704
+ /* 버튼은 컨트롤 높이의 정사각이다. 테두리 안쪽이라 높이를 그대로 물려받는다 */
5705
+ .numeric-spinner-button {
5706
+ height: 100%;
5707
+ aspect-ratio: 1;
5708
+ border-radius: var(--radius-control);
5709
+ color: var(--icon-primary);
5710
+ }
5711
+ .numeric-spinner-button[data-disabled] {
5712
+ color: var(--icon-disabled);
5713
+ }
5714
+ /* 999 까지 세 자리가 들어가도 버튼 자리가 흔들리지 않게 숫자 폭을 고정한다 */
5715
+ .numeric-spinner-value {
5716
+ min-width: 3ch;
5717
+ text-align: center;
5718
+ font-weight: var(--font-weight-semibold);
5719
+ font-variant-numeric: tabular-nums;
5720
+ }
4537
5721
  /* 카드·시트 안에 머무는 안내. 스스로 사라지는 알림은 Toast 다 */
4538
5722
  .base-notice {
4539
5723
  display: flex;
@@ -4682,6 +5866,117 @@ button.modal-with-double-button-close-button {
4682
5866
  .pagination-icon-next {
4683
5867
  transform: rotate(-90deg);
4684
5868
  }
5869
+ /* 글자 크기·굵기·색은 Text 의 클래스(.base-text 의 sm·bold·color-*)가 그린다. 여기는 줄 안에 놓이는 조각만 다룬다.
5870
+ 조각은 줄 높이를 정하지 않고 문단의 것을 물려받는다 */
5871
+ .base-paragraph:where(.badge) {
5872
+ display: inline-flex;
5873
+ align-items: center;
5874
+ white-space: nowrap;
5875
+ }
5876
+ /***************************************************************************************************
5877
+ * *
5878
+ * paragraph *
5879
+ * *
5880
+ ***************************************************************************************************/
5881
+ /* 아이콘·뱃지는 글자가 아니라 상자라 줄 가운데에 맞춘다. 글자 조각(text·link)은 기준선에 둔다.
5882
+ middle 을 주면 같은 크기 글자도 기준선에서 내려앉는다 */
5883
+ /* Icon 의 .icon.size-* 를 이기려고 세 클래스로 잡는다 */
5884
+ .base-paragraph.icon.paragraph-icon {
5885
+ width: var(--inline-icon-size);
5886
+ height: var(--inline-icon-size);
5887
+ vertical-align: middle;
5888
+ }
5889
+ .paragraph-badge {
5890
+ height: var(--inline-badge-height);
5891
+ padding: 0 var(--spacing-6);
5892
+ border-radius: var(--radius-pill);
5893
+ vertical-align: middle;
5894
+
5895
+ font-size: var(--font-size-xsm);
5896
+ font-weight: var(--font-weight-semibold);
5897
+
5898
+ /* 회색 바탕의 문단에서도 보이게 neutral 은 Badge 의 흰 바탕 대신 muted 를 쓴다 */
5899
+ }
5900
+ .paragraph-badge.variant-neutral {
5901
+ background-color: var(--surface-muted);
5902
+ color: var(--text-secondary);
5903
+ }
5904
+ .paragraph-badge.variant-primary {
5905
+ background-color: var(--surface-brand-subtle);
5906
+ color: var(--text-brand);
5907
+ }
5908
+ .paragraph-badge.variant-danger {
5909
+ background-color: var(--surface-danger-subtle);
5910
+ color: var(--text-danger);
5911
+ }
5912
+ .paragraph-badge.variant-success {
5913
+ background-color: var(--surface-success-subtle);
5914
+ color: var(--text-success);
5915
+ }
5916
+ .paragraph-badge.variant-warning {
5917
+ background-color: var(--surface-warning-subtle);
5918
+ color: var(--text-warning);
5919
+ }
5920
+ .paragraph-link {
5921
+ color: inherit;
5922
+ }
5923
+ .paragraph-link.underline {
5924
+ text-decoration-line: underline;
5925
+ }
5926
+ /* 조각 사이 간격은 각 조각의 아래 여백(padding-bottom) 하나로 둔다. paddingBottom prop 은 style 로 이것을 덮는다 */
5927
+ .base-post:where(.root) {
5928
+ color: var(--text-body);
5929
+ font-size: var(--font-size-base);
5930
+ line-height: var(--line-height-base);
5931
+ overflow-wrap: anywhere;
5932
+ }
5933
+ .base-post:where(.list) {
5934
+ padding-inline-start: var(--spacing-20);
5935
+ }
5936
+ .base-post:where(.rule) {
5937
+ border: 0;
5938
+ border-top: var(--hairline) solid var(--border-subtle);
5939
+ }
5940
+ /***************************************************************************************************
5941
+ * *
5942
+ * post *
5943
+ * *
5944
+ ***************************************************************************************************/
5945
+ .post-heading {
5946
+ padding-bottom: var(--spacing-12);
5947
+ }
5948
+ .post-paragraph {
5949
+ padding-bottom: var(--spacing-16);
5950
+ }
5951
+ /* 맨 위 목록은 기호 자리로 --spacing-20 을 비우고, 항목 안에 든 목록은 --spacing-16 만큼 더 들어간다 */
5952
+ .post-list {
5953
+ padding-bottom: var(--spacing-16);
5954
+ }
5955
+ .post-list .post-list {
5956
+ padding-inline-start: var(--spacing-16);
5957
+ padding-bottom: 0;
5958
+ }
5959
+ .post-ul {
5960
+ list-style-type: disc;
5961
+ }
5962
+ .post-ul .post-ul {
5963
+ list-style-type: circle;
5964
+ }
5965
+ .post-ol {
5966
+ list-style-type: decimal;
5967
+ }
5968
+ .post-ol .post-ol {
5969
+ list-style-type: lower-alpha;
5970
+ }
5971
+ .post-li {
5972
+ padding-bottom: var(--spacing-4);
5973
+ }
5974
+ .post-li:last-child {
5975
+ padding-bottom: 0;
5976
+ }
5977
+ .post-hr {
5978
+ padding-bottom: var(--spacing-16);
5979
+ }
4685
5980
  .base-radio:where(.button) {
4686
5981
  padding: 0;
4687
5982
  }
@@ -4749,65 +6044,283 @@ button.modal-with-double-button-close-button {
4749
6044
  --confirm-on: 0;
4750
6045
  transform: scale(max(0, var(--confirm-on) - var(--confirm-lag, 0)));
4751
6046
  }
4752
- .radio.radio-indicator[data-state='checked'] {
4753
- --confirm-on: 1;
4754
- }
4755
- .radio:where(.radio-label) {
6047
+ .radio.radio-indicator[data-state='checked'] {
6048
+ --confirm-on: 1;
6049
+ }
6050
+ .radio:where(.radio-label) {
6051
+ font-size: var(--font-size-sm);
6052
+ line-height: var(--line-height-sm);
6053
+ font-weight: var(--font-weight-medium);
6054
+ color: var(--text-primary);
6055
+ }
6056
+ /* disabled: 글자·점은 회색, 커서는 비활성. 버튼은 BaseButton 이, 라벨은 RadioLabel 이 data-disabled 를 단다 */
6057
+ .radio.radio-label[data-disabled] {
6058
+ color: var(--text-placeholder);
6059
+ cursor: var(--cursor-disabled);
6060
+ }
6061
+ /* disabled 는 Checkbox 와 같이 회색 채움에 테두리 없음. 골라진 것은 흰 점이 남는다 */
6062
+ .radio.radio-button[data-disabled] {
6063
+ cursor: var(--cursor-disabled);
6064
+ border-color: var(--border-disabled);
6065
+ background-color: var(--surface-control);
6066
+ }
6067
+ /* chip: 줄을 바꿔 가로로 늘어놓는다 */
6068
+ .radio.radio-group.variant-chip {
6069
+ flex-direction: row;
6070
+ flex-wrap: wrap;
6071
+ gap: var(--spacing-8);
6072
+ }
6073
+ /* 모양은 ChipGroup 칩과 같다. .base-button 의 border·radius 초기화를 이기려고 .radio.radio-chip 으로 건다.
6074
+ 색만 바뀌는 확정이라 confirm fade, 눌림은 공용 .motion-press(::after 는 터치 영역이라 딤은 쓰지 않는다),
6075
+ 포커스 링은 전역 규칙이 그린다 */
6076
+ .radio.radio-chip {
6077
+ height: var(--control-height-s);
6078
+ padding: 0 var(--spacing-14);
6079
+ border: var(--hairline) solid var(--border-default);
6080
+ border-radius: var(--radius-pill);
6081
+ background-color: var(--surface-subtle);
6082
+ color: var(--text-tertiary);
6083
+ font-size: var(--font-size-sm);
6084
+ font-weight: var(--font-weight-medium);
6085
+ /* .motion-press 의 transform 전환을 같은 선언에 다시 적는다 */
6086
+ transition:
6087
+ transform var(--motion-press-duration) var(--motion-press-ease),
6088
+ background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
6089
+ var(--confirm-delay, 0ms),
6090
+ color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
6091
+ var(--confirm-delay, 0ms),
6092
+ border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
6093
+ var(--confirm-delay, 0ms);
6094
+ }
6095
+ .radio.radio-chip[data-state='checked'] {
6096
+ border-color: var(--border-accent);
6097
+ background-color: var(--surface-brand);
6098
+ color: var(--text-on-brand-subtle);
6099
+ font-weight: var(--font-weight-semibold);
6100
+ }
6101
+ .radio.radio-chip[data-disabled] {
6102
+ border-color: var(--border-disabled);
6103
+ color: var(--text-disabled);
6104
+ cursor: var(--cursor-disabled);
6105
+ }
6106
+ .base-rating:where(.root) {
6107
+ position: relative;
6108
+ display: inline-flex;
6109
+ align-items: center;
6110
+ }
6111
+ .base-rating:where(.star) {
6112
+ position: relative;
6113
+ display: inline-flex;
6114
+ }
6115
+ /* 별 위에 겹쳐 두되 보이지도 눌리지도 않는다. 포인터는 아래 별이 받고 키보드·낭독기는 이 range 가 받는다 */
6116
+ .base-rating:where(.input) {
6117
+ position: absolute;
6118
+ inset: 0;
6119
+ width: 100%;
6120
+ height: 100%;
6121
+ margin: 0;
6122
+ opacity: 0;
6123
+ pointer-events: none;
6124
+ }
6125
+ /***************************************************************************************************
6126
+ * *
6127
+ * rating *
6128
+ * *
6129
+ ***************************************************************************************************/
6130
+ .rating {
6131
+ gap: var(--spacing-2);
6132
+ border-radius: var(--radius-control);
6133
+ }
6134
+ .rating.size-xs .rating-value {
6135
+ font-size: var(--font-size-xsm);
6136
+ }
6137
+ .rating.size-s .rating-value {
6138
+ font-size: var(--font-size-sm);
6139
+ }
6140
+ .rating.size-m .rating-value {
6141
+ font-size: var(--font-size-base);
6142
+ }
6143
+ .rating.size-l .rating-value {
6144
+ font-size: var(--font-size-lg);
6145
+ }
6146
+ .rating.size-xl .rating-value {
6147
+ font-size: var(--font-size-xl);
6148
+ }
6149
+ .rating-star {
6150
+ cursor: var(--cursor-button);
6151
+ }
6152
+ .rating-star[data-disabled] {
6153
+ cursor: not-allowed;
6154
+ }
6155
+ .rating.read-only .rating-star {
6156
+ cursor: default;
6157
+ }
6158
+ /* 빈 별은 진행 막대의 바닥과 같은 역할이라 --surface-strong 이다 */
6159
+ .rating-star-rest {
6160
+ color: var(--surface-strong);
6161
+ }
6162
+ /* 채움 별은 빈 별 위에 겹쳐 --rating-fill 만큼 왼쪽부터 보인다(readOnly 의 4.5 는 다섯째 별 50%).
6163
+ 켜질 때 작은 크기에서 튀어 오르며 나타난다(confirm). --confirm-delay 는 delay prop */
6164
+ .rating-star-fill {
6165
+ position: absolute;
6166
+ inset: 0;
6167
+ color: var(--icon-brand);
6168
+ clip-path: inset(0 calc(100% - var(--rating-fill, 0%)) 0 0);
6169
+ opacity: 0;
6170
+ transform: scale(0.5);
6171
+ transition:
6172
+ opacity var(--motion-confirm-weak-duration) var(--motion-confirm-weak-ease)
6173
+ var(--confirm-delay, 0ms),
6174
+ transform var(--motion-confirm-weak-duration) var(--motion-confirm-weak-ease)
6175
+ var(--confirm-delay, 0ms);
6176
+ }
6177
+ .rating-star[data-state='on'] .rating-star-fill {
6178
+ opacity: 1;
6179
+ transform: none;
6180
+ }
6181
+ .rating[data-disabled] .rating-star-fill {
6182
+ color: var(--icon-disabled);
6183
+ }
6184
+ .rating-value {
6185
+ margin-left: var(--spacing-4);
6186
+ color: var(--text-primary);
6187
+ font-weight: var(--font-weight-semibold);
6188
+ font-variant-numeric: tabular-nums;
6189
+ }
6190
+ /* 브라우저가 type="search" 에 그리는 지우기 버튼은 TextField 의 지우기 버튼과 겹친다 */
6191
+ .base-search-field input[type='search']::-webkit-search-cancel-button,.base-search-field input[type='search']::-webkit-search-decoration {
6192
+ -webkit-appearance: none;
6193
+ appearance: none;
6194
+ }
6195
+ /***************************************************************************************************
6196
+ * *
6197
+ * base-search-field *
6198
+ * *
6199
+ ***************************************************************************************************/
6200
+ .search-field[data-fixed] {
6201
+ position: sticky;
6202
+ top: 0;
6203
+ z-index: var(--z-sticky-header);
6204
+
6205
+ /* 고정된 상자 뒤로 내용이 스크롤해 지나가므로 바탕을 깔아 가린다 */
6206
+ }
6207
+ .search-field[data-fixed] > .search-field-bar {
6208
+ padding: var(--spacing-8) 0;
6209
+ background-color: var(--surface-base);
6210
+ }
6211
+ /* 자리를 남기지 않는 고정은 높이 0 으로 흐름에서 빠지고 상자는 아래로 넘쳐 보인다 */
6212
+ .search-field[data-fixed]:not([data-take-space]) {
6213
+ height: 0;
6214
+ overflow: visible;
6215
+ }
6216
+ .base-segmented-control:where(.root) {
6217
+ position: relative;
6218
+ display: block;
6219
+ }
6220
+ .base-segmented-control:where(.item) {
6221
+ position: relative;
6222
+ z-index: var(--z-raised);
6223
+ display: inline-flex;
6224
+ align-items: center;
6225
+ justify-content: center;
6226
+ border: 0;
6227
+ background: transparent;
6228
+ white-space: nowrap;
6229
+ cursor: var(--cursor-button);
6230
+ }
6231
+ .base-segmented-control[data-disabled]:where(.item) {
6232
+ cursor: not-allowed;
6233
+ }
6234
+ .base-segmented-control:where(.indicator) {
6235
+ position: absolute;
6236
+ z-index: var(--z-base);
6237
+ pointer-events: none;
6238
+ }
6239
+ /***************************************************************************************************
6240
+ * *
6241
+ * segmented-control *
6242
+ * *
6243
+ ***************************************************************************************************/
6244
+ .segmented-control {
6245
+ padding: var(--spacing-2);
6246
+ border-radius: var(--radius-control);
6247
+ background: var(--surface-muted);
6248
+ }
6249
+ .segmented-control.size-s {
6250
+ height: var(--segmented-height-s);
6251
+ font-size: var(--font-size-xsm);
6252
+ }
6253
+ .segmented-control.size-m {
6254
+ height: var(--segmented-height-m);
4756
6255
  font-size: var(--font-size-sm);
4757
- line-height: var(--line-height-sm);
4758
- font-weight: var(--font-weight-medium);
4759
- color: var(--text-primary);
4760
6256
  }
4761
- /* disabled: 글자·점은 회색, 커서는 비활성. 버튼은 BaseButton 이, 라벨은 RadioLabel 이 data-disabled 를 단다 */
4762
- .radio.radio-label[data-disabled] {
4763
- color: var(--text-placeholder);
4764
- cursor: var(--cursor-disabled);
6257
+ .segmented-control-list {
6258
+ position: relative;
6259
+ display: flex;
6260
+ height: 100%;
6261
+ overflow-x: auto;
6262
+ scrollbar-width: none;
6263
+ }
6264
+ .segmented-control-list::-webkit-scrollbar {
6265
+ display: none;
4765
6266
  }
4766
- /* disabled 는 Checkbox 와 같이 회색 채움에 테두리 없음. 골라진 것은 흰 점이 남는다 */
4767
- .radio.radio-button[data-disabled] {
4768
- cursor: var(--cursor-disabled);
4769
- border-color: var(--border-disabled);
4770
- background-color: var(--surface-control);
6267
+ /* 기본은 칸이 폭을 똑같이 나눈다(basis 0). 글자가 그 폭보다 길면 글자 폭 아래로 줄지 않고 목록이 넘쳐 밀린다 */
6268
+ .segmented-control-item {
6269
+ flex: 1 1 0;
6270
+ min-width: -moz-max-content;
6271
+ min-width: max-content;
6272
+ padding: 0 var(--spacing-12);
6273
+ border-radius: calc(var(--radius-control) - var(--spacing-2));
6274
+ color: var(--text-tertiary);
6275
+ font-weight: var(--font-weight-medium);
6276
+ transition: color var(--motion-indicate-spring-duration) var(--motion-indicate-spring-ease);
6277
+
6278
+ /* 딤 색은 선택 배경(흰 판)과 같은 색조라, 누르는 동안 그 칸이 골라질 자리처럼 밝아진다 */
6279
+ }
6280
+ .segmented-control-item.motion-press-dim::after {
6281
+ background: var(--surface-base);
4771
6282
  }
4772
- /* chip: 줄을 바꿔 가로로 늘어놓는다 */
4773
- .radio.radio-group.variant-chip {
4774
- flex-direction: row;
4775
- flex-wrap: wrap;
4776
- gap: var(--spacing-8);
6283
+ .segmented-control-item[data-state='checked'] {
6284
+ color: var(--text-primary);
6285
+ font-weight: var(--font-weight-semibold);
4777
6286
  }
4778
- /* 모양은 ChipGroup 칩과 같다. .base-button 의 border·radius 초기화를 이기려고 .radio.radio-chip 으로 건다.
4779
- 색만 바뀌는 확정이라 confirm fade, 눌림은 공용 .motion-press(::after 는 터치 영역이라 딤은 쓰지 않는다),
4780
- 포커스 링은 전역 규칙이 그린다 */
4781
- .radio.radio-chip {
4782
- height: var(--control-height-s);
4783
- padding: 0 var(--spacing-14);
4784
- border: var(--hairline) solid var(--border-default);
4785
- border-radius: var(--radius-pill);
4786
- background-color: var(--surface-subtle);
4787
- color: var(--text-tertiary);
4788
- font-size: var(--font-size-sm);
4789
- font-weight: var(--font-weight-medium);
4790
- /* .motion-press 의 transform 전환을 같은 선언에 다시 적는다 */
4791
- transition:
4792
- transform var(--motion-press-duration) var(--motion-press-ease),
4793
- background-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
4794
- var(--confirm-delay, 0ms),
4795
- color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
4796
- var(--confirm-delay, 0ms),
4797
- border-color var(--motion-confirm-fade-duration) var(--motion-confirm-fade-ease)
4798
- var(--confirm-delay, 0ms);
6287
+ .segmented-control-item[data-disabled] {
6288
+ color: var(--text-disabled);
4799
6289
  }
4800
- .radio.radio-chip[data-state='checked'] {
4801
- border-color: var(--border-accent);
4802
- background-color: var(--surface-brand);
4803
- color: var(--text-on-brand-subtle);
4804
- font-weight: var(--font-weight-semibold);
4805
- }
4806
- .radio.radio-chip[data-disabled] {
4807
- border-color: var(--border-disabled);
4808
- color: var(--text-disabled);
4809
- cursor: var(--cursor-disabled);
4810
- }
6290
+ /* 목록이 가로 스크롤이라 바깥 링은 위아래가 잘린다. 안쪽으로 넣는다. 색·두께는 전역(styles/focus.css) */
6291
+ .segmented-control-item:focus-visible {
6292
+ outline-offset: calc(-1 * var(--focus-ring-width));
6293
+ }
6294
+ .segmented-control.fluid .segmented-control-item {
6295
+ flex: 0 0 auto;
6296
+ }
6297
+ .segmented-control-indicator {
6298
+ top: 0;
6299
+ bottom: 0;
6300
+ border-radius: calc(var(--radius-control) - var(--spacing-2));
6301
+ background: var(--surface-base);
6302
+ box-shadow: var(--shadow-popover);
6303
+ transition:
6304
+ left var(--motion-indicate-spring-duration) var(--motion-indicate-spring-ease),
6305
+ width var(--motion-indicate-spring-duration) var(--motion-indicate-spring-ease);
6306
+ }
6307
+ /* 넘쳐 밀린 목록 위에 떠서 처음으로 되돌리는 화살표. 목록 밖에 두어 함께 밀리지 않는다(Tabs 와 같다) */
6308
+ .segmented-control-scroll-start {
6309
+ position: absolute;
6310
+ top: var(--spacing-2);
6311
+ bottom: var(--spacing-2);
6312
+ left: var(--spacing-2);
6313
+ z-index: var(--z-sticky);
6314
+ display: inline-flex;
6315
+ align-items: center;
6316
+ padding: 0 var(--spacing-8);
6317
+ border: 0;
6318
+ border-radius: calc(var(--radius-control) - var(--spacing-2));
6319
+ background: linear-gradient(to right, var(--surface-muted) 60%, transparent);
6320
+ color: var(--text-tertiary);
6321
+ cursor: var(--cursor-button);
6322
+ animation: motion-enter-fade var(--motion-enter-duration) var(--motion-enter-ease);
6323
+ }
4811
6324
  .base-skeleton {
4812
6325
  display: block;
4813
6326
  box-sizing: border-box;
@@ -4890,6 +6403,105 @@ button.modal-with-double-button-close-button {
4890
6403
  display: block;
4891
6404
  flex: 0 0 var(--skeleton-spacer-size);
4892
6405
  }
6406
+ .base-slider:where(.root) {
6407
+ position: relative;
6408
+ display: flex;
6409
+ align-items: center;
6410
+ width: 100%;
6411
+ height: var(--slider-thumb-size);
6412
+ -webkit-user-select: none;
6413
+ -moz-user-select: none;
6414
+ user-select: none;
6415
+ touch-action: none;
6416
+ }
6417
+ .base-slider:where(.track) {
6418
+ position: relative;
6419
+ flex-grow: 1;
6420
+ overflow: hidden;
6421
+ }
6422
+ .base-slider:where(.range) {
6423
+ position: absolute;
6424
+ height: 100%;
6425
+ }
6426
+ .base-slider:where(.thumb) {
6427
+ display: block;
6428
+ cursor: grab;
6429
+ }
6430
+ .base-slider:where(.thumb):active {
6431
+ cursor: grabbing;
6432
+ }
6433
+ .base-slider[data-disabled]:where(.thumb) {
6434
+ cursor: not-allowed;
6435
+ }
6436
+ /***************************************************************************************************
6437
+ * *
6438
+ * slider *
6439
+ * *
6440
+ ***************************************************************************************************/
6441
+ .slider {
6442
+ display: flex;
6443
+ flex-direction: column;
6444
+ gap: var(--spacing-8);
6445
+ width: 100%;
6446
+ }
6447
+ .slider-track {
6448
+ height: var(--slider-track-thickness);
6449
+ border-radius: var(--radius-pill);
6450
+ background: var(--surface-muted);
6451
+ }
6452
+ .slider-range {
6453
+ border-radius: inherit;
6454
+ }
6455
+ .slider-range[data-disabled] {
6456
+ background: var(--surface-disabled);
6457
+ }
6458
+ .slider.variant-primary .slider-range:not([data-disabled]) {
6459
+ background: var(--surface-brand);
6460
+ }
6461
+ .slider.variant-neutral .slider-range:not([data-disabled]) {
6462
+ background: var(--surface-strong);
6463
+ }
6464
+ .slider-thumb {
6465
+ width: var(--slider-thumb-size);
6466
+ height: var(--slider-thumb-size);
6467
+ border: var(--hairline) solid var(--border-default);
6468
+ border-radius: var(--radius-circle);
6469
+ background: var(--surface-base);
6470
+ box-shadow: var(--shadow-floating);
6471
+ }
6472
+ .slider-thumb[data-disabled] {
6473
+ border-color: var(--border-disabled);
6474
+ box-shadow: none;
6475
+ }
6476
+ .slider-label {
6477
+ display: flex;
6478
+ justify-content: space-between;
6479
+ gap: var(--spacing-8);
6480
+ font-size: var(--font-size-xsm);
6481
+ color: var(--text-muted);
6482
+ }
6483
+ .slider[data-disabled] .slider-label {
6484
+ color: var(--text-disabled);
6485
+ }
6486
+ /* 입력 상자 모양은 text-field-style.css 의 .text-field-input-wrapper 를 그대로 쓴다. 여기는 두 칸 사이와 칸 폭만 둔다 */
6487
+ .base-split-text-field {
6488
+ box-sizing: border-box;
6489
+ }
6490
+ /***************************************************************************************************
6491
+ * *
6492
+ * base-split-text-field *
6493
+ * *
6494
+ ***************************************************************************************************/
6495
+ .split-text-field .split-text-field-separator,.split-text-field .split-text-field-hidden-digits {
6496
+ flex: none;
6497
+ color: var(--text-muted);
6498
+ }
6499
+ /* 성별 한 자리 칸은 글자 하나 폭이고 나머지 폭은 앞 칸이 가진다 */
6500
+ .split-text-field.split-text-field-rrn-first7 .split-text-field-second {
6501
+ flex: none;
6502
+ width: var(--split-text-field-digit-width);
6503
+ text-align: center;
6504
+ }
4893
6505
  .base-step-progress:where(.root) {
4894
6506
  display: grid;
4895
6507
  grid-template-columns: repeat(var(--step-count), minmax(0, 1fr));
@@ -5124,6 +6736,37 @@ button.modal-with-double-button-close-button {
5124
6736
  .switch-thumb[data-disabled] {
5125
6737
  background-color: var(--surface-muted);
5126
6738
  }
6739
+ .base-table-row {
6740
+ display: flex;
6741
+ align-items: baseline;
6742
+ }
6743
+ /***************************************************************************************************
6744
+ * *
6745
+ * table-row *
6746
+ * *
6747
+ ***************************************************************************************************/
6748
+ .table-row {
6749
+ gap: var(--spacing-12);
6750
+ padding: var(--spacing-8) var(--spacing-16);
6751
+ font-size: var(--font-size-sm);
6752
+ line-height: var(--line-height-sm);
6753
+ }
6754
+ .table-row.align-space-between .table-row-right {
6755
+ text-align: end;
6756
+ }
6757
+ /* leftRatio 가 없으면 var() 가 비어 width 가 auto(글자 폭)로 돌아간다 */
6758
+ .table-row-left {
6759
+ flex: 0 1 auto;
6760
+ width: calc(var(--table-row-left-ratio) * 1%);
6761
+ min-width: 0;
6762
+ color: var(--text-muted);
6763
+ }
6764
+ .table-row-right {
6765
+ flex: 1 1 0;
6766
+ min-width: 0;
6767
+ color: var(--text-body);
6768
+ font-weight: var(--font-weight-medium);
6769
+ }
5127
6770
  .base-table {
5128
6771
  /* 진짜 테이블 레이아웃을 쓴다. 행을 flex 로 두면 헤더와 본문의 열 폭이 따로 놀아 고정열 경계가 어긋난다 */
5129
6772
  width: -moz-fit-content;
@@ -5524,6 +7167,69 @@ button.modal-with-double-button-close-button {
5524
7167
  .text-area-helper-text.error {
5525
7168
  color: var(--text-error);
5526
7169
  }
7170
+ .base-text-button {
7171
+ position: relative;
7172
+ display: inline-flex;
7173
+ align-items: center;
7174
+ gap: var(--spacing-2);
7175
+ padding: 0 var(--spacing-4);
7176
+ border: none;
7177
+ background-color: transparent;
7178
+ white-space: nowrap;
7179
+ text-decoration: none;
7180
+ cursor: var(--cursor-button);
7181
+
7182
+ /* 글자 한 줄 높이라도 누르는 자리는 터치 44. ::after 는 .motion-press-dim 의 딤 레이어라 ::before 를 쓴다 */
7183
+ }
7184
+ .base-text-button::before {
7185
+ content: '';
7186
+ position: absolute;
7187
+ top: 50%;
7188
+ left: 50%;
7189
+ width: max(100%, var(--touch-target));
7190
+ height: max(100%, var(--touch-target));
7191
+ transform: translate(-50%, -50%);
7192
+ }
7193
+ .base-text-button[data-disabled] {
7194
+ cursor: var(--cursor-disabled);
7195
+ }
7196
+ /***************************************************************************************************
7197
+ * *
7198
+ * text-button *
7199
+ * *
7200
+ ***************************************************************************************************/
7201
+ /* 눌림 딤은 공용 .motion-press-dim 이, 포커스 링은 전역 규칙이 그린다. 딤 레이어가 이 모서리를 이어받는다 */
7202
+ .text-button {
7203
+ border-radius: var(--radius-control);
7204
+ font-weight: var(--font-weight-semibold);
7205
+ }
7206
+ .text-button.size-s {
7207
+ height: var(--text-button-height-s);
7208
+ font-size: var(--font-size-sm);
7209
+ line-height: var(--line-height-sm);
7210
+ }
7211
+ .text-button.size-m {
7212
+ height: var(--text-button-height-m);
7213
+ font-size: var(--font-size-base);
7214
+ line-height: var(--line-height-base);
7215
+ }
7216
+ .text-button.size-l {
7217
+ height: var(--text-button-height-l);
7218
+ font-size: var(--font-size-lg);
7219
+ line-height: var(--line-height-lg);
7220
+ }
7221
+ .text-button.color-primary {
7222
+ color: var(--text-brand);
7223
+ }
7224
+ .text-button.color-neutral {
7225
+ color: var(--text-secondary);
7226
+ }
7227
+ .text-button.variant-underline {
7228
+ text-decoration: underline;
7229
+ }
7230
+ .text-button[data-disabled] {
7231
+ color: var(--text-disabled);
7232
+ }
5527
7233
  .base-text-field.input {
5528
7234
  border: none;
5529
7235
  outline: none;
@@ -5956,3 +7662,64 @@ button.modal-with-double-button-close-button {
5956
7662
  .tooltip-content[data-state='closed'] {
5957
7663
  animation: motion-exit-fade var(--motion-exit-duration) var(--motion-exit-ease) forwards;
5958
7664
  }
7665
+ /* 화면 맨 위 제목 묶음. 위에서부터 upper · 제목 줄(글 + right) · lower 로 쌓는다 */
7666
+ .base-top {
7667
+ display: flex;
7668
+ flex-direction: column;
7669
+ }
7670
+ /***************************************************************************************************
7671
+ * *
7672
+ * top *
7673
+ * *
7674
+ ***************************************************************************************************/
7675
+ .top {
7676
+ padding: var(--spacing-20) var(--spacing-16) var(--spacing-16);
7677
+ }
7678
+ .top.right-vertical-align-center .top-main {
7679
+ align-items: center;
7680
+ }
7681
+ .top-upper {
7682
+ margin-bottom: var(--spacing-12);
7683
+ }
7684
+ .top-main {
7685
+ display: flex;
7686
+ align-items: flex-start;
7687
+ gap: var(--spacing-12);
7688
+ }
7689
+ /* 긴 제목은 줄바꿈하고 right 는 폭을 지킨다 */
7690
+ .top-text {
7691
+ display: flex;
7692
+ flex: 1;
7693
+ flex-direction: column;
7694
+ gap: var(--spacing-4);
7695
+ min-width: 0;
7696
+ word-break: break-word;
7697
+ }
7698
+ .top-right {
7699
+ flex: none;
7700
+ }
7701
+ .top-subtitle-top {
7702
+ font-size: var(--font-size-sm);
7703
+ line-height: var(--line-height-sm);
7704
+ font-weight: var(--font-weight-medium);
7705
+ color: var(--text-secondary);
7706
+ }
7707
+ /* 리셋 없이 쓰는 앱의 h1~h3 여백을 받지 않는다 */
7708
+ .top-title {
7709
+ margin: 0;
7710
+ font-size: var(--font-size-2xl);
7711
+ line-height: var(--line-height-2xl);
7712
+ font-weight: var(--font-weight-bold);
7713
+ color: var(--text-primary);
7714
+ }
7715
+ .top-subtitle-bottom {
7716
+ font-size: var(--font-size-sm);
7717
+ line-height: var(--line-height-sm);
7718
+ color: var(--text-muted);
7719
+ }
7720
+ .top-lower {
7721
+ display: flex;
7722
+ flex-wrap: wrap;
7723
+ gap: var(--spacing-8);
7724
+ margin-top: var(--spacing-16);
7725
+ }