@loafacto/ui 0.21.0 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -15,7 +15,6 @@
15
15
  */
16
16
  import './styles/base.css';
17
17
  import './styles/controls.css';
18
- import './styles/conventions.css';
19
18
  export { default as AppShell } from './components/AppShell.vue';
20
19
  export { default as AppToast } from './components/AppToast.vue';
21
20
  export { default as AppLoadingOverlay } from './components/AppLoadingOverlay.vue';
@@ -90,3 +89,4 @@ export { initTheme, useTheme, type ThemeMode } from './theme/useTheme';
90
89
  export { deriveSemanticPalette, applySemanticPalette, isLightBackground, colorToRgb, hexToRgb, luminance, contrastRatio, type SemanticPalette, } from './theme/themeColors';
91
90
  export { LOAFACTO_SERVICES, serviceIdForPath, isServicePath, } from './services';
92
91
  export type { ServiceDescriptor, ShellUser, RailItem, AppShellLabels, ShortcutLink, LfOption, LfTableColumn, LfTableSort, LfTreeNode, LfStep, LfStepStatus, LfDescriptionItem, LfDateRangeValue, LfTone, LfRankItem, LfChoiceMetric, LfCell, LfStatusTileLine, LfGridColumn, LfGridRow, } from './types';
92
+ import './styles/conventions.css';
@@ -225,6 +225,33 @@ to {
225
225
  *
226
226
  * 아래 :root 값은 다크 기준 기본값이며, 런타임에 applyTheme() 이 덮어쓴다.
227
227
  * 정적 CSS 만으로도 첫 페인트가 깨지지 않도록 하는 것이 목적이다.
228
+ *
229
+ * ── 옛 토큰 이름 (0.10.0 이전) ──────────────────────────────────────
230
+ *
231
+ * 팔레트를 밝은 슬레이트로 바꾸면서 토큰 이름도 함께 정리했다. 아래 일곱은 **지금 없는
232
+ * 이름**이다. 쓰던 곳이 있으면 오른쪽으로 바꿔야 한다.
233
+ *
234
+ * --admin-text-color → --admin-text-primary
235
+ * --admin-text-secondary-color → --admin-text-muted
236
+ * --admin-border-color → --admin-border
237
+ * --admin-primary-color → --admin-accent
238
+ * --admin-surface-color → --admin-surface
239
+ * --admin-danger-color → --admin-status-error
240
+ * --admin-success-color → --admin-status-success
241
+ *
242
+ * (`--admin-bg-color` 는 이름이 그대로다.)
243
+ *
244
+ * ⚠ **이 어긋남은 아무것도 깨뜨리지 않는다 — 그래서 위험하다.** 소비 측이 대개
245
+ * `var(--admin-text-color, #1f1d1a)` 처럼 기본값을 함께 적어 두기 때문에, 이름이 사라져도
246
+ * 빌드도 화면도 멀쩡하다. 다만 그 화면만 **라이브러리에서 색을 못 받고 옛 기본값으로
247
+ * 혼자 선다.** 판을 올려도 안 걸리고, 테마를 바꿔도 안 따라온다.
248
+ *
249
+ * 실제로 loafacto-docs 의 사서 화면이 그랬다 — 55 곳이 옛 이름이라 글자색이 0.10.0
250
+ * 이전의 #1f1d1a 에 멈춰 있었고, 0.21.0 으로 올리던 중에야 발견됐다(2026-11-18).
251
+ * 이름을 고치자 #0F172A 로 돌아왔다. hub · macro · agent 는 옛 이름을 쓰지 않는다.
252
+ *
253
+ * 토큰 이름을 또 바꾸게 되면 **여기에 줄을 더하고**, 소비 저장소에서
254
+ * `grep -r "admin-[a-z-]*-color"` 로 한 번 훑어라.
228
255
  */
229
256
 
230
257
  html,
@@ -299,9 +326,27 @@ html {
299
326
  * ── 짝으로 overflow-wrap 을 둔다 ────────────────────────────────────
300
327
  *
301
328
  * `keep-all` 만 두면 **띄어쓰기가 없는 긴 문자열**(러너 id·API 키·URL·긴 영단어)이 끊을
302
- * 자리를 못 찾아 상자를 뚫고 나간다. `anywhere` 는 「안 끊으면 넘치는 경우에만」 끊으라는
329
+ * 자리를 못 찾아 상자를 뚫고 나간다. `break-word` 는 「안 끊으면 넘치는 경우에만」 끊으라는
303
330
  * 뜻이라, 평소에는 어절을 지키고 넘칠 때만 글자 단위로 내려간다.
304
331
  *
332
+ * ⚠ **`anywhere` 가 아니다.** 둘 다 「넘칠 때만 끊는다」는 같지만, `anywhere` 는 그 끊을
333
+ * 자리를 **min-content 계산에도 넣는다** — 「어디서든 끊을 수 있다」고 보므로 상자의
334
+ * 최소 폭이 **글자 하나**가 된다. `break-word` 는 min-content 를 건드리지 않는다.
335
+ *
336
+ * 실측(한글 「키 이름과 접두어」의 min-content):
337
+ * anywhere 15px ← 글자 하나
338
+ * break-word 44px
339
+ * normal 44px
340
+ *
341
+ * 이 차이가 **자동 폭 표를 망가뜨린다.** `table-layout: auto` 는 칸의 min-content 를 보고
342
+ * 폭을 나누므로, 칸 하나가 15px 까지 쪼그라들고 그 안의 글자가 세로로 쌓인다. 실제로
343
+ * 0.21.0 에서 hub 의 LLM 키 표가 그랬다 — 첫 칸이 59×234px 가 되어 한 행이 234px 높이로
344
+ * 섰다(창 902px). `break-word` 로 바꾸니 126×70px 로 돌아왔다. flex 항목도 같은 이유로
345
+ * 쪼그라든다. 0.22.1 에서 고쳤다.
346
+ *
347
+ * 넘침 방지력은 똑같다 — 폭 120px 상자에 러너 id·URL 을 넣고 재 보면 둘 다 120px 안에
348
+ * 들어온다(`normal` 은 289px·469px 로 넘친다).
349
+ *
305
350
  * ── `*` 가 아니라 `:root` 인 것 ──────────────────────────────────────
306
351
  *
307
352
  * 둘 다 상속되는 속성이라 루트에 한 번 두면 전부 따라온다. `*` 로 두면 모든 요소에 값이
@@ -314,7 +359,7 @@ html {
314
359
  */
315
360
  :root {
316
361
  word-break: keep-all;
317
- overflow-wrap: anywhere;
362
+ overflow-wrap: break-word;
318
363
  }
319
364
 
320
365
  /* 셸 하위 전체를 border-box 로 둔다.
@@ -748,231 +793,6 @@ html {
748
793
  .lf-control--has-suffix {
749
794
  padding-right: 3rem;
750
795
  }
751
- /*
752
- * 화면 꼴 규칙 (0.20.0) — 서비스들이 같은 규칙으로 서게 하는 것.
753
- *
754
- * agent 콘솔의 base.css 에서 자라난 규칙을 라이브러리로 올렸다. 콘솔·hub·이후 솔루션이 같은 값을 쓰면
755
- * 「같은 회사가 만든 것」으로 읽힌다 — 화면마다 글자 크기가 0.72 · 0.74 · 0.75rem 으로 조금씩 다르면
756
- * 눈에는 같은 크기인데 「어수선하다」로 읽혔다(콘솔에서 글자 크기 44가지 · 모서리 23가지였던 것을 모았다).
757
- *
758
- * 간격 4 · 8 · 12 · 16 · 24 (rem 0.25 단위). 페이지 안쪽 여백은 줄이고 요소 사이 간격은 넉넉히.
759
- * 글자 페이지 제목 > 구획 제목(작고 흐린 대문자 느낌) > 본문 하나. 나머지는 색만 다르게.
760
- * 색 역할 파랑 = 정보·진행, 초록 = 성공, 빨강 = 실패, 회색 = 중지·비활성. 악센트는 누르는 것에만.
761
- * 단추 화면당 primary 하나. 나머지는 subtle/ghost. 줄마다 붙는 단추는 손을 올렸을 때만(.row-acts).
762
- * 빈 상태 「—」 대신 한 문장(+ 할 수 있는 단추).
763
- * 판(모달) 확인용 sm, 내용 있는 판 lg/xl. 팝오버·툴팁은 .pop 의 모서리·그림자.
764
- *
765
- * 함께 쓰는 스크립트: vThumb(탭 밑줄) · installTooltips(title 말풍선) · installDoneFeedback(저장 ✓).
766
- */
767
-
768
- /* ── 글자·모서리 단계 — 화면은 이 토큰만 쓴다 ─────────────────────────────── */
769
- :root {
770
- --fs-micro: 0.6875rem; /* 11px — 뱃지·숫자 점·아주 작은 표시 */
771
- --fs-caption: 0.75rem; /* 12px — 곁말·때·메타 */
772
- --fs-small: 0.8125rem; /* 13px — 목록·표·보조 본문 */
773
- --fs-body: 0.875rem; /* 14px — 본문 */
774
- --fs-body-lg: 0.9375rem; /* 15px — 읽는 글 */
775
- --fs-lead: 1rem; /* 16px — 모달 제목·강조 한 줄 */
776
- --fs-title: 1.125rem; /* 18px — 화면 제목(LfPageHeader)·큰 수치(LfStatCard) */
777
- --r-xs: 0.25rem; /* 4px — 작은 표시·코드 */
778
- --r-sm: 0.375rem; /* 6px — 칩 안·작은 단추 */
779
- --r-md: 0.5rem; /* 8px — 단추·입력 칸·목록 줄 */
780
- --r-lg: 0.75rem; /* 12px — 판·떠 있는 것 */
781
- /* 코드 글꼴 — 코드가 서는 자리에만. 값·이름까지 고정폭으로 두면 한 화면에 글씨가 두 벌로 섞여 읽힌다.
782
- 숫자만 열로 서야 하는 곳은 글꼴 대신 font-variant-numeric: tabular-nums. */
783
- --lf-font-code: ui-monospace, SFMono-Regular, Menlo, Consolas, "Cascadia Mono", monospace;
784
- }
785
-
786
- /*
787
- * ── 화면 — 머리말(LfPageHeader) 아래로 카드·표가 1rem 사이로 선다. ───────────────
788
- * 사이는 .pg 의 gap 하나가 맡는다 — 안에 든 것이 제 아래 여백(머리말 1rem · .pg-stats 1rem · 카드 구획 1rem)을
789
- * 그대로 두면 gap 과 겹쳐 2rem 이 됐다. 그래서 .pg 의 바로 아래 자식에서는 그 여백을 뺀다.
790
- */
791
- .pg { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
792
- .pg__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; align-items: start; }
793
- .pg__muted { font-size: var(--fs-caption); line-height: 1.6; color: var(--admin-text-muted); }
794
- .pg > .pg-stats, .pg > .pg--cards .sec:last-child, .pg.pg--cards > .sec { margin-bottom: 0; }
795
- /* 머리말은 scoped(1rem)에 좁은 화면 규칙(0.75rem, 아래)까지 있어 클래스를 겹쳐 이긴다. */
796
- .pg > .lf-page-header.lf-page-header[class] { margin-bottom: 0; }
797
- /* 작은 제목은 제 목록에 붙는다(0.4rem) — gap 1rem 을 그만큼 당긴다. 위 여백은 gap 이 맡는다. */
798
- .pg > .sub { margin-top: 0; margin-bottom: -0.6rem; }
799
-
800
- /* ── 구획 — 왼쪽 제목·설명, 오른쪽 내용. 설정 같은 폼 화면. 좁으면 세로로. ─────── */
801
- .sec { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1rem 2rem; padding: 1.25rem 0; border-top: 1px solid var(--admin-border); }
802
- .sec:first-of-type { border-top: 0; padding-top: 0.25rem; }
803
- .sec__head { min-width: 0; }
804
- .sec__title { margin: 0; font-size: var(--fs-body); font-weight: 700; color: var(--admin-text-heading); }
805
- .sec__desc { margin: 0.25rem 0 0; font-size: var(--fs-small); color: var(--admin-text-muted); line-height: 1.5; }
806
- .sec__body { display: flex; flex-direction: column; gap: 0.85rem; min-width: 0; }
807
- .sec__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.85rem; }
808
- .sec__foot { display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; }
809
- .sec__foot--between { justify-content: space-between; }
810
- .sec--danger { border-top-color: rgba(var(--admin-status-error-rgb, 214, 69, 69), 0.35); }
811
- .sec--danger .sec__title { color: var(--admin-status-error); }
812
- @media (max-width: 900px) { .sec { grid-template-columns: 1fr; gap: 0.6rem; } }
813
-
814
- /*
815
- * 카드 꼴(.pg--cards 안의 .sec) — 구획 하나가 카드 하나. 머리 줄에 제목·배지, 오른쪽 끝에 그 구획의 단추,
816
- * 선 아래 몸. 아주 넓은 화면에서는 읽을 폭(90rem)까지만.
817
- */
818
- .pg--cards, .pg--narrow { max-width: 90rem; }
819
- .pg--cards .sec { display: flex; flex-direction: column; gap: 0; padding: 0; margin-bottom: 1rem; border: 1px solid var(--admin-border); border-radius: var(--r-lg); background: var(--admin-surface); }
820
- .pg--cards .sec:first-of-type { padding-top: 0; }
821
- .pg--cards .sec__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 0.45rem 1.25rem; min-height: 2.75rem; border-bottom: 1px solid var(--admin-border); }
822
- .pg--cards .sec__title { margin: 0; font-size: var(--fs-body-lg); white-space: nowrap; }
823
- .pg--cards .sec__desc { margin: 0; flex-basis: 100%; }
824
- .pg--cards .sec__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-left: auto; white-space: nowrap; }
825
- .pg--cards .sec__body { gap: 0.85rem; padding: 1.1rem 1.25rem 1.25rem; }
826
- .pg--cards .sec__body--flush { padding: 0; }
827
- .pg--cards .sec--danger { border-color: rgba(var(--admin-status-error-rgb, 214, 69, 69), 0.35); }
828
- .pg--cards .sec__acts:empty { display: none; }
829
- .pg--cards .sec__tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: var(--r-md); background: var(--admin-accent-muted, var(--admin-hover)); color: var(--admin-accent); }
830
- .pg--cards .sec__titleBox { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
831
- .pg--cards .sec__sub { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; padding-top: 0.85rem; border-top: 1px solid var(--admin-border); font-size: var(--fs-body); font-weight: 700; color: var(--admin-text-heading); }
832
- .pg--cards .sec__meta { margin-left: auto; font-size: var(--fs-small); color: var(--admin-text-muted); }
833
- .pg--cards .sec__foot { margin-top: 0.25rem; padding-top: 0.85rem; border-top: 1px solid var(--admin-border); }
834
- .pg--cards .sec__body > .empty { align-items: center; justify-content: center; padding: 1.75rem 1rem; border: 1px dashed var(--admin-border); border-radius: var(--r-md); background: var(--admin-input-bg); }
835
- .pg--cards .sec__acts .lf-switch__label, .pg--cards .sec__acts .lf-switch__text { font-size: var(--fs-small); color: var(--admin-text-muted); }
836
- /* 칸 접기 — 머리 줄에 .sec__caret 이 있으면 누를 수 있게. 접히면(.sec--fold) 몸을 감춘다. */
837
- .pg--cards .sec__caret { flex: none; margin-right: -0.25rem; color: var(--admin-text-muted); transition: transform var(--lf-dur-fast) var(--lf-ease); }
838
- .pg--cards .sec:has(> .sec__head > .sec__caret) > .sec__head { cursor: pointer; user-select: none; }
839
- .pg--cards .sec--fold > .sec__head { border-bottom: 0; }
840
- .pg--cards .sec--fold > .sec__head > .sec__caret { transform: rotate(-90deg); }
841
- .pg--cards .sec--fold > .sec__body { display: none; }
842
- @media (max-width: 640px) { .pg--cards .sec__body { padding: 0.9rem 1rem 1rem; } }
843
-
844
- /* 숫자 칸 줄 — 카드 위에 서는 핵심 수치들. */
845
- .pg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
846
-
847
- /* 구획 제목 줄 — 카드 없이 목록·표 위에 서는 작은 제목. */
848
- .sub { display: flex; align-items: center; gap: 0.4rem; margin: 1rem 0 0.4rem; font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--admin-text-muted); }
849
- .sub__n { font-weight: 500; letter-spacing: 0; text-transform: none; }
850
- .sub__spacer { flex: 1; }
851
-
852
- /* 빈 상태 */
853
- .empty { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin: 0; padding: 1rem 1rem 1.1rem; color: var(--admin-text-muted); font-size: var(--fs-small); }
854
- .empty--center { align-items: center; text-align: center; padding: 2rem 1rem; }
855
-
856
- /* 곁말 — 칸 아래 설명·도움말 한 줄. */
857
- .hint { margin: 0; font-size: var(--fs-caption); color: var(--admin-text-muted); line-height: 1.5; }
858
-
859
- /* 줄 단추 — 손을 올렸을 때만. 키보드로 초점이 가면 보인다. */
860
- .row-acts { display: inline-flex; align-items: center; gap: 0.15rem; opacity: 0; transition: opacity var(--lf-dur-fast); }
861
- tr:hover .row-acts, li:hover .row-acts, .row:hover .row-acts, .row-acts:focus-within { opacity: 1; }
862
- @media (hover: none) { .row-acts { opacity: 1; } }
863
-
864
- /* 팝오버·툴팁 — 같은 모서리·그림자 */
865
- .pop { border: 1px solid var(--admin-border); border-radius: var(--r-md); background: var(--admin-surface, #fff); box-shadow: var(--lf-shadow-float); }
866
-
867
- /* 상태 점 */
868
- .dot { display: inline-block; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--admin-border); }
869
- .dot--info { background: var(--admin-status-info); }
870
- .dot--ok { background: var(--admin-status-success); }
871
- .dot--warn { background: var(--admin-status-warning); }
872
- .dot--bad { background: var(--admin-status-error); }
873
- .dot--off { background: var(--admin-text-muted); }
874
- .dot--run { background: var(--admin-status-info); animation: lf-dot-pulse 1.6s ease-in-out infinite; }
875
- @keyframes lf-dot-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
876
-
877
- /* 숫자를 열로 세울 곳(표의 수치 칸 등) */
878
- .num { font-variant-numeric: tabular-nums; }
879
- .code { font-family: var(--lf-font-code); font-size: 0.92em; }
880
-
881
- /* 글자가 든 단추(subtle·ghost)는 옅은 테두리를 둔다 — 테두리 없이 글자만 있으면 문자열로 읽혀 눌러도 되는지 몰랐다(실측). */
882
- .lf-btn--subtle:has(.lf-btn__label), .lf-btn--ghost:has(.lf-btn__label) { border-color: var(--admin-border); }
883
- .lf-btn--subtle:has(.lf-btn__label):hover, .lf-btn--ghost:has(.lf-btn__label):hover { border-color: color-mix(in srgb, var(--admin-text-muted) 45%, var(--admin-border)); }
884
-
885
- /* 화면 머리(h1 옆)의 단추는 작은 크기 — md 로 둔 것이 머리 글자보다 커 보였다. */
886
- .lf-page-header__tools .lf-btn--md { padding: 0.3125rem 0.625rem; font-size: var(--fs-caption); border-radius: var(--r-md); }
887
-
888
- /* 카드 머리(제목·단추) — 좁으면 단추를 다음 줄로(안 그러면 카드 overflow 에 잘린다). */
889
- .lf-card .lf-card__head[class] { flex-wrap: wrap; row-gap: 0.4rem; }
890
- .lf-card .lf-card__actions[class] { flex-wrap: wrap; flex-shrink: 1; min-width: 0; margin-left: auto; }
891
-
892
- /* ── 모달 — 머리·몸·발을 한 단계 작게. 창 안의 칸은 작은 치수로(창에서 적는 것은 몇 줄이다). ── */
893
- :root { --modal-title-sm: var(--fs-lead); --modal-title-md: var(--fs-lead); --modal-title-lg: 1.05rem; }
894
- .lf-modal .lf-modal__header { align-items: center; padding: 0.85rem 1.25rem; }
895
- .lf-modal .lf-modal__close .lf-icon { width: 1.125rem !important; height: 1.125rem !important; }
896
- .lf-modal .lf-modal__body { position: relative; padding: 1rem 1.25rem; }
897
- .lf-modal .lf-modal__footer { padding: 0.75rem 1.25rem; }
898
- .lf-modal .lf-control:not(.lf-control--sm) { padding: 0.375rem 0.625rem; font-size: var(--fs-small); border-radius: var(--r-md); }
899
- .lf-modal .lf-field__label { font-size: var(--fs-small); }
900
- /*
901
- * 콘솔(레일 셸) 본문의 입력 칸은 본문 글자(14px)로 — 라이브러리 기본(--page-input 15px)은 로그인 같은 랜딩 폼의 크기라
902
- * 표·목록(13px) 옆에서 칸 글자만 커 보였다. 창 안의 칸은 위 규칙(13px).
903
- */
904
- .lf-content--rail .lf-control:not(.lf-control--sm) { font-size: var(--fs-body); }
905
- /* 판이 content-box 면 max-height:100% 에 테두리가 더해져 덮개에 스크롤바가 섰다. */
906
- .lf-modal-scrim .lf-modal { box-sizing: border-box; }
907
-
908
- /*
909
- * ── 화면 이동 — 들어오는 화면만 움직인다 ──
910
- * 이전 화면은 기다리지 않고 바로 빠진다. 새 화면은 아래에서 살짝 떠오르며(화면), 탭 내용은 흐림만(탭).
911
- * 쓰는 법: 라우터 뷰를 :key 와 함께 <div class="lf-page-in"> 로 감싼다. 탭 몸은 lf-tab-in.
912
- * ⚠ 움직이는 동안만 transform 이 걸린다 — 끝나면 풀려서 안의 fixed 가 화면 기준으로 돌아온다.
913
- */
914
- .lf-page-in { min-width: 0; animation: lf-page-in var(--lf-dur, 0.18s) var(--lf-ease, ease); }
915
- .lf-tab-in { min-width: 0; animation: lf-tab-in var(--lf-dur, 0.18s) var(--lf-ease, ease); }
916
- @keyframes lf-page-in { from { opacity: 0; transform: translateY(4px); } }
917
- @keyframes lf-tab-in { from { opacity: 0; } }
918
- /* 내용이 바뀔 때 살짝 떠오르며 — 탭 내용·문서 본문 등에 :key 와 함께 단다. */
919
- .lf-swap-in { animation: lf-swap-in 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
920
- @keyframes lf-swap-in { from { opacity: 0; transform: translateY(6px); } }
921
-
922
- /*
923
- * 좁은 화면의 머리말 — 넓을 때처럼 제목 왼쪽, 단추 오른쪽. 한 줄에 다 안 들어가면 단추 줄이 제목 아래로 접힌다
924
- * (옆으로 밀어 숨기지 않는다). LfPageHeader 의 좁은 폭 규칙이 scoped 라 클래스를 겹쳐 이긴다.
925
- */
926
- @media (max-width: 959px) {
927
- .lf-content .lf-page-header.lf-page-header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-bottom: 0.6rem; margin-bottom: 0.75rem; border-bottom: 1px solid var(--admin-border); }
928
- .lf-content .lf-page-header__title-box.lf-page-header__title-box { flex: 0 1 auto; min-width: 0; margin-bottom: 0; }
929
- .lf-content .lf-page-header__tools.lf-page-header__tools { position: static; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; overflow: visible; margin: 0; padding-block: 0; border-bottom: 0; background: none; }
930
- }
931
-
932
- /* 좁은 화면의 레일 덮개 — ☰ 로 열면 왼쪽에서 밀려 나오고, 닫으면 밀려 들어간다. */
933
- @media (max-width: 860px) {
934
- html .lf-rail.lf-rail--overlay {
935
- transform: translateX(-100%); opacity: 0;
936
- transition: transform var(--lf-dur-exit, var(--lf-dur-fast)) var(--lf-ease-exit, ease), opacity var(--lf-dur-exit, var(--lf-dur-fast)) var(--lf-ease-exit, ease), display var(--lf-dur-exit, var(--lf-dur-fast)) allow-discrete;
937
- }
938
- html .lf-rail.lf-rail--overlay.lf-rail--open {
939
- transform: none; opacity: 1; box-shadow: var(--lf-shadow-float);
940
- transition: transform var(--lf-dur) var(--lf-ease, ease), opacity var(--lf-dur) var(--lf-ease, ease), display var(--lf-dur) allow-discrete;
941
- }
942
- @starting-style { html .lf-rail.lf-rail--overlay.lf-rail--open { transform: translateX(-100%); opacity: 0; } }
943
- }
944
-
945
- /* ── 「됐다」 — 누른 단추 위에 ✓ 가 잠깐 떴다 사라진다(installDoneFeedback · markDone 이 lf-done 을 붙인다). ── */
946
- .lf-done { position: relative; }
947
- .lf-done::after {
948
- content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit;
949
- background: var(--admin-surface); color: var(--admin-status-success, #2e9e5b); font-weight: 800; font-size: 1.05em;
950
- animation: lf-done 1.1s var(--lf-ease, ease) forwards; pointer-events: none;
951
- }
952
- .lf-btn--primary.lf-done::after { background: var(--admin-accent); color: var(--admin-accent-contrast, var(--admin-btn-primary-text, #fff)); }
953
- @keyframes lf-done { 0% { opacity: 0; transform: scale(0.6); } 18% { opacity: 1; transform: scale(1.08); } 30% { transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; } }
954
-
955
- /* ── 툴팁 — title 을 브라우저 상자 대신 이것으로(installTooltips). LfTooltip 의 말풍선과 같은 값. ── */
956
- .lf-tip { position: fixed; top: 0; left: 0; z-index: 5000; max-width: 20rem; width: max-content; padding: 0.375rem 0.625rem; font-size: var(--fs-caption); line-height: 1.5; white-space: pre-line; word-break: break-word; color: var(--admin-text-heading, #f9fafb); background: var(--admin-overlay, rgba(17, 24, 39, 0.95)); border: 1px solid var(--admin-border, rgba(255, 255, 255, 0.12)); border-radius: var(--r-md); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--lf-dur-fast, 0.12s) var(--lf-ease, ease); }
957
- .lf-tip--on { opacity: 1; visibility: visible; }
958
-
959
- /*
960
- * ── 탭 줄의 미끄러지는 표시(v-thumb) — 고른 탭을 따라 밑줄(bar)·바탕(fill)이 옮겨 간다. ──
961
- * 탭은 position: relative + z-index: 1 이어야 바탕(fill) 위에 글자가 선다. 밑줄은 탭 위에 얹힌다.
962
- */
963
- .lf-thumb { position: absolute; left: 0; top: 0; z-index: 0; box-sizing: border-box; pointer-events: none; opacity: 0; }
964
- .lf-thumb--ready { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.3s ease, opacity 0.2s ease; }
965
- .lf-thumb--bar { z-index: 2; border-radius: 1px; background: var(--lf-thumb-color, var(--admin-accent)); }
966
- .lf-thumb--fill { border: 1px solid var(--lf-thumb-border, transparent); border-radius: var(--lf-thumb-radius, var(--r-sm)); background: var(--lf-thumb-bg, var(--admin-surface)); box-shadow: var(--lf-thumb-shadow, none); }
967
-
968
- /* ── 움직임 줄이기 — 전체 안전망. 토큰을 안 쓰고 시간을 박은 곳까지 끝 상태로 바로. ── */
969
- @media (prefers-reduced-motion: reduce) {
970
- .dot--run { animation: none; }
971
- .lf-thumb--ready { transition: none; }
972
- .lf-swap-in, .lf-page-in, .lf-tab-in { animation: none; }
973
- html .lf-rail.lf-rail--overlay, html .lf-rail.lf-rail--overlay.lf-rail--open { transition: none; }
974
- *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
975
- }
976
796
 
977
797
  /* 셸의 .lf-glass + .lf-icon-btn 과 같은 값 — 둘 중 하나를 고치면 다른 쪽도 고친다. */
978
798
  .lf-shell-btn[data-v-55d5666c] {
@@ -5258,6 +5078,231 @@ tfoot .lf-gridedit__cell[data-v-8ab94cb9] {
5258
5078
  bottom: 0;
5259
5079
  background: var(--admin-surface, var(--admin-card-bg-solid, #111827));
5260
5080
  }
5081
+ /*
5082
+ * 화면 꼴 규칙 (0.20.0) — 서비스들이 같은 규칙으로 서게 하는 것.
5083
+ *
5084
+ * agent 콘솔의 base.css 에서 자라난 규칙을 라이브러리로 올렸다. 콘솔·hub·이후 솔루션이 같은 값을 쓰면
5085
+ * 「같은 회사가 만든 것」으로 읽힌다 — 화면마다 글자 크기가 0.72 · 0.74 · 0.75rem 으로 조금씩 다르면
5086
+ * 눈에는 같은 크기인데 「어수선하다」로 읽혔다(콘솔에서 글자 크기 44가지 · 모서리 23가지였던 것을 모았다).
5087
+ *
5088
+ * 간격 4 · 8 · 12 · 16 · 24 (rem 0.25 단위). 페이지 안쪽 여백은 줄이고 요소 사이 간격은 넉넉히.
5089
+ * 글자 페이지 제목 > 구획 제목(작고 흐린 대문자 느낌) > 본문 하나. 나머지는 색만 다르게.
5090
+ * 색 역할 파랑 = 정보·진행, 초록 = 성공, 빨강 = 실패, 회색 = 중지·비활성. 악센트는 누르는 것에만.
5091
+ * 단추 화면당 primary 하나. 나머지는 subtle/ghost. 줄마다 붙는 단추는 손을 올렸을 때만(.row-acts).
5092
+ * 빈 상태 「—」 대신 한 문장(+ 할 수 있는 단추).
5093
+ * 판(모달) 확인용 sm, 내용 있는 판 lg/xl. 팝오버·툴팁은 .pop 의 모서리·그림자.
5094
+ *
5095
+ * 함께 쓰는 스크립트: vThumb(탭 밑줄) · installTooltips(title 말풍선) · installDoneFeedback(저장 ✓).
5096
+ */
5097
+
5098
+ /* ── 글자·모서리 단계 — 화면은 이 토큰만 쓴다 ─────────────────────────────── */
5099
+ :root {
5100
+ --fs-micro: 0.6875rem; /* 11px — 뱃지·숫자 점·아주 작은 표시 */
5101
+ --fs-caption: 0.75rem; /* 12px — 곁말·때·메타 */
5102
+ --fs-small: 0.8125rem; /* 13px — 목록·표·보조 본문 */
5103
+ --fs-body: 0.875rem; /* 14px — 본문 */
5104
+ --fs-body-lg: 0.9375rem; /* 15px — 읽는 글 */
5105
+ --fs-lead: 1rem; /* 16px — 모달 제목·강조 한 줄 */
5106
+ --fs-title: 1.125rem; /* 18px — 화면 제목(LfPageHeader)·큰 수치(LfStatCard) */
5107
+ --r-xs: 0.25rem; /* 4px — 작은 표시·코드 */
5108
+ --r-sm: 0.375rem; /* 6px — 칩 안·작은 단추 */
5109
+ --r-md: 0.5rem; /* 8px — 단추·입력 칸·목록 줄 */
5110
+ --r-lg: 0.75rem; /* 12px — 판·떠 있는 것 */
5111
+ /* 코드 글꼴 — 코드가 서는 자리에만. 값·이름까지 고정폭으로 두면 한 화면에 글씨가 두 벌로 섞여 읽힌다.
5112
+ 숫자만 열로 서야 하는 곳은 글꼴 대신 font-variant-numeric: tabular-nums. */
5113
+ --lf-font-code: ui-monospace, SFMono-Regular, Menlo, Consolas, "Cascadia Mono", monospace;
5114
+ }
5115
+
5116
+ /*
5117
+ * ── 화면 — 머리말(LfPageHeader) 아래로 카드·표가 1rem 사이로 선다. ───────────────
5118
+ * 사이는 .pg 의 gap 하나가 맡는다 — 안에 든 것이 제 아래 여백(머리말 1rem · .pg-stats 1rem · 카드 구획 1rem)을
5119
+ * 그대로 두면 gap 과 겹쳐 2rem 이 됐다. 그래서 .pg 의 바로 아래 자식에서는 그 여백을 뺀다.
5120
+ */
5121
+ .pg { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
5122
+ .pg__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; align-items: start; }
5123
+ .pg__muted { font-size: var(--fs-caption); line-height: 1.6; color: var(--admin-text-muted); }
5124
+ .pg > .pg-stats, .pg > .pg--cards .sec:last-child, .pg.pg--cards > .sec { margin-bottom: 0; }
5125
+ /* 머리말은 scoped(1rem)에 좁은 화면 규칙(0.75rem, 아래)까지 있어 클래스를 겹쳐 이긴다. */
5126
+ .pg > .lf-page-header.lf-page-header[class] { margin-bottom: 0; }
5127
+ /* 작은 제목은 제 목록에 붙는다(0.4rem) — gap 1rem 을 그만큼 당긴다. 위 여백은 gap 이 맡는다. */
5128
+ .pg > .sub { margin-top: 0; margin-bottom: -0.6rem; }
5129
+
5130
+ /* ── 구획 — 왼쪽 제목·설명, 오른쪽 내용. 설정 같은 폼 화면. 좁으면 세로로. ─────── */
5131
+ .sec { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1rem 2rem; padding: 1.25rem 0; border-top: 1px solid var(--admin-border); }
5132
+ .sec:first-of-type { border-top: 0; padding-top: 0.25rem; }
5133
+ .sec__head { min-width: 0; }
5134
+ .sec__title { margin: 0; font-size: var(--fs-body); font-weight: 700; color: var(--admin-text-heading); }
5135
+ .sec__desc { margin: 0.25rem 0 0; font-size: var(--fs-small); color: var(--admin-text-muted); line-height: 1.5; }
5136
+ .sec__body { display: flex; flex-direction: column; gap: 0.85rem; min-width: 0; }
5137
+ .sec__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.85rem; }
5138
+ .sec__foot { display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; }
5139
+ .sec__foot--between { justify-content: space-between; }
5140
+ .sec--danger { border-top-color: rgba(var(--admin-status-error-rgb, 214, 69, 69), 0.35); }
5141
+ .sec--danger .sec__title { color: var(--admin-status-error); }
5142
+ @media (max-width: 900px) { .sec { grid-template-columns: 1fr; gap: 0.6rem; } }
5143
+
5144
+ /*
5145
+ * 카드 꼴(.pg--cards 안의 .sec) — 구획 하나가 카드 하나. 머리 줄에 제목·배지, 오른쪽 끝에 그 구획의 단추,
5146
+ * 선 아래 몸. 아주 넓은 화면에서는 읽을 폭(90rem)까지만.
5147
+ */
5148
+ .pg--cards, .pg--narrow { max-width: 90rem; }
5149
+ .pg--cards .sec { display: flex; flex-direction: column; gap: 0; padding: 0; margin-bottom: 1rem; border: 1px solid var(--admin-border); border-radius: var(--r-lg); background: var(--admin-surface); }
5150
+ .pg--cards .sec:first-of-type { padding-top: 0; }
5151
+ .pg--cards .sec__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 0.45rem 1.25rem; min-height: 2.75rem; border-bottom: 1px solid var(--admin-border); }
5152
+ .pg--cards .sec__title { margin: 0; font-size: var(--fs-body-lg); white-space: nowrap; }
5153
+ .pg--cards .sec__desc { margin: 0; flex-basis: 100%; }
5154
+ .pg--cards .sec__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-left: auto; white-space: nowrap; }
5155
+ .pg--cards .sec__body { gap: 0.85rem; padding: 1.1rem 1.25rem 1.25rem; }
5156
+ .pg--cards .sec__body--flush { padding: 0; }
5157
+ .pg--cards .sec--danger { border-color: rgba(var(--admin-status-error-rgb, 214, 69, 69), 0.35); }
5158
+ .pg--cards .sec__acts:empty { display: none; }
5159
+ .pg--cards .sec__tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: var(--r-md); background: var(--admin-accent-muted, var(--admin-hover)); color: var(--admin-accent); }
5160
+ .pg--cards .sec__titleBox { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
5161
+ .pg--cards .sec__sub { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; padding-top: 0.85rem; border-top: 1px solid var(--admin-border); font-size: var(--fs-body); font-weight: 700; color: var(--admin-text-heading); }
5162
+ .pg--cards .sec__meta { margin-left: auto; font-size: var(--fs-small); color: var(--admin-text-muted); }
5163
+ .pg--cards .sec__foot { margin-top: 0.25rem; padding-top: 0.85rem; border-top: 1px solid var(--admin-border); }
5164
+ .pg--cards .sec__body > .empty { align-items: center; justify-content: center; padding: 1.75rem 1rem; border: 1px dashed var(--admin-border); border-radius: var(--r-md); background: var(--admin-input-bg); }
5165
+ .pg--cards .sec__acts .lf-switch__label, .pg--cards .sec__acts .lf-switch__text { font-size: var(--fs-small); color: var(--admin-text-muted); }
5166
+ /* 칸 접기 — 머리 줄에 .sec__caret 이 있으면 누를 수 있게. 접히면(.sec--fold) 몸을 감춘다. */
5167
+ .pg--cards .sec__caret { flex: none; margin-right: -0.25rem; color: var(--admin-text-muted); transition: transform var(--lf-dur-fast) var(--lf-ease); }
5168
+ .pg--cards .sec:has(> .sec__head > .sec__caret) > .sec__head { cursor: pointer; user-select: none; }
5169
+ .pg--cards .sec--fold > .sec__head { border-bottom: 0; }
5170
+ .pg--cards .sec--fold > .sec__head > .sec__caret { transform: rotate(-90deg); }
5171
+ .pg--cards .sec--fold > .sec__body { display: none; }
5172
+ @media (max-width: 640px) { .pg--cards .sec__body { padding: 0.9rem 1rem 1rem; } }
5173
+
5174
+ /* 숫자 칸 줄 — 카드 위에 서는 핵심 수치들. */
5175
+ .pg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
5176
+
5177
+ /* 구획 제목 줄 — 카드 없이 목록·표 위에 서는 작은 제목. */
5178
+ .sub { display: flex; align-items: center; gap: 0.4rem; margin: 1rem 0 0.4rem; font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--admin-text-muted); }
5179
+ .sub__n { font-weight: 500; letter-spacing: 0; text-transform: none; }
5180
+ .sub__spacer { flex: 1; }
5181
+
5182
+ /* 빈 상태 */
5183
+ .empty { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin: 0; padding: 1rem 1rem 1.1rem; color: var(--admin-text-muted); font-size: var(--fs-small); }
5184
+ .empty--center { align-items: center; text-align: center; padding: 2rem 1rem; }
5185
+
5186
+ /* 곁말 — 칸 아래 설명·도움말 한 줄. */
5187
+ .hint { margin: 0; font-size: var(--fs-caption); color: var(--admin-text-muted); line-height: 1.5; }
5188
+
5189
+ /* 줄 단추 — 손을 올렸을 때만. 키보드로 초점이 가면 보인다. */
5190
+ .row-acts { display: inline-flex; align-items: center; gap: 0.15rem; opacity: 0; transition: opacity var(--lf-dur-fast); }
5191
+ tr:hover .row-acts, li:hover .row-acts, .row:hover .row-acts, .row-acts:focus-within { opacity: 1; }
5192
+ @media (hover: none) { .row-acts { opacity: 1; } }
5193
+
5194
+ /* 팝오버·툴팁 — 같은 모서리·그림자 */
5195
+ .pop { border: 1px solid var(--admin-border); border-radius: var(--r-md); background: var(--admin-surface, #fff); box-shadow: var(--lf-shadow-float); }
5196
+
5197
+ /* 상태 점 */
5198
+ .dot { display: inline-block; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--admin-border); }
5199
+ .dot--info { background: var(--admin-status-info); }
5200
+ .dot--ok { background: var(--admin-status-success); }
5201
+ .dot--warn { background: var(--admin-status-warning); }
5202
+ .dot--bad { background: var(--admin-status-error); }
5203
+ .dot--off { background: var(--admin-text-muted); }
5204
+ .dot--run { background: var(--admin-status-info); animation: lf-dot-pulse 1.6s ease-in-out infinite; }
5205
+ @keyframes lf-dot-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
5206
+
5207
+ /* 숫자를 열로 세울 곳(표의 수치 칸 등) */
5208
+ .num { font-variant-numeric: tabular-nums; }
5209
+ .code { font-family: var(--lf-font-code); font-size: 0.92em; }
5210
+
5211
+ /* 글자가 든 단추(subtle·ghost)는 옅은 테두리를 둔다 — 테두리 없이 글자만 있으면 문자열로 읽혀 눌러도 되는지 몰랐다(실측). */
5212
+ .lf-btn--subtle:has(.lf-btn__label), .lf-btn--ghost:has(.lf-btn__label) { border-color: var(--admin-border); }
5213
+ .lf-btn--subtle:has(.lf-btn__label):hover, .lf-btn--ghost:has(.lf-btn__label):hover { border-color: color-mix(in srgb, var(--admin-text-muted) 45%, var(--admin-border)); }
5214
+
5215
+ /* 화면 머리(h1 옆)의 단추는 작은 크기 — md 로 둔 것이 머리 글자보다 커 보였다. */
5216
+ .lf-page-header__tools .lf-btn--md { padding: 0.3125rem 0.625rem; font-size: var(--fs-caption); border-radius: var(--r-md); }
5217
+
5218
+ /* 카드 머리(제목·단추) — 좁으면 단추를 다음 줄로(안 그러면 카드 overflow 에 잘린다). */
5219
+ .lf-card .lf-card__head[class] { flex-wrap: wrap; row-gap: 0.4rem; }
5220
+ .lf-card .lf-card__actions[class] { flex-wrap: wrap; flex-shrink: 1; min-width: 0; margin-left: auto; }
5221
+
5222
+ /* ── 모달 — 머리·몸·발을 한 단계 작게. 창 안의 칸은 작은 치수로(창에서 적는 것은 몇 줄이다). ── */
5223
+ :root { --modal-title-sm: var(--fs-lead); --modal-title-md: var(--fs-lead); --modal-title-lg: 1.05rem; }
5224
+ .lf-modal .lf-modal__header { align-items: center; padding: 0.85rem 1.25rem; }
5225
+ .lf-modal .lf-modal__close .lf-icon { width: 1.125rem !important; height: 1.125rem !important; }
5226
+ .lf-modal .lf-modal__body { position: relative; padding: 1rem 1.25rem; }
5227
+ .lf-modal .lf-modal__footer { padding: 0.75rem 1.25rem; }
5228
+ .lf-modal .lf-control:not(.lf-control--sm) { padding: 0.375rem 0.625rem; font-size: var(--fs-small); border-radius: var(--r-md); }
5229
+ .lf-modal .lf-field__label { font-size: var(--fs-small); }
5230
+ /*
5231
+ * 콘솔(레일 셸) 본문의 입력 칸은 본문 글자(14px)로 — 라이브러리 기본(--page-input 15px)은 로그인 같은 랜딩 폼의 크기라
5232
+ * 표·목록(13px) 옆에서 칸 글자만 커 보였다. 창 안의 칸은 위 규칙(13px).
5233
+ */
5234
+ .lf-content--rail .lf-control:not(.lf-control--sm) { font-size: var(--fs-body); }
5235
+ /* 판이 content-box 면 max-height:100% 에 테두리가 더해져 덮개에 스크롤바가 섰다. */
5236
+ .lf-modal-scrim .lf-modal { box-sizing: border-box; }
5237
+
5238
+ /*
5239
+ * ── 화면 이동 — 들어오는 화면만 움직인다 ──
5240
+ * 이전 화면은 기다리지 않고 바로 빠진다. 새 화면은 아래에서 살짝 떠오르며(화면), 탭 내용은 흐림만(탭).
5241
+ * 쓰는 법: 라우터 뷰를 :key 와 함께 <div class="lf-page-in"> 로 감싼다. 탭 몸은 lf-tab-in.
5242
+ * ⚠ 움직이는 동안만 transform 이 걸린다 — 끝나면 풀려서 안의 fixed 가 화면 기준으로 돌아온다.
5243
+ */
5244
+ .lf-page-in { min-width: 0; animation: lf-page-in var(--lf-dur, 0.18s) var(--lf-ease, ease); }
5245
+ .lf-tab-in { min-width: 0; animation: lf-tab-in var(--lf-dur, 0.18s) var(--lf-ease, ease); }
5246
+ @keyframes lf-page-in { from { opacity: 0; transform: translateY(4px); } }
5247
+ @keyframes lf-tab-in { from { opacity: 0; } }
5248
+ /* 내용이 바뀔 때 살짝 떠오르며 — 탭 내용·문서 본문 등에 :key 와 함께 단다. */
5249
+ .lf-swap-in { animation: lf-swap-in 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
5250
+ @keyframes lf-swap-in { from { opacity: 0; transform: translateY(6px); } }
5251
+
5252
+ /*
5253
+ * 좁은 화면의 머리말 — 넓을 때처럼 제목 왼쪽, 단추 오른쪽. 한 줄에 다 안 들어가면 단추 줄이 제목 아래로 접힌다
5254
+ * (옆으로 밀어 숨기지 않는다). LfPageHeader 의 좁은 폭 규칙이 scoped 라 클래스를 겹쳐 이긴다.
5255
+ */
5256
+ @media (max-width: 959px) {
5257
+ .lf-content .lf-page-header.lf-page-header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-bottom: 0.6rem; margin-bottom: 0.75rem; border-bottom: 1px solid var(--admin-border); }
5258
+ .lf-content .lf-page-header__title-box.lf-page-header__title-box { flex: 0 1 auto; min-width: 0; margin-bottom: 0; }
5259
+ .lf-content .lf-page-header__tools.lf-page-header__tools { position: static; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; overflow: visible; margin: 0; padding-block: 0; border-bottom: 0; background: none; }
5260
+ }
5261
+
5262
+ /* 좁은 화면의 레일 덮개 — ☰ 로 열면 왼쪽에서 밀려 나오고, 닫으면 밀려 들어간다. */
5263
+ @media (max-width: 860px) {
5264
+ html .lf-rail.lf-rail--overlay {
5265
+ transform: translateX(-100%); opacity: 0;
5266
+ transition: transform var(--lf-dur-exit, var(--lf-dur-fast)) var(--lf-ease-exit, ease), opacity var(--lf-dur-exit, var(--lf-dur-fast)) var(--lf-ease-exit, ease), display var(--lf-dur-exit, var(--lf-dur-fast)) allow-discrete;
5267
+ }
5268
+ html .lf-rail.lf-rail--overlay.lf-rail--open {
5269
+ transform: none; opacity: 1; box-shadow: var(--lf-shadow-float);
5270
+ transition: transform var(--lf-dur) var(--lf-ease, ease), opacity var(--lf-dur) var(--lf-ease, ease), display var(--lf-dur) allow-discrete;
5271
+ }
5272
+ @starting-style { html .lf-rail.lf-rail--overlay.lf-rail--open { transform: translateX(-100%); opacity: 0; } }
5273
+ }
5274
+
5275
+ /* ── 「됐다」 — 누른 단추 위에 ✓ 가 잠깐 떴다 사라진다(installDoneFeedback · markDone 이 lf-done 을 붙인다). ── */
5276
+ .lf-done { position: relative; }
5277
+ .lf-done::after {
5278
+ content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit;
5279
+ background: var(--admin-surface); color: var(--admin-status-success, #2e9e5b); font-weight: 800; font-size: 1.05em;
5280
+ animation: lf-done 1.1s var(--lf-ease, ease) forwards; pointer-events: none;
5281
+ }
5282
+ .lf-btn--primary.lf-done::after { background: var(--admin-accent); color: var(--admin-accent-contrast, var(--admin-btn-primary-text, #fff)); }
5283
+ @keyframes lf-done { 0% { opacity: 0; transform: scale(0.6); } 18% { opacity: 1; transform: scale(1.08); } 30% { transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; } }
5284
+
5285
+ /* ── 툴팁 — title 을 브라우저 상자 대신 이것으로(installTooltips). LfTooltip 의 말풍선과 같은 값. ── */
5286
+ .lf-tip { position: fixed; top: 0; left: 0; z-index: 5000; max-width: 20rem; width: max-content; padding: 0.375rem 0.625rem; font-size: var(--fs-caption); line-height: 1.5; white-space: pre-line; word-break: break-word; color: var(--admin-text-heading, #f9fafb); background: var(--admin-overlay, rgba(17, 24, 39, 0.95)); border: 1px solid var(--admin-border, rgba(255, 255, 255, 0.12)); border-radius: var(--r-md); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--lf-dur-fast, 0.12s) var(--lf-ease, ease); }
5287
+ .lf-tip--on { opacity: 1; visibility: visible; }
5288
+
5289
+ /*
5290
+ * ── 탭 줄의 미끄러지는 표시(v-thumb) — 고른 탭을 따라 밑줄(bar)·바탕(fill)이 옮겨 간다. ──
5291
+ * 탭은 position: relative + z-index: 1 이어야 바탕(fill) 위에 글자가 선다. 밑줄은 탭 위에 얹힌다.
5292
+ */
5293
+ .lf-thumb { position: absolute; left: 0; top: 0; z-index: 0; box-sizing: border-box; pointer-events: none; opacity: 0; }
5294
+ .lf-thumb--ready { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.3s ease, opacity 0.2s ease; }
5295
+ .lf-thumb--bar { z-index: 2; border-radius: 1px; background: var(--lf-thumb-color, var(--admin-accent)); }
5296
+ .lf-thumb--fill { border: 1px solid var(--lf-thumb-border, transparent); border-radius: var(--lf-thumb-radius, var(--r-sm)); background: var(--lf-thumb-bg, var(--admin-surface)); box-shadow: var(--lf-thumb-shadow, none); }
5297
+
5298
+ /* ── 움직임 줄이기 — 전체 안전망. 토큰을 안 쓰고 시간을 박은 곳까지 끝 상태로 바로. ── */
5299
+ @media (prefers-reduced-motion: reduce) {
5300
+ .dot--run { animation: none; }
5301
+ .lf-thumb--ready { transition: none; }
5302
+ .lf-swap-in, .lf-page-in, .lf-tab-in { animation: none; }
5303
+ html .lf-rail.lf-rail--overlay, html .lf-rail.lf-rail--overlay.lf-rail--open { transition: none; }
5304
+ *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
5305
+ }
5261
5306
 
5262
5307
  .lf-map3d[data-v-bf869e20] {
5263
5308
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loafacto/ui",
3
- "version": "0.21.0",
3
+ "version": "0.22.1",
4
4
  "description": "Loafacto 공용 UI — 테마(시맨틱 팔레트 파생), 애플리케이션 셸, 공통 오버레이, Vuetify 없는 프리미티브",
5
5
  "type": "module",
6
6
  "files": [