@eliceio/cdk-cli 1.7.2-sharedqa.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/README.md +18 -15
  2. package/es/commands/create/index.js +6 -3
  3. package/es/commands/create/scaffold.d.ts +1 -1
  4. package/es/commands/create/scaffold.js +1 -1
  5. package/es/commands/doctor/index.js +34 -1
  6. package/es/core/lesson-check.d.ts +7 -0
  7. package/es/core/lesson-check.js +87 -0
  8. package/es/core/templates.d.ts +2 -0
  9. package/es/core/templates.js +4 -1
  10. package/es/dev/host-page.js +5 -2
  11. package/package.json +2 -2
  12. package/skills/_shared/always.md +1 -1
  13. package/skills/_shared/references/02-design-the-material.md +10 -9
  14. package/skills/_shared/references/03-create-the-project.md +12 -11
  15. package/skills/_shared/references/08-fix-check-errors.md +1 -0
  16. package/skills/_shared/references/12-upload-with-the-material-mcp.md +2 -2
  17. package/skills/_shared/references/17-using-the-entry-template.md +44 -5
  18. package/skills/_shared/references/18-using-the-lesson-template.md +207 -0
  19. package/skills/_shared/references/19-lesson-layouts.md +2132 -0
  20. package/skills/elice-content-create/SKILL.md +4 -3
  21. package/skills/elice-content-publish/SKILL.md +3 -3
  22. package/templates/blank/template.json +1 -1
  23. package/templates/board/package.json +1 -1
  24. package/templates/board/template.json +1 -1
  25. package/templates/board/ui/board.css +4 -1
  26. package/templates/board/ui/texts.js +3 -1
  27. package/templates/lesson/README.md +71 -0
  28. package/templates/lesson/commentary.txt +7 -0
  29. package/templates/lesson/core/dom.d.ts +4 -0
  30. package/templates/lesson/core/dom.js +22 -0
  31. package/templates/lesson/core/engine.d.ts +23 -0
  32. package/templates/lesson/core/engine.js +169 -0
  33. package/templates/lesson/core/interact.d.ts +2 -0
  34. package/templates/lesson/core/interact.js +429 -0
  35. package/templates/lesson/core/layout-files.d.ts +4 -0
  36. package/templates/lesson/core/layout-files.js +9 -0
  37. package/templates/lesson/core/lesson.d.ts +95 -0
  38. package/templates/lesson/core/lesson.js +609 -0
  39. package/templates/lesson/core/sample.d.ts +4 -0
  40. package/templates/lesson/core/sample.js +128 -0
  41. package/templates/lesson/edit.html +21 -0
  42. package/templates/lesson/gitignore +4 -0
  43. package/templates/lesson/index.html +22 -0
  44. package/templates/lesson/layouts/_actions.html +1 -0
  45. package/templates/lesson/layouts/_cmp.html +1 -0
  46. package/templates/lesson/layouts/_deco-corner.html +1 -0
  47. package/templates/lesson/layouts/_deco-cover.html +1 -0
  48. package/templates/lesson/layouts/_deco-section.html +1 -0
  49. package/templates/lesson/layouts/_foot.html +1 -0
  50. package/templates/lesson/layouts/_head.html +1 -0
  51. package/templates/lesson/layouts/_media.html +1 -0
  52. package/templates/lesson/layouts/agenda.html +13 -0
  53. package/templates/lesson/layouts/bar-chart.html +14 -0
  54. package/templates/lesson/layouts/cards.html +12 -0
  55. package/templates/lesson/layouts/checklist.html +12 -0
  56. package/templates/lesson/layouts/choice-list.html +13 -0
  57. package/templates/lesson/layouts/closing.html +13 -0
  58. package/templates/lesson/layouts/compare.html +12 -0
  59. package/templates/lesson/layouts/cover-dark.html +13 -0
  60. package/templates/lesson/layouts/cover.html +15 -0
  61. package/templates/lesson/layouts/figures.html +12 -0
  62. package/templates/lesson/layouts/flow.html +13 -0
  63. package/templates/lesson/layouts/how-to.html +15 -0
  64. package/templates/lesson/layouts/image-bg.html +12 -0
  65. package/templates/lesson/layouts/image-pair.html +15 -0
  66. package/templates/lesson/layouts/image-split.html +12 -0
  67. package/templates/lesson/layouts/layers.html +12 -0
  68. package/templates/lesson/layouts/objectives.html +12 -0
  69. package/templates/lesson/layouts/ox-card.html +24 -0
  70. package/templates/lesson/layouts/ox-list.html +21 -0
  71. package/templates/lesson/layouts/process.html +14 -0
  72. package/templates/lesson/layouts/profile.html +13 -0
  73. package/templates/lesson/layouts/prompt-builder.html +18 -0
  74. package/templates/lesson/layouts/quiz.html +14 -0
  75. package/templates/lesson/layouts/quote.html +12 -0
  76. package/templates/lesson/layouts/scenario-rows.html +12 -0
  77. package/templates/lesson/layouts/section.html +14 -0
  78. package/templates/lesson/layouts/simulation.html +18 -0
  79. package/templates/lesson/layouts/stat.html +14 -0
  80. package/templates/lesson/layouts/statement.html +13 -0
  81. package/templates/lesson/layouts/stats.html +12 -0
  82. package/templates/lesson/layouts/stepper.html +13 -0
  83. package/templates/lesson/layouts/table.html +12 -0
  84. package/templates/lesson/layouts/tabs.html +13 -0
  85. package/templates/lesson/layouts/text-visual.html +16 -0
  86. package/templates/lesson/layouts/timeline.html +12 -0
  87. package/templates/lesson/layouts/toggle.html +16 -0
  88. package/templates/lesson/layouts/variables.html +14 -0
  89. package/templates/lesson/layouts/venn.html +15 -0
  90. package/templates/lesson/layouts/versus.html +12 -0
  91. package/templates/lesson/metadata.json +9 -0
  92. package/templates/lesson/package.json +15 -0
  93. package/templates/lesson/public/img/sample-chat.svg +21 -0
  94. package/templates/lesson/screens/edit.js +79 -0
  95. package/templates/lesson/screens/learn.js +56 -0
  96. package/templates/lesson/styles.css +27 -0
  97. package/templates/lesson/template.json +7 -0
  98. package/templates/lesson/ui/design.css +1103 -0
  99. package/templates/lesson/ui/fonts/PretendardVariable.woff2 +0 -0
  100. package/templates/lesson/ui/learn.css +64 -0
  101. package/templates/lesson/ui/mobile.css +492 -0
  102. package/templates/lesson/ui/reset.css +6 -0
@@ -0,0 +1,1103 @@
1
+ /* ==========================================================================
2
+ Deck Kit 디자인 시스템 (디자이너 deck-kit 원본 deck.css. 학습 자료 템플릿에서는 틀 id만 #deck → #lesson)
3
+ - 기준: "MCP로 기관 홈 만들기" 발표 자료(zip)의 스타일과 틀
4
+ - 보강: "프로덕트 디자인의 이해"(PDF)의 레이아웃 어휘
5
+ 모든 크기는 --u(슬라이드 너비의 1/100)의 배수라서 화면 크기에 따라 비율이 유지됩니다.
6
+ ========================================================================== */
7
+
8
+ :root {
9
+ /* 색: zip 팔레트 */
10
+ --purple: #673cda;
11
+ --purple-700: #5930bf;
12
+ --purple-500: #7d57e6;
13
+ --purple-400: #9878ed;
14
+ --purple-300: #b7a2f3;
15
+ --purple-200: #d9ccf5;
16
+ --purple-100: #ede6ff;
17
+ --purple-50: #f6f3ff;
18
+ --ink: #252239;
19
+ --muted: #726c82;
20
+ --line: #dfdbe9;
21
+ --paper: #f6f4fe; /* EDS Purple 50 (elice-eds-token elicepurple[50]). 일반 본문 슬라이드 배경 */
22
+ --lime: #e4f5a5;
23
+ --night: #1f1b33;
24
+ --good: #086a65;
25
+ --good-bg: #e3f4ee;
26
+ --bad: #c4314b;
27
+ --bad-bg: #fdecef;
28
+
29
+ --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
30
+ --mono: var(--font);
31
+ --code: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace; /* 코드 박스 전용 */
32
+ font-variant-numeric: lining-nums;
33
+
34
+ --bar: 0px; /* 하단 바 없음: 슬라이드가 화면 전체를 사용 */
35
+ --key: var(--purple); /* 자료의 key color (현재 쪽 번호, primary 버튼). meta.key_color로 변경 */
36
+ --secondary: #212121; /* EDS secondary.main = gray[900] */
37
+ --safe: 0px;
38
+ --u: min(calc((100vw - 2 * var(--safe)) / 100), calc((100vh - var(--bar)) / 56.25));
39
+ }
40
+
41
+ * { box-sizing: border-box; }
42
+ html, body { margin: 0; }
43
+ body {
44
+ background: #eeedf2;
45
+ color: var(--ink);
46
+ font-family: var(--font);
47
+ font-synthesis: none;
48
+ -webkit-font-smoothing: antialiased;
49
+ }
50
+ button { font: inherit; color: inherit; cursor: pointer; }
51
+ button:focus-visible, a:focus-visible { outline: 3px solid #b88aff; outline-offset: 3px; }
52
+ [hidden] { display: none !important; }
53
+ h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
54
+ ul, ol { list-style: none; }
55
+ strong { color: var(--purple); font-weight: 780; }
56
+ code {
57
+ font-family: var(--code); font-size: .88em; font-weight: 600;
58
+ background: var(--purple-100); color: var(--purple-700);
59
+ padding: .08em .4em; border-radius: 5px;
60
+ }
61
+
62
+ /* ---------- 슬라이드 프레임 ---------- */
63
+ #lesson { display: grid; place-items: center; min-height: 100dvh; padding-bottom: var(--bar); }
64
+ .slide {
65
+ position: relative; overflow: hidden;
66
+ width: calc(var(--u) * 100); height: calc(var(--u) * 56.25);
67
+ font-size: calc(var(--u) * 1.7); line-height: 1.5;
68
+ background: var(--paper);
69
+ border-top: calc(var(--u) * .47) solid var(--purple);
70
+ padding: calc(var(--u) * 3.5) calc(var(--u) * 5) calc(var(--u) * 5);
71
+ display: flex; flex-direction: column; gap: calc(var(--u) * 1.4);
72
+ }
73
+ #lesson .slide:not(.is-active) { display: none; }
74
+
75
+ .slide-head {
76
+ flex: none; display: flex; justify-content: space-between; align-items: center; gap: 1em;
77
+ font-size: calc(var(--u) * 1.15); font-weight: 650; letter-spacing: .03em; color: var(--muted);
78
+ }
79
+ .brand { display: flex; align-items: center; gap: .9em; }
80
+ .brand:empty::before { display: none; }
81
+ .brand::before { content: ""; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--purple); }
82
+ .tag {
83
+ display: inline-flex; align-items: center; gap: .5em;
84
+ color: var(--purple-700); background: var(--purple-100);
85
+ border-radius: 5px; padding: .35em .8em;
86
+ }
87
+ .slide-foot {
88
+ position: absolute; left: calc(var(--u) * 5); right: calc(var(--u) * 5); bottom: calc(var(--u) * 1.7);
89
+ display: flex; justify-content: space-between;
90
+ font-size: calc(var(--u) * 1.05); color: #8d879c; letter-spacing: .02em;
91
+ }
92
+
93
+ /* ---------- 타이포그래피 ---------- */
94
+ .eyebrow {
95
+ font-family: var(--mono); font-size: calc(var(--u) * 1.1); font-weight: 700;
96
+ letter-spacing: .1em; text-transform: uppercase; color: var(--purple);
97
+ }
98
+ .title {
99
+ font-size: calc(var(--u) * 3.2); font-weight: 780; letter-spacing: -.045em; line-height: 1.22;
100
+ word-break: keep-all; overflow-wrap: anywhere; flex: none;
101
+ }
102
+ .title--xl { font-size: calc(var(--u) * 6.4); line-height: 1.1; }
103
+ .titlebox { flex: none; display: flex; flex-direction: column; gap: calc(var(--u) * .7); }
104
+ .lead { font-size: 1.15em; letter-spacing: -.02em; word-break: keep-all; }
105
+ .muted { color: var(--muted); }
106
+ p, li, h3 { word-break: keep-all; overflow-wrap: anywhere; }
107
+
108
+ /* 내용 영역: 제목 아래 남은 공간에서 세로 중앙 */
109
+ .body {
110
+ flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center;
111
+ gap: calc(var(--u) * 1.4);
112
+ }
113
+ .body > * { flex-shrink: 0; }
114
+
115
+ /* ---------- 공통 컴포넌트 ---------- */
116
+ .grid { display: grid; gap: calc(var(--u) * 1.4); }
117
+ .cols-1 { grid-template-columns: minmax(0, 1fr); }
118
+ .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
119
+ .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
120
+ .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
121
+ .cols-n { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
122
+
123
+ .card {
124
+ background: #fff; border: 1px solid var(--line); border-radius: 12px;
125
+ padding: 1.15em 1.25em; display: flex; flex-direction: column; gap: .5em; min-width: 0;
126
+ }
127
+ .card .idx { font-family: var(--mono); font-size: 1.1em; font-weight: 750; color: #b3a6cf; line-height: 1; }
128
+ .card .kicker { font-family: var(--mono); font-size: .62em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
129
+ .card h3 { font-size: 1.02em; font-weight: 760; letter-spacing: -.025em; line-height: 1.35; }
130
+ .card p { font-size: .78em; line-height: 1.55; color: var(--muted); }
131
+ .card .foot { margin-top: auto; padding-top: .8em; font-size: .8em; font-weight: 720; line-height: 1.45; color: var(--purple); }
132
+ .card--hl { background: var(--purple); border-color: var(--purple); color: #fff; }
133
+ .card--hl .idx { color: var(--purple-300); }
134
+ .card--hl .kicker, .card--hl p { color: #e6ddff; }
135
+ .card--hl .foot { color: #fff; }
136
+ .card--hl strong { color: #fff; }
137
+ .card--dark { background: var(--night); border-color: var(--night); color: #fff; }
138
+ .card--dark .idx { color: var(--purple-300); }
139
+ .card--dark p { color: #cfc8e6; }
140
+ .card--dark .foot { color: #fff; }
141
+
142
+ .callout {
143
+ border-left: calc(var(--u) * .4) solid var(--purple); background: #ece6fb;
144
+ border-radius: 0 8px 8px 0; padding: .65em 1em; font-size: .88em; line-height: 1.5;
145
+ }
146
+ .chips { display: flex; flex-wrap: wrap; gap: .5em; }
147
+ /* 칩: 누를 수 없는 라벨은 zip의 태그(.tag)처럼 모서리가 각진 연보라 면으로 표시한다. 누르는 선택 칩(.opt)은 테두리 있는 알약 모양 */
148
+ .chip { display: inline-flex; align-items: center; gap: .4em; padding: .35em .9em; border-radius: 6px; background: var(--purple-100); color: var(--purple-700); font-size: .72em; font-weight: 650; }
149
+ .chip--hl { background: var(--purple); color: #fff; }
150
+ .chip--soft { background: var(--purple-100); color: var(--purple-700); }
151
+ .arrow { color: var(--purple); font-weight: 700; flex: none; }
152
+
153
+ .rows { border-top: 1px solid var(--line); }
154
+ .rows li { padding: .7em .3em; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .1em; }
155
+ .rows b { font-weight: 760; letter-spacing: -.02em; }
156
+ .rows b::first-letter { color: inherit; }
157
+ .rows span { font-size: .84em; color: var(--muted); line-height: 1.5; }
158
+ .rows--bold li b { color: var(--purple); }
159
+
160
+ /* ---------- 이미지 틀 ----------
161
+ 틀(frame): card, window, phone, tint, bleed, portrait
162
+ 비율(ratio): 16:10, 16:9, 4:3, 1:1, 3:4, 9:16 (phone은 9:19 고정)
163
+ PDF 자료의 배치 규칙: 캡션은 이미지 아래 가운데, 라벨은 이미지 위, 이미지는 늘이지 않고 잘라서(cover) 채우되 화면 캡처는 전체가 보이게(contain) */
164
+ .panel { display: flex; flex-direction: column; gap: .5em; min-height: 0; min-width: 0; }
165
+ .panel figcaption { font-size: .62em; color: var(--muted); text-align: center; line-height: 1.4; }
166
+ .media { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--purple-50); }
167
+ .media .shot { position: relative; width: 100%; aspect-ratio: var(--ratio, 16 / 10); overflow: hidden; }
168
+ .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); display: block; }
169
+ .media.fit-contain img { object-fit: contain; background: #fff; }
170
+ .ratio-16-10 { --ratio: 16 / 10; } .ratio-16-9 { --ratio: 16 / 9; } .ratio-4-3 { --ratio: 4 / 3; }
171
+ .ratio-2-1 { --ratio: 2 / 1; } .ratio-1-1 { --ratio: 1 / 1; } .ratio-3-4 { --ratio: 3 / 4; } .ratio-9-16 { --ratio: 9 / 16; }
172
+ .ph {
173
+ position: absolute; inset: calc(var(--u) * .9); display: grid; place-content: center; gap: .3em; text-align: center;
174
+ border: 2px dashed var(--purple-200); border-radius: 12px; color: var(--purple-400);
175
+ background: repeating-linear-gradient(135deg, rgba(103, 60, 218, .035) 0 12px, transparent 12px 24px);
176
+ padding: 1em;
177
+ }
178
+ .ph b { font-size: .62em; letter-spacing: .12em; }
179
+ .ph span { font-size: .72em; color: var(--muted); line-height: 1.45; }
180
+ .ph small { font-size: .56em; color: var(--purple-400); }
181
+ .frame-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(60, 40, 120, .09); }
182
+ .frame-window { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(60, 40, 120, .09); }
183
+ .chrome { display: flex; align-items: center; gap: .4em; padding: .55em .8em; background: #f3f1f8; border-bottom: 1px solid var(--line); }
184
+ .chrome i { width: .7em; height: .7em; border-radius: 50%; background: #ff5f57; }
185
+ .chrome i:nth-child(2) { background: #febc2e; }
186
+ .chrome i:nth-child(3) { background: #28c840; }
187
+ .chrome span { flex: 1; margin-left: .6em; padding: .15em .8em; border-radius: 6px; background: #fff; color: var(--muted); font-size: .6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
188
+ .frame-phone { width: fit-content; margin: 0 auto; height: calc(var(--u) * 29); background: var(--night); border: calc(var(--u) * .5) solid var(--night); border-radius: calc(var(--u) * 3.4); box-shadow: 0 16px 38px rgba(31, 27, 51, .28); }
189
+ .frame-phone .shot { height: 100%; width: auto; aspect-ratio: 9 / 19; border-radius: calc(var(--u) * 2.8); }
190
+ .frame-tint { background: var(--purple-100); border-radius: 16px; padding: calc(var(--u) * 1.4); }
191
+ .frame-tint .shot { border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(60, 40, 120, .16); }
192
+ .frame-bleed { background: var(--purple-50); border-radius: 0; }
193
+ .frame-portrait { background: var(--purple-50); border-radius: 16px; }
194
+
195
+ /* ---------- 레이아웃: 표지 ---------- */
196
+ .slide--cover { background: var(--purple-50); border-top: 0; justify-content: center; }
197
+ .slide--cover .head-right { display: none; }
198
+ .cover-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: calc(var(--u) * 3); }
199
+ .cover-text { display: flex; flex-direction: column; gap: calc(var(--u) * 1.5); }
200
+ .subtitle { font-size: calc(var(--u) * 2.1); letter-spacing: -.025em; line-height: 1.4; word-break: keep-all; }
201
+ .meta { font-size: calc(var(--u) * 1.3); color: var(--muted); }
202
+ .cover-art { position: relative; align-self: stretch; display: grid; place-items: center; min-height: 0; }
203
+ .cover-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
204
+ .cover-art svg { width: 100%; height: 100%; }
205
+
206
+ .slide--dark { background: var(--night); color: #fff; border-top: 0; }
207
+ .slide--dark .slide-head { color: #b9b2d6; }
208
+ .slide--dark .brand::before { background: #fff; }
209
+ .slide--dark .eyebrow { color: var(--purple-300); }
210
+ .slide--dark strong { color: var(--purple-300); }
211
+ .slide--dark .slide-foot { color: #8f89ab; }
212
+ .slide--dark .subtitle { color: #e6e1f7; }
213
+ .slide--dark .meta { color: #b9b2d6; }
214
+ .cover-dark { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 1.4); position: relative; z-index: 1; }
215
+ .cover-dark .title { max-width: 62%; }
216
+ .slide--dark .head-right { display: none; }
217
+ .chapters {
218
+ margin-top: calc(var(--u) * 2.4); padding-top: 1em; border-top: 1px solid rgba(255, 255, 255, .16);
219
+ display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1.5em;
220
+ }
221
+ .chapters li { display: flex; flex-direction: column; gap: .15em; font-size: calc(var(--u) * 1.15); font-weight: 650; }
222
+ .chapters small { font-family: var(--mono); font-size: .8em; font-weight: 700; color: var(--purple-300); letter-spacing: .08em; }
223
+ .deco-corner { position: absolute; right: 0; top: 0; width: 42%; height: 72%; pointer-events: none; z-index: 0; }
224
+
225
+ /* ---------- 레이아웃: 목차 ---------- */
226
+ .agenda .card { padding: 1em 1.1em; }
227
+ .agenda .card p { font-size: .72em; }
228
+ .agenda .note { font-size: .8em; color: var(--muted); }
229
+
230
+ /* ---------- 레이아웃: 섹션 ---------- */
231
+ .slide--section { background: var(--purple); color: #fff; border: 0; justify-content: center; }
232
+ .slide--section .slide-head { position: absolute; top: calc(var(--u) * 3.3); left: calc(var(--u) * 5); right: calc(var(--u) * 5); color: #ded2ff; }
233
+ .slide--section .brand::before { background: #fff; }
234
+ .slide--section .head-right { display: none; }
235
+ .section-no {
236
+ position: absolute; right: calc(var(--u) * 5); top: calc(var(--u) * 3.4);
237
+ font-size: calc(var(--u) * 20); font-weight: 800; letter-spacing: -.07em; line-height: 1; color: rgba(255, 255, 255, .14);
238
+ }
239
+ .section-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 1.1); margin-top: calc(var(--u) * 9); max-width: 80%; }
240
+ .section-body .title { font-size: calc(var(--u) * 5.2); }
241
+ .section-body .eyebrow { color: #fff; }
242
+ .section-body .sub { font-size: calc(var(--u) * 1.8); color: #e6ddff; }
243
+ .section-line { width: calc(var(--u) * 13); height: 7px; background: #fff; margin-top: calc(var(--u) * 1.4); display: block; }
244
+ .slide--section .deco-section { display: none; }
245
+ .slide--section.tone-light { background: #fff; color: var(--ink); border-top: calc(var(--u) * .47) solid var(--purple); }
246
+ .slide--section.tone-light .slide-head { color: var(--muted); }
247
+ .slide--section.tone-light .brand::before { background: var(--purple); }
248
+ .slide--section.tone-light .section-no { color: var(--purple-100); }
249
+ .slide--section.tone-light .section-body .eyebrow { color: var(--purple); }
250
+ .slide--section.tone-light .section-body .sub { color: var(--muted); }
251
+ .slide--section.tone-light .section-line { background: var(--purple); }
252
+ .slide--section.tone-light .deco-section { display: block; position: absolute; right: 0; top: 0; width: 52%; height: 100%; pointer-events: none; }
253
+ .slide--section.tone-light .section-no { display: none; }
254
+
255
+ /* ---------- 레이아웃: 한 문장 ---------- */
256
+ .statement-title { max-width: 82%; }
257
+ .conclusion { margin-top: auto; font-size: calc(var(--u) * 2); font-weight: 720; letter-spacing: -.03em; color: var(--purple); line-height: 1.35; }
258
+ .chips--lg .chip { font-size: .8em; padding: .45em 1em; }
259
+
260
+ /* ---------- 레이아웃: 글과 시각 자료 ---------- */
261
+ .split { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 3); align-items: stretch; }
262
+ .split.flip .split-text { order: 2; }
263
+ .split-text { display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 1.3); min-width: 0; }
264
+ .split .panel { align-self: center; width: 100%; max-height: 100%; }
265
+ .split .frame-phone, .howto .frame-phone, .stp-panel .frame-phone { height: calc(var(--u) * 27); }
266
+
267
+ /* ---------- 레이아웃: 비교 ---------- */
268
+ .cmp { gap: .6em; }
269
+ .cmp-label { align-self: flex-start; font-family: var(--mono); font-size: .6em; font-weight: 800; letter-spacing: .12em; padding: .3em .8em; border-radius: 4px; background: var(--purple-100); color: var(--purple-700); }
270
+ .cmp h3 { font-size: 1.15em; }
271
+ .cmp .pts { display: flex; flex-direction: column; gap: .45em; margin-top: .2em; }
272
+ .cmp .pts li { position: relative; padding-left: 1.5em; font-size: .8em; line-height: 1.5; color: var(--ink); }
273
+ .cmp .pts li::before { content: "•"; position: absolute; left: .3em; color: var(--purple); font-weight: 800; }
274
+ .cmp.tone-bad { border-color: #f1c6cf; }
275
+ .cmp.tone-bad .cmp-label { background: var(--bad-bg); color: var(--bad); }
276
+ .cmp.tone-bad .pts li::before { content: "✕"; color: var(--bad); left: 0; }
277
+ .cmp.tone-good { border-color: #b8e0d3; background: #fbfefd; }
278
+ .cmp.tone-good .cmp-label { background: var(--good-bg); color: var(--good); }
279
+ .cmp.tone-good .pts li::before { content: "✓"; color: var(--good); left: 0; }
280
+ .cmp.tone-accent { background: #ede7fb; border-color: #d9ccef; }
281
+
282
+ /* ---------- 레이아웃: 대결(어두운 면 + 밝은 면) ---------- */
283
+ .slide--versus { padding: 0; border-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; }
284
+ .vs-side { padding: calc(var(--u) * 5) calc(var(--u) * 5) calc(var(--u) * 4.4); display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 1.3); min-width: 0; }
285
+ .vs-dark { background: var(--night); color: #fff; padding-right: calc(var(--u) * 6); }
286
+ .vs-light { background: var(--paper); padding-left: calc(var(--u) * 6); border-top: calc(var(--u) * .47) solid var(--purple); }
287
+ .vs-side .title { font-size: calc(var(--u) * 3.4); }
288
+ .vs-dark .eyebrow { color: #fff; }
289
+ .vs-dark .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
290
+ .vs-big { font-size: calc(var(--u) * 3.6); font-weight: 800; letter-spacing: -.04em; color: var(--purple-300); line-height: 1.1; margin-top: calc(var(--u) * 1.5); }
291
+ .vs-light .vs-big { color: var(--purple); }
292
+ .vs-bigdesc { font-size: .72em; color: #b9b2d6; margin-top: -.6em; }
293
+ .vs-light .vs-bigdesc { color: var(--muted); }
294
+ .vs-pts { display: flex; flex-direction: column; gap: .55em; font-size: .85em; }
295
+ .vs-pts li { display: flex; gap: .7em; align-items: baseline; }
296
+ .vs-pts li::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--purple-400); flex: none; transform: translateY(-.1em); }
297
+ .vs-badge {
298
+ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
299
+ width: calc(var(--u) * 5.2); height: calc(var(--u) * 5.2); border-radius: 50%;
300
+ background: var(--purple); color: #fff; display: grid; place-items: center;
301
+ font-weight: 800; font-size: calc(var(--u) * 1.5); border: 4px solid #fff;
302
+ }
303
+
304
+ /* ---------- 레이아웃: 프로세스 ---------- */
305
+ .process { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: calc(var(--u) * 1); }
306
+ .phase { grid-column: span 1; text-align: center; font-family: var(--mono); font-size: .62em; font-weight: 800; letter-spacing: .1em; padding: .55em 0; border-radius: 6px; background: var(--purple-100); color: var(--purple-700); text-transform: uppercase; }
307
+ .phase.tone-mid { background: var(--purple-300); color: #fff; }
308
+ .phase.tone-dark { background: var(--purple-700); color: #fff; }
309
+ .step-card { padding: 1em 1em 1em; gap: .35em; min-height: calc(var(--u) * 20); }
310
+ .step-card .idx { color: var(--purple-400); font-size: 1em; }
311
+ .step-card h3 { font-size: .95em; }
312
+ .step-card .sub { font-size: .76em; font-weight: 700; padding-bottom: .55em; border-bottom: 1px solid var(--line); line-height: 1.4; }
313
+ .step-card p { font-size: .7em; }
314
+ .step-card .foot { font-size: .72em; }
315
+
316
+ /* ---------- 레이아웃: 시나리오 줄 / 흐름 ---------- */
317
+ .srows { display: flex; flex-direction: column; gap: calc(var(--u) * 1.1); }
318
+ .srow { display: grid; grid-template-columns: 1.15fr auto 1fr; align-items: center; gap: calc(var(--u) * 1.1); }
319
+ .srow-main { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .6em 1em; min-width: 0; }
320
+ .srow-main small { display: block; font-size: .56em; font-weight: 700; color: var(--muted); letter-spacing: .03em; }
321
+ .srow-main p { font-size: .84em; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
322
+ .srow-chips { display: flex; align-items: center; gap: .6em; flex-wrap: wrap; }
323
+ .node-chip { background: var(--purple-100); border: 1px solid var(--purple-200); border-radius: 8px; padding: .4em .8em; display: flex; flex-direction: column; line-height: 1.3; }
324
+ .node-chip b { font-size: .78em; font-weight: 760; color: var(--purple-700); }
325
+ .node-chip small { font-size: .56em; color: var(--muted); }
326
+
327
+ .flow { display: flex; align-items: stretch; justify-content: center; gap: calc(var(--u) * 1); }
328
+ .node { flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .85em .6em; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: .15em; }
329
+ .node b { font-size: .95em; font-weight: 760; letter-spacing: -.02em; line-height: 1.3; }
330
+ .node small { font-size: .62em; color: var(--muted); line-height: 1.4; }
331
+ .node--hl { background: var(--purple); border-color: var(--purple); color: #fff; }
332
+ .node--hl small { color: #e6ddff; }
333
+ .node--dark { background: var(--night); border-color: var(--night); color: #fff; }
334
+ .node--dark small { color: #cfc8e6; }
335
+ .flow .arrow { align-self: center; }
336
+
337
+ /* ---------- 레이아웃: 타임라인 ---------- */
338
+ .tl { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: calc(var(--u) * 1.2); }
339
+ .tl li { position: relative; padding-top: 2em; display: flex; flex-direction: column; gap: .25em; }
340
+ .tl li::before { content: ""; position: absolute; top: .5em; left: .5em; right: calc(var(--u) * -1.2); height: 2px; background: var(--purple-200); }
341
+ .tl li:last-child::before { display: none; }
342
+ .tl .dot { position: absolute; top: .1em; left: 0; width: .85em; height: .85em; border-radius: 50%; background: var(--purple); z-index: 1; }
343
+ .tl .is-future .dot { background: var(--paper); border: 2px solid var(--purple); }
344
+ .tl .time { font-family: var(--mono); font-size: .8em; font-weight: 750; color: var(--purple); }
345
+ .tl h3 { font-size: .85em; font-weight: 760; line-height: 1.35; }
346
+ .tl p { font-size: .66em; color: var(--muted); line-height: 1.5; }
347
+ .tl .is-now h3 { color: var(--purple); }
348
+
349
+ /* ---------- 레이아웃: 숫자 강조 ---------- */
350
+ .stat-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: calc(var(--u) * 1.4); align-items: stretch; }
351
+ .chart-card { padding: 1.6em 1.8em; gap: 1em; justify-content: center; }
352
+ .chart-card h3 { font-size: 1em; }
353
+ .hbar { display: grid; grid-template-columns: 6.5em 1fr auto; align-items: center; gap: .9em; font-size: .85em; }
354
+ .hbar .track { height: 1.7em; }
355
+ .hbar .fill { height: 100%; border-radius: 4px; background: var(--purple-300); width: calc(var(--p) * 1%); }
356
+ .hbar:nth-of-type(even) .fill, .hbar.is-hl .fill { background: var(--purple); }
357
+ .hbar .val { font-weight: 800; color: var(--purple); }
358
+ .source { font-size: .62em; color: var(--muted); line-height: 1.5; }
359
+ .bignum-card { justify-content: center; gap: .9em; padding: 1.6em 1.8em; }
360
+ .bignum { font-size: calc(var(--u) * 7.4); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
361
+ .bignum-card .desc { font-size: .85em; line-height: 1.5; }
362
+ .bignum-card .source { color: #d9ccf5; }
363
+
364
+ .stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: calc(var(--u) * 1.4); }
365
+ .stat-item { display: flex; flex-direction: column; gap: .3em; padding-top: .9em; border-top: 3px solid var(--purple); min-width: 0; }
366
+ .stat-item .num { font-size: calc(var(--u) * 6); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--purple); }
367
+ .stat-item .num small { font-size: .38em; font-weight: 700; letter-spacing: 0; margin-left: .2em; color: var(--ink); }
368
+ .stat-item h3 { font-size: 1em; font-weight: 760; margin-top: .4em; }
369
+ .stat-item p { font-size: .76em; color: var(--muted); line-height: 1.5; }
370
+ .stat-item.is-hl { background: var(--purple); color: #fff; border: 0; border-radius: 12px; padding: 1.1em 1.2em; }
371
+ .stat-item.is-hl .num, .stat-item.is-hl .num small { color: #fff; }
372
+ .stat-item.is-hl p { color: #e6ddff; }
373
+
374
+ /* ---------- 레이아웃: 막대 차트 ---------- */
375
+ .vchart-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: calc(var(--u) * 3); align-items: center; }
376
+ .vchart { height: calc(var(--u) * 24); display: flex; align-items: stretch; gap: calc(var(--u) * .7); border-bottom: 2px solid var(--line); }
377
+ .vcol { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
378
+ .vcol .val { font-size: .6em; font-weight: 800; color: var(--purple); height: 1.6em; display: flex; align-items: flex-end; opacity: 0; }
379
+ .vcol.is-hl .val, .vchart.show-all .vcol .val { opacity: 1; }
380
+ .vcol .track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
381
+ .vcol .bar { width: 100%; height: calc(var(--p) * 1%); background: var(--purple-200); border-radius: 4px 4px 0 0; }
382
+ .vcol.is-hl .bar { background: var(--purple); }
383
+ .vlabels { display: flex; gap: calc(var(--u) * .7); margin-top: .4em; }
384
+ .vlabels span { flex: 1; text-align: center; font-size: .6em; color: var(--muted); }
385
+ .takeaway { display: flex; flex-direction: column; gap: .5em; }
386
+ .takeaway .big { font-size: calc(var(--u) * 6); font-weight: 800; letter-spacing: -.05em; color: var(--purple); line-height: 1; }
387
+ .takeaway .arrowline { font-size: 1em; font-weight: 720; }
388
+ .axis-title { font-size: .6em; color: var(--muted); }
389
+
390
+ /* ---------- 레이아웃: 표 ---------- */
391
+ .tbl-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
392
+ .tbl { width: 100%; border-collapse: collapse; font-size: .82em; }
393
+ .tbl th { background: var(--purple-50); color: var(--ink); font-weight: 760; text-align: left; padding: .75em 1em; border-bottom: 1px solid var(--line); }
394
+ .tbl td { padding: .8em 1em; border-bottom: 1px solid var(--line); line-height: 1.45; }
395
+ .tbl tr:last-child td { border-bottom: 0; }
396
+ .tbl td:first-child { font-weight: 700; }
397
+ .tbl.zebra tr:nth-child(even) td { background: #fbfaff; }
398
+
399
+ /* ---------- 레이아웃: 체크리스트 ---------- */
400
+ .checklist { border-top: 1px solid var(--line); display: flex; flex-direction: column; }
401
+ .checklist label { display: flex; align-items: center; gap: 1em; padding: .85em .5em; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .92em; }
402
+ .checklist input { accent-color: var(--purple); width: 1.05em; height: 1.05em; flex: none; }
403
+ .checklist label:has(:checked) { background: #eee8fa; }
404
+ .checklist label:has(:checked) span { color: #604b85; }
405
+
406
+ /* ---------- 레이아웃: 따라 하기 ---------- */
407
+ .howto { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: calc(var(--u) * 3); align-items: center; }
408
+ .steps { counter-reset: step; display: flex; flex-direction: column; gap: calc(var(--u) * 1.1); }
409
+ .steps li { counter-increment: step; position: relative; padding-left: calc(var(--u) * 3.4); min-height: calc(var(--u) * 2.6); font-size: .88em; display: flex; flex-direction: column; gap: .4em; justify-content: center; }
410
+ .steps li::before {
411
+ content: counter(step); position: absolute; left: 0; top: .05em; width: calc(var(--u) * 2.5); height: calc(var(--u) * 2.5);
412
+ display: grid; place-items: center; border-radius: 50%; background: #e8dff9; color: var(--purple); font-size: .85em; font-weight: 750;
413
+ }
414
+ .howto .panel { align-self: center; }
415
+ .codebox { position: relative; background: #fff; border: 1px solid #d1c5e8; border-radius: 10px; padding: .6em 4.4em .6em .9em; }
416
+ .codebox pre { margin: 0; font-family: var(--code); font-size: .8em; line-height: 1.55; white-space: pre-wrap; word-break: break-all; color: var(--ink); }
417
+ .copy { position: absolute; top: .5em; right: .5em; border: 1px solid var(--purple-200); background: var(--purple-50); color: var(--purple-700); border-radius: 6px; font-size: .65em; font-weight: 700; padding: .25em .7em; }
418
+ .copy:hover { background: var(--purple-100); }
419
+
420
+ /* ---------- 레이아웃: 이미지 분할 / 인물 / 그림 여러 장 ---------- */
421
+ .slide--imgsplit { padding-right: 0; }
422
+ .imgsplit-text { flex: 1; min-height: 0; width: 50%; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 1.3); position: relative; z-index: 1; }
423
+ .imgsplit-img { position: absolute; top: 0; bottom: 0; right: 0; width: 44%; background: var(--purple-50); }
424
+ .imgsplit-img .media, .portrait .media, .bg-media .media { position: absolute; inset: 0; border: 0; border-radius: 0; box-shadow: 0; background: transparent; }
425
+ .imgsplit-img .shot, .portrait .shot, .bg-media .shot { height: 100%; aspect-ratio: auto; }
426
+ .slide--imgsplit.is-left { padding-right: calc(var(--u) * 5); padding-left: 0; }
427
+ .slide--imgsplit.is-left .imgsplit-img { right: auto; left: 0; }
428
+ .slide--imgsplit.is-left .imgsplit-text { margin-left: auto; padding-left: 0; }
429
+ .facts { display: flex; flex-direction: column; gap: .7em; }
430
+ .facts div { display: flex; flex-direction: column; font-size: .8em; }
431
+ .facts dt { font-family: var(--mono); font-size: .66em; font-weight: 800; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
432
+ .facts dd { margin: 0; font-weight: 700; }
433
+ .imgsplit-text .body-text { font-size: .85em; color: var(--muted); }
434
+
435
+ .profile { flex: 1; min-height: 0; display: grid; grid-template-columns: .8fr 1.3fr 1.1fr; gap: calc(var(--u) * 2.6); align-items: center; }
436
+ .portrait { border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1.05; position: relative; background: var(--purple-50); }
437
+ .timeline-rows li { padding: .75em 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .05em; }
438
+ .timeline-rows li:first-child { padding-top: 0; }
439
+ .timeline-rows li:last-child { border-bottom: 0; }
440
+ .timeline-rows b { font-family: var(--mono); color: var(--purple); font-size: .95em; font-weight: 750; }
441
+ .timeline-rows span { font-size: .84em; font-weight: 650; }
442
+ .quote-card { background: var(--purple); color: #fff; border-radius: 14px; padding: 1.4em 1.5em; display: flex; flex-direction: column; gap: .9em; }
443
+ .quote-card .mark { font-size: 2.6em; line-height: .7; font-weight: 800; color: var(--purple-300); }
444
+ .quote-card p { font-size: .88em; font-weight: 600; line-height: 1.6; }
445
+ .quote-card cite { font-style: normal; font-size: .66em; color: #d9ccf5; }
446
+
447
+ .figures { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: calc(var(--u) * 2); }
448
+ .figure { display: flex; flex-direction: column; gap: .6em; }
449
+ .figure .label { font-family: var(--mono); font-size: .66em; font-weight: 800; color: var(--purple); letter-spacing: .06em; }
450
+ .figure p { font-size: .72em; color: var(--muted); line-height: 1.5; margin-top: -.3em; }
451
+
452
+ /* ---------- 레이아웃: 레이어 / 벤 ---------- */
453
+ .layers { display: flex; flex-direction: column; gap: calc(var(--u) * .9); }
454
+ .layer { display: grid; grid-template-columns: calc(var(--u) * 9) 1fr; align-items: center; gap: calc(var(--u) * 1.5); }
455
+ .layer-label { font-family: var(--mono); font-size: .55em; font-weight: 800; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
456
+ .layer-items { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: calc(var(--u) * .8); }
457
+ .layer-items > * { text-align: center; font-size: .78em; font-weight: 700; padding: .7em .5em; border-radius: 8px; min-width: 0; }
458
+ .layer.tone-outline .layer-items > * { background: #fff; border: 1px solid var(--line); }
459
+ .layer.tone-chip .layer-items { display: flex; flex-wrap: wrap; gap: .5em; }
460
+ .layer.tone-chip .layer-items > * { background: var(--purple-100); color: var(--purple-700); font-size: .66em; padding: .35em .9em; border-radius: 6px; }
461
+ .layer.tone-soft .layer-items > * { background: var(--purple-300); color: #fff; }
462
+ .layer.tone-solid .layer-items > * { background: var(--purple-700); color: #fff; letter-spacing: .06em; padding: .9em .5em; }
463
+
464
+ .venn-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: calc(var(--u) * 3); align-items: center; }
465
+ .venn-wrap svg { width: 100%; height: auto; max-height: calc(var(--u) * 26); }
466
+ .legend { display: flex; flex-direction: column; gap: .8em; }
467
+ .legend li { border-left: 3px solid var(--purple-300); padding-left: .9em; display: flex; flex-direction: column; gap: .1em; }
468
+ .legend b { font-size: .9em; font-weight: 760; }
469
+ .legend b em { font-style: normal; color: var(--purple); }
470
+ .legend p { font-size: .72em; color: var(--muted); line-height: 1.45; }
471
+
472
+ /* ---------- 레이아웃: 인용 / 마무리 ---------- */
473
+ .slide--quote { background: var(--purple); color: #fff; border: 0; justify-content: center; }
474
+ .slide--quote .slide-head { color: #ded2ff; }
475
+ .slide--quote .brand::before { background: #fff; }
476
+ .slide--quote .head-right { display: none; }
477
+ .quote-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 1.6); max-width: 88%; }
478
+ .quote-body .mark { font-size: calc(var(--u) * 7); line-height: .6; font-weight: 800; color: var(--purple-300); }
479
+ .quote-body .text { font-size: calc(var(--u) * 4.2); font-weight: 780; letter-spacing: -.045em; line-height: 1.22; word-break: keep-all; }
480
+ .quote-body .sub { font-size: calc(var(--u) * 1.7); color: #e6ddff; }
481
+ .quote-body cite { font-style: normal; font-size: calc(var(--u) * 1.3); color: #cbbcf3; }
482
+
483
+ .closing-block { display: flex; flex-direction: column; gap: .5em; }
484
+ .closing-block .label { font-size: .8em; font-weight: 700; color: var(--muted); }
485
+ .closing-block .next { font-size: .95em; }
486
+
487
+ /* ---------- 이미지/모바일 보정 ---------- */
488
+ .slide img { max-width: 100%; }
489
+
490
+ /* ==========================================================================
491
+ 뷰어 (슬라이드 넘김 UI)
492
+ ========================================================================== */
493
+ /* 좌우 이동 버튼: zip 파일의 .side-nav 스타일(원형, 보라 chevron, 그림자, 호버 시 보라 배경).
494
+ 위치는 슬라이드 안쪽: 슬라이드 좌우 여백(5u) 안에 들어가고 세로 중앙에 고정된다.
495
+ 슬라이드의 본문은 여백 바깥에서 시작하므로 버튼이 텍스트나 이미지를 가리지 않는다. z-index는 가장 높다. */
496
+ .side-nav {
497
+ --nav-size: clamp(32px, calc(var(--u) * 3.6), 56px);
498
+ position: fixed; top: calc((100vh - var(--bar)) / 2); translate: 0 -50%; z-index: 20;
499
+ display: grid; place-items: center; width: var(--nav-size); height: var(--nav-size); padding: 0;
500
+ color: #673cda; cursor: pointer; background: #ffffffeb;
501
+ border: 1px solid #673cda2e; border-radius: 50%;
502
+ box-shadow: 0 6px 18px #3b245124;
503
+ transition: background .15s, color .15s, opacity .2s, scale .15s;
504
+ }
505
+ .side-nav svg { width: 46%; height: 46%; display: block; }
506
+ /* 호버: EDS primary.opacity02(alpha(elicepurple[700], 0.08))를 흰 바탕 위에 올린 연한 보라.
507
+ 진한 보라 슬라이드(섹션, 인용)에서도 버튼과 화살표가 사라지지 않도록 화살표 색은 그대로 둔다. */
508
+ .side-nav:hover { color: #673cda; background: linear-gradient(rgba(115, 83, 234, .08), rgba(115, 83, 234, .08)), #fff; border-color: #673cda2e; }
509
+ .side-nav:active { scale: .94; }
510
+ .side-nav:focus-visible { outline: 3px solid #b88aff; outline-offset: 3px; }
511
+ .side-nav.prev { left: calc(50vw - 50 * var(--u) + var(--u) * .7); }
512
+ .side-nav.next { right: calc(50vw - 50 * var(--u) + var(--u) * .7); }
513
+ .side-nav:disabled { opacity: 0; pointer-events: none; }
514
+ @media (max-width: 820px) {
515
+ :root { --bar: 84px; }
516
+ #lesson { padding-bottom: 84px; }
517
+ .side-nav { --nav-size: 44px; top: auto; bottom: 18px; translate: none; }
518
+ .side-nav.prev { left: 14px; }
519
+ .side-nav.next { right: 14px; }
520
+ }
521
+ #overview { width: min(1100px, 92vw); max-height: 86vh; border: 0; border-radius: 16px; padding: 0; box-shadow: 0 30px 80px rgba(30, 20, 70, .35); }
522
+ #overview::backdrop { background: rgba(30, 20, 60, .55); }
523
+ #overview header { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
524
+ #overview h2 { font-size: 18px; }
525
+ #overview .grid-ov { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 20px 22px; }
526
+ #overview .ov-item { --u: 2.2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0; text-align: left; overflow: hidden; }
527
+ #overview .ov-item .slide { display: flex !important; pointer-events: none; }
528
+ #overview .ov-item .slide--versus { display: grid !important; }
529
+ #overview .ov-item .no { display: block; padding: 6px 10px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
530
+ #overview .ov-item.is-current { outline: 3px solid var(--purple); }
531
+ #toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 13px; z-index: 30; }
532
+
533
+ /* 캡처, 인쇄: 컨트롤 없이 고정 크기(1280x720)로 */
534
+ body.shot, body.print { --bar: 0px; --u: 12.8px; background: #fff; }
535
+ body.shot .side-nav, body.print .side-nav { display: none; }
536
+ body.shot #lesson { padding: 0; min-height: 0; display: block; }
537
+ body.print #lesson { padding: 0; display: block; min-height: 0; }
538
+ body.print #lesson .slide { display: flex !important; page-break-after: always; break-after: page; }
539
+ body.print #lesson .slide--versus { display: grid !important; }
540
+ @media print {
541
+ @page { size: 1280px 720px; margin: 0; }
542
+ body { --bar: 0px; --u: 12.8px; background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
543
+ #overview, #toast, .side-nav { display: none !important; }
544
+ #lesson { padding: 0; display: block; min-height: 0; }
545
+ #lesson .slide { display: flex !important; break-after: page; page-break-after: always; }
546
+ #lesson .slide--versus { display: grid !important; }
547
+ }
548
+
549
+ /* ---------- 레이아웃: 학습 목표 ---------- */
550
+ .goals { display: flex; flex-direction: column; gap: calc(var(--u) * 1); }
551
+ .goals li { display: flex; align-items: center; gap: 1em; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9em 1.2em; font-size: .98em; font-weight: 650; letter-spacing: -.02em; }
552
+ .goals li::before { content: "✓"; flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-size: .8em; font-weight: 800; }
553
+ .notes { display: none; }
554
+
555
+ .card .idx, .tl .time, .stat-item .num, .bignum, .takeaway .big, .vs-big, .section-no, .hbar .val, .tbl td { font-variant-numeric: tabular-nums; }
556
+
557
+ /* ==========================================================================
558
+ 실습 요소 (zip 자료의 실습 슬라이드): 변수 입력, 프롬프트 빌더, 탭, 퀴즈
559
+ ========================================================================== */
560
+ .var { color: var(--purple-700); font-weight: 650; background: var(--purple-50); border-bottom: 2px dashed var(--purple-400); padding: 0 .15em; border-radius: 3px 3px 0 0; word-break: break-all; }
561
+ .codebox .var { background: var(--purple-100); }
562
+
563
+ .varbox { background: var(--purple); color: #fff; border-radius: 14px; padding: 1.3em 1.5em; display: flex; flex-direction: column; gap: 1em; }
564
+ .varbox .varhead { font-size: .72em; font-weight: 700; color: #e6ddff; }
565
+ .varform { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1em; }
566
+ .varfield { display: flex; flex-direction: column; gap: .4em; min-width: 0; }
567
+ .varfield span { font-size: .72em; font-weight: 700; color: #fff; }
568
+ .varfield input { font: inherit; font-size: .85em; width: 100%; padding: .55em .8em; border-radius: 8px; border: 2px solid transparent; background: #fff; color: var(--ink); }
569
+ .varfield input:focus { outline: none; border-color: var(--lime); }
570
+ .varfield small { font-size: .6em; color: #e6ddff; }
571
+
572
+ .builder { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: calc(var(--u) * 1.5); padding-top: calc(var(--u) * .8); }
573
+ .builder.has-side { display: grid; grid-template-columns: 1.1fr 1fr; gap: calc(var(--u) * 2.6); align-items: start; }
574
+ .bside { display: flex; flex-direction: column; gap: calc(var(--u) * 1.2); min-width: 0; }
575
+ .bgroups { display: flex; flex-direction: column; gap: .75em; min-width: 0; }
576
+ .bgroup { display: flex; flex-direction: column; gap: .35em; }
577
+ .bgroup .blabel { display: flex; align-items: baseline; gap: .6em; font-weight: 760; line-height: 1.2; font-size: .92em; }
578
+ .bgroup .blabel small { font-size: .62em; font-weight: 600; color: var(--muted); }
579
+ .bopts { display: flex; flex-wrap: wrap; gap: .4em; }
580
+ .opt { font: inherit; font-size: .66em; font-weight: 600; padding: .35em .9em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
581
+ .opt:hover { background: var(--purple-100); border-color: var(--purple-200); }
582
+ .opt.is-on { background: var(--purple); border-color: var(--purple); color: #fff; }
583
+ .opt--custom { border-style: dashed; color: var(--purple-700); }
584
+ .bcustom { font: inherit; font-size: .66em; margin-top: .4em; width: 100%; padding: .45em .8em; border-radius: 8px; border: 1px solid var(--purple-200); display: none; }
585
+ .bcustom.is-open { display: block; }
586
+ .bout { display: flex; flex-direction: column; gap: .7em; }
587
+ .bout-head { display: flex; justify-content: space-between; font-size: .66em; font-weight: 700; color: var(--muted); }
588
+ .bout-head b { color: var(--purple); font-variant-numeric: tabular-nums; }
589
+ .bout .codebox pre { font-size: .72em; }
590
+ .bout .picked { background: var(--purple-100); color: var(--purple-700); border-radius: 4px; padding: 0 .2em; font-weight: 650; }
591
+ .bout .unfilled { color: #a79fbd; border-bottom: 1px dashed #c9bfe0; }
592
+ .bout.is-done .bout-head b::after { content: " 완성"; }
593
+
594
+ .tabs-bar { display: flex; gap: .4em; border-bottom: 1px solid var(--line); padding-bottom: .8em; }
595
+ .tab { font: inherit; font-size: .8em; font-weight: 650; padding: .45em 1em; border-radius: 8px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
596
+ .tab:hover { background: var(--purple-100); }
597
+ .tab[aria-selected="true"] { background: var(--purple); color: #fff; }
598
+ .tabpanel { display: none; flex-direction: column; gap: 1em; }
599
+ .tabpanel.is-on { display: flex; }
600
+ .tabs-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.1em; }
601
+
602
+ .quiz { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: calc(var(--u) * 1.6); padding-top: calc(var(--u) * 1.2); }
603
+ .quiz-stack { display: flex; flex-direction: column; gap: .9em; }
604
+ .quiz-q { display: flex; flex-direction: column; gap: .8em; }
605
+ .quiz-q .qlabel { font-family: var(--font); font-size: .6em; font-weight: 800; letter-spacing: .1em; color: var(--purple); }
606
+ .quiz-q .qtext { font-size: 1.35em; font-weight: 760; letter-spacing: -.03em; line-height: 1.4; word-break: keep-all; }
607
+ .qopts { display: flex; flex-direction: column; gap: .6em; }
608
+ .qopt { font: inherit; text-align: left; font-size: .88em; display: flex; gap: .8em; align-items: center; padding: .75em 1em; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
609
+ .qopt::before { content: attr(data-n); flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--purple-100); color: var(--purple-700); display: grid; place-items: center; font-size: .8em; font-weight: 750; font-variant-numeric: tabular-nums; }
610
+ .qopt:hover { border-color: var(--purple-300); }
611
+ .qopt.is-right { background: var(--good-bg); border-color: #8fd0bd; }
612
+ .qopt.is-right::before { content: "✓"; background: var(--good); color: #fff; }
613
+ .qopt.is-wrong { background: var(--bad-bg); border-color: #f1b3be; }
614
+ .qopt.is-wrong::before { content: "✕"; background: var(--bad); color: #fff; }
615
+ .qexp { display: none; }
616
+ .qexp.is-open { display: block; }
617
+ .quiz-done .qopt { cursor: default; }
618
+
619
+ /* ---------- 단계 칩(한 페이지 안의 step by step) ---------- */
620
+ .stepper { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: calc(var(--u) * 2.2); padding-top: calc(var(--u) * 1.2); }
621
+ .stp-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .5em; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6em .8em; }
622
+ .stp { font: inherit; font-size: .8em; font-weight: 650; display: inline-flex; align-items: center; gap: .6em; padding: .3em .95em .3em .35em; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
623
+ .stp:hover { background: var(--purple-100); }
624
+ .stp.is-on:hover { background: var(--key); filter: brightness(.94); }
625
+ .stp-n { width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; font-size: .85em; font-weight: 750; font-variant-numeric: tabular-nums; background: #fff; border: 1.5px solid #c9bfe0; color: var(--muted); }
626
+ .stp.is-done .stp-n { background: var(--purple-200); border-color: var(--purple-200); color: var(--purple-700); }
627
+ .stp.is-on { background: var(--key); border-color: var(--key); }
628
+ .stp.is-on .stp-n { background: #fff; border-color: #fff; color: var(--key); }
629
+ .stp.is-on .stp-l { color: #fff; font-weight: 760; }
630
+ .stp-arrow { color: #c9bfe0; font-weight: 700; }
631
+ .stp-panel { display: none; gap: calc(var(--u) * 2.4); align-items: center; }
632
+ .stp-panel.is-on { display: grid; grid-template-columns: minmax(0, 1fr); }
633
+ .stp-panel.is-on:has(.panel) { grid-template-columns: 1.1fr .9fr; }
634
+ .stp-main { display: flex; flex-direction: column; gap: .8em; min-width: 0; }
635
+ .stp-main h3 { font-size: 1.25em; font-weight: 780; letter-spacing: -.03em; line-height: 1.35; }
636
+ .stp-main > p { font-size: .9em; line-height: 1.6; }
637
+
638
+ /* ---------- 쪽 번호(왼쪽 아래)와 실행 버튼(오른쪽 아래) ---------- */
639
+ .slide-page { position: absolute; left: calc(var(--u) * 5); bottom: calc(var(--u) * 1.5); display: flex; align-items: baseline; gap: .3em; font-size: calc(var(--u) * 2); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
640
+ .slide-page b { color: var(--key); font-weight: 800; }
641
+ .slide-page span { color: #c7c2d6; font-weight: 700; }
642
+ .slide-actions { position: absolute; right: calc(var(--u) * 5); bottom: calc(var(--u) * 1.3); display: flex; gap: .6em; z-index: 1; }
643
+ .act { font: inherit; font-size: calc(var(--u) * 1.3); font-weight: 700; padding: .55em 1.4em; border-radius: 8px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
644
+ /* EDS Button outlined + secondary: 글자 secondary.main(#212121), 테두리 surface.border(bluegray[300] #d6dae1), 호버 테두리 bluegray[400] #bec4cd */
645
+ .act--retry { background: #fff; border: 1px solid #d6dae1; color: var(--secondary); }
646
+ .act--retry:hover { background: #2121210a; border-color: #bec4cd; }
647
+ .act--primary { background: var(--key); border: 1px solid var(--key); color: #fff; }
648
+ .act--primary:hover { filter: brightness(.92); }
649
+ .act:disabled { background: #e6e3ee; border-color: #e6e3ee; color: #fff; cursor: default; filter: none; }
650
+ .act--retry:disabled { background: #fff; border-color: #e8eaee; color: #b5b0c4; }
651
+ .qopt.is-picked { border-color: var(--key); background: var(--purple-50); }
652
+ .qopt.is-right { background: var(--good-bg); border-color: #8fd0bd; }
653
+ .qopt.is-wrong { background: var(--bad-bg); border-color: #f1b3be; }
654
+
655
+ /* ---------- 레이아웃: 변경 전후 짝, 전면 배경 이미지 ---------- */
656
+ .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--u) * 2); }
657
+ .pair-item { gap: .55em; }
658
+ .pair-label { font-size: .66em; font-weight: 800; letter-spacing: .06em; color: var(--purple); }
659
+ .pair-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
660
+ .pair-concl { font-size: 1.5em; font-weight: 780; letter-spacing: -.03em; color: var(--purple); }
661
+ .pair-note { font-size: .7em; color: var(--muted); }
662
+
663
+ .slide--imgbg { padding: 0; border-top: 0; display: block; background: #1b1830; }
664
+ .bg-media { position: absolute; inset: 0; }
665
+ .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 24, 48, .94) 0, rgba(27, 24, 48, .86) 36%, rgba(27, 24, 48, .12) 70%, rgba(27, 24, 48, 0) 100%); }
666
+ .slide--imgbg.tone-light .scrim { background: linear-gradient(90deg, rgba(246, 244, 254, .98) 0, rgba(246, 244, 254, .92) 36%, rgba(246, 244, 254, .15) 70%, rgba(246, 244, 254, 0) 100%); }
667
+ .imgbg-text { position: relative; z-index: 1; width: 48%; height: 100%; padding: calc(var(--u) * 4) calc(var(--u) * 5); display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 1.1); color: #fff; }
668
+ .slide--imgbg.tone-light .imgbg-text { color: var(--ink); }
669
+ .slide--imgbg .eyebrow { color: #fff; }
670
+ .slide--imgbg.tone-light .eyebrow { color: var(--purple); }
671
+ .imgbg-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--u) * 1); }
672
+ .imgbg-card { padding: 1em 1.1em; border-radius: 12px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); display: flex; flex-direction: column; gap: .3em; }
673
+ .slide--imgbg.tone-light .imgbg-card { background: #fff; border-color: var(--line); }
674
+ .imgbg-card h3 { font-size: 1em; font-weight: 760; }
675
+ .imgbg-card p { font-size: .72em; line-height: 1.5; opacity: .8; }
676
+ .imgbg-bar { background: var(--key); color: #fff; border-radius: 8px; padding: .7em 1em; font-weight: 700; font-size: .85em; text-align: center; }
677
+
678
+ /* 이미지 최대 높이: 글이 많아도 페이지를 넘지 않게 안전선을 둔다(넘치면 cover로 잘림) */
679
+ .figures .shot { max-height: calc(var(--u) * 21); }
680
+ .split .shot, .howto .shot { max-height: calc(var(--u) * 26); }
681
+ .stp-panel .shot { max-height: calc(var(--u) * 20); }
682
+ .pair .shot { max-height: calc(var(--u) * 22); }
683
+ .cmp .shot { max-height: calc(var(--u) * 14); }
684
+ .frame-phone .shot { max-height: none; }
685
+ .figures .frame-phone { height: calc(var(--u) * 22); }
686
+ .cards-2 .card { padding: .9em 1.1em; }
687
+ .stp-main { gap: .6em; }
688
+ .stepper { gap: calc(var(--u) * 1.8); padding-top: calc(var(--u) * .8); }
689
+
690
+ .cards-2 .card { padding: .7em 1em; gap: .3em; }
691
+ .cmp .frame-tint { padding: .8em; }
692
+ .cmp .shot { max-height: calc(var(--u) * 12); }
693
+ .steps { gap: calc(var(--u) * .8); }
694
+ .steps li { gap: .3em; }
695
+ .bgroups { gap: .6em; }
696
+ .qopt { padding: .6em 1em; }
697
+ .qopts { gap: .5em; }
698
+
699
+ .steps li { font-size: .84em; }
700
+ .codebox { padding: .45em 4.2em .45em .8em; }
701
+ .stp-main h3 { font-size: 1.15em; }
702
+ .stp-main > p { font-size: .85em; }
703
+ .stepper { gap: calc(var(--u) * 1.4); padding-top: calc(var(--u) * .4); }
704
+
705
+ .bg-media .media { background: #2c2848; }
706
+ .slide--imgbg.tone-light .bg-media .media { background: var(--purple-100); }
707
+
708
+ /* 줄바꿈 품질: 제목과 문장은 줄 길이를 고르게 나누고, 한 글자만 남는 줄을 피한다 */
709
+ .title, .subtitle, .lead, h3, .qtext, .conclusion, .pair-concl, .quote-body .text, .stp-main h3 { text-wrap: balance; }
710
+ p, li, .callout, .rows span, figcaption, .srow-main p { text-wrap: pretty; }
711
+
712
+ .statement-fig { width: calc(var(--u) * 34); }
713
+ .statement-fig .shot { max-height: calc(var(--u) * 16); }
714
+
715
+ .bside-media .shot { max-height: calc(var(--u) * 14); }
716
+ .bside-media .frame-phone { height: calc(var(--u) * 20); }
717
+ /* 입력 영역: EDS OutlinedInput(기본 테두리 surface.border #d6dae1, 포커스 text.primary 1px) */
718
+ .binput { display: flex; flex-direction: column; gap: .4em; }
719
+ .binput span { font-size: .75em; font-weight: 700; }
720
+ .binput textarea { font: inherit; font-size: .8em; width: 100%; resize: none; padding: .6em .8em; border-radius: 10px; border: 1px solid #d6dae1; background: #fff; color: var(--ink); line-height: 1.5; }
721
+ .binput textarea:focus { outline: none; border-color: #212121; }
722
+
723
+ /* 이미지 틀 plain: 틀 없이 이미지만(모서리만 살짝 둥글게) */
724
+ .frame-plain { background: transparent; border-radius: 10px; }
725
+ .frame-plain .shot { border-radius: 10px; }
726
+
727
+ /* 퀴즈: 선택한 보기가 페이지 배경과 구분되도록 연보라 면, 진한 테두리, primary 번호 */
728
+ .qopt.is-picked { background: var(--purple-100); border-color: var(--key); box-shadow: 0 0 0 1px var(--key); font-weight: 650; }
729
+ .qopt.is-picked::before { background: var(--key); color: #fff; }
730
+ .qopt.is-right { box-shadow: none; font-weight: 650; }
731
+ .qopt.is-wrong { box-shadow: none; }
732
+
733
+ /* 프롬프트 빌더: 세로 쌓기 높이 정리 */
734
+ .builder { gap: calc(var(--u) * 1); padding-top: calc(var(--u) * .3); }
735
+ .bgroups { gap: .55em; }
736
+ .bgroup { gap: .25em; }
737
+ .opt { padding: .3em .85em; }
738
+ .bout { gap: .5em; }
739
+ .bout .codebox pre { font-size: .7em; }
740
+ .bside-media .shot { max-height: calc(var(--u) * 11); }
741
+ .bside { gap: calc(var(--u) * 1); }
742
+
743
+ /* 전면 배경 이미지: 이미지 자리를 오른쪽에 뚜렷하게 표시(막 뒤에 숨지 않게) */
744
+ .bg-media .ph { left: 52%; right: calc(var(--u) * 3); top: calc(var(--u) * 3); bottom: calc(var(--u) * 3); }
745
+ .slide--imgbg:not(.tone-light) .ph { color: #d9ccf5; border-color: rgba(255, 255, 255, .4); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px); }
746
+ .slide--imgbg:not(.tone-light) .ph span { color: #e6ddff; }
747
+ .slide--imgbg:not(.tone-light) .ph small { color: #c9b8f5; }
748
+ /* 프롬프트 빌더: 오른쪽 열 높이 */
749
+ .bside-media .shot { max-height: calc(var(--u) * 9); }
750
+ .bside-media .frame-phone { height: calc(var(--u) * 14); }
751
+ .builder.has-side .bout .codebox pre { font-size: .66em; }
752
+
753
+ .bmain { display: flex; flex-direction: column; gap: calc(var(--u) * 1); min-width: 0; }
754
+
755
+ .legend .kw { font-size: .56em; font-weight: 800; letter-spacing: .08em; color: var(--purple); text-transform: uppercase; }
756
+ .builder.has-side { grid-template-columns: 1.3fr .9fr; }
757
+
758
+ /* 제목 줄바꿈: 단어 중간에서 끊지 않는다(띄어쓰기에서만 줄바꿈). 표지는 열을 넓히고 글자를 조금 줄여 두 줄로 끝나게 한다 */
759
+ .title { overflow-wrap: break-word; word-break: keep-all; }
760
+ .title--xl { font-size: calc(var(--u) * 5.6); text-wrap: pretty; }
761
+ .cover-grid { grid-template-columns: 1.35fr .65fr; }
762
+ .cover-dark .title { max-width: 72%; text-wrap: pretty; }
763
+ .bside-media .shot { max-height: calc(var(--u) * 7); }
764
+
765
+ /* ---------- 큰 토글 비교: 토글은 위쪽에 고정, 아래 내용만 바뀐다 ---------- */
766
+ .toggle { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: calc(var(--u) * 1.6); padding-top: calc(var(--u) * .8); }
767
+ .tg-bar { align-self: flex-start; display: inline-flex; gap: .3em; padding: .35em; border-radius: 999px; background: #e9e6f2; }
768
+ .tg-btn { font: inherit; font-size: 1.05em; font-weight: 700; padding: .55em 1.9em; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
769
+ .tg-btn:hover { color: var(--purple-700); }
770
+ .tg-btn.is-on { background: var(--key); color: #fff; box-shadow: 0 6px 16px rgba(103, 60, 218, .35); }
771
+ .tg-panels { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2em 1.4em; }
772
+ .tg-panel { display: none; gap: calc(var(--u) * 2.4); align-items: center; }
773
+ .tg-panel.is-on { display: grid; grid-template-columns: minmax(0, 1fr); }
774
+ .tg-panel.is-on:has(.tg-media) { grid-template-columns: 1.15fr .85fr; }
775
+ .tg-main { display: flex; flex-direction: column; gap: .8em; min-width: 0; }
776
+ .tg-main h3 { font-size: 1.1em; font-weight: 780; letter-spacing: -.03em; }
777
+ .tg-flow { display: flex; align-items: stretch; gap: .8em; }
778
+ .tg-node { flex: 1 1 0; min-width: 0; background: var(--purple-50); border: 1px solid var(--purple-200); border-radius: 12px; padding: .8em .7em; text-align: center; display: flex; flex-direction: column; gap: .2em; justify-content: center; }
779
+ .tg-node b { font-size: .88em; font-weight: 760; }
780
+ .tg-node p { font-size: .66em; color: var(--muted); line-height: 1.4; }
781
+ .tg-flow .arrow { align-self: center; }
782
+ .tg-desc { font-size: .84em; line-height: 1.55; }
783
+ .tg-media .shot { max-height: calc(var(--u) * 14); }
784
+
785
+ .tg-flow:empty { display: none; }
786
+ .tg-media .shot { max-height: calc(var(--u) * 11); }
787
+ .tg-panels { padding: 1em 1.3em; }
788
+ .toggle { gap: calc(var(--u) * 1.2); }
789
+
790
+ /* 토글 높이 정리 */
791
+ .tg-node { padding: .6em .5em; }
792
+ .tg-main { gap: .6em; }
793
+
794
+ /* 복사 박스: 직접 수정 가능(EDS 입력칸 포커스: 진한 테두리) */
795
+ .codebox pre[contenteditable] { outline: none; cursor: text; }
796
+ .codebox:focus-within { border-color: #212121; }
797
+ .stp-main .binput textarea { font-size: .78em; }
798
+
799
+ /* ---------- OX 퀴즈 목록 ---------- */
800
+ .oxl { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: .7em; padding-top: calc(var(--u) * .6); }
801
+ .oxl-head { display: flex; justify-content: space-between; align-items: center; font-size: .8em; font-weight: 700; }
802
+ .oxl-count { font-size: .8em; color: var(--purple-700); background: var(--purple-100); border-radius: 6px; padding: .2em .7em; }
803
+ .oxl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2em 1em; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .5em 1em; }
804
+ .oxl-q { font-size: .88em; font-weight: 650; line-height: 1.4; }
805
+ .oxl-btns { display: flex; gap: .5em; }
806
+ .oxb { font: inherit; width: 2.9em; height: 2.3em; border-radius: 10px; border: 2px solid #d6dae1; background: #fff; color: var(--muted); font-weight: 800; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
807
+ .oxb:hover { border-color: var(--purple-300); }
808
+ .oxb.is-picked { border-color: var(--key); background: var(--purple-100); color: var(--key); }
809
+ .oxb.is-right { border-color: var(--good); background: var(--good-bg); color: var(--good); }
810
+ .oxb.is-wrong { border-color: var(--bad); background: var(--bad-bg); color: var(--bad); }
811
+ .oxl-exp { grid-column: 1 / -1; display: none; font-size: .7em; color: var(--muted); line-height: 1.5; }
812
+ .oxl-row.is-done .oxl-exp { display: block; }
813
+ .ox-done .oxb { cursor: default; }
814
+
815
+ /* ---------- OX 퀴즈 카드(플래시 카드) ---------- */
816
+ .oxc { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: calc(var(--u) * .8); }
817
+ .oxc-card { width: min(100%, calc(var(--u) * 72)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 34px rgba(60, 40, 120, .09); padding: 1.2em 1.5em; display: flex; flex-direction: column; gap: .9em; }
818
+ .oxc-label { align-self: flex-start; font-size: .66em; font-weight: 750; color: var(--purple-700); background: var(--purple-100); border-radius: 6px; padding: .25em .8em; }
819
+ .oxc-q { font-size: 1.2em; font-weight: 760; line-height: 1.4; letter-spacing: -.02em; }
820
+ .oxc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9em; }
821
+ .oxt { font: inherit; height: calc(var(--u) * 10); display: grid; place-items: center; background: #fff; border: 2px solid #e6e3ee; border-radius: 16px; cursor: pointer; transition: border-color .15s, background .15s; }
822
+ .oxt svg { width: calc(var(--u) * 5.4); height: calc(var(--u) * 5.4); }
823
+ .oxt--o { color: var(--good); }
824
+ .oxt--x { color: var(--bad); }
825
+ .oxt:hover { border-color: var(--purple-300); }
826
+ .oxt.is-picked { border-color: var(--key); background: var(--purple-50); box-shadow: 0 0 0 1px var(--key); }
827
+ .oxt.is-right { border-color: var(--good); background: var(--good-bg); box-shadow: none; }
828
+ .oxt.is-wrong { border-color: var(--bad); background: var(--bad-bg); box-shadow: none; }
829
+ .oxc-exp { display: none; }
830
+ .ox-done .oxc-exp { display: block; }
831
+
832
+ /* ---------- 복사 버튼: EDS contained, color inherit (bluegray 200/300) ---------- */
833
+ .copy { display: inline-flex; align-items: center; gap: .3em; border: 0; background: #e9ebf0; color: #212121; border-radius: 8px; font-family: inherit; font-size: .68em; font-weight: 600; padding: .4em .85em; cursor: pointer; white-space: nowrap; }
834
+ .copy:hover { background: #d6dae1; }
835
+ .copy svg, .act svg { width: 1.15em; height: 1.15em; flex: none; }
836
+ .codebox { padding-right: 6em; }
837
+ .copy.is-copied { background: #e9ebf0; color: #212121; }
838
+ .act { display: inline-flex; align-items: center; justify-content: center; gap: .35em; }
839
+
840
+ /* ---------- 포커스: sub color(#212121) ---------- */
841
+ .varfield input:focus { outline: none; border-color: #212121; box-shadow: 0 0 0 1px #212121; }
842
+ .bcustom:focus { outline: none; border-color: #212121; }
843
+
844
+ /* ---------- 토글 조금 작게 ---------- */
845
+ .tg-btn { font-size: .85em; padding: .45em 1.5em; }
846
+ .tg-bar { padding: .3em; }
847
+
848
+ /* ---------- 체크리스트: 크고 둥근 체크 ---------- */
849
+ .checklist input { appearance: none; -webkit-appearance: none; width: 1.55em; height: 1.55em; border-radius: 50%; border: 2px solid #bec4cd; background: #fff; display: grid; place-content: center; cursor: pointer; transition: background .15s, border-color .15s; }
850
+ .checklist input::after { content: ""; width: .38em; height: .72em; border: solid #fff; border-width: 0 .17em .17em 0; transform: translateY(-.06em) rotate(45deg) scale(0); transition: transform .12s; }
851
+ .checklist input:checked { background: var(--key); border-color: var(--key); }
852
+ .checklist input:checked::after { transform: translateY(-.06em) rotate(45deg) scale(1); }
853
+ .checklist input:hover { border-color: var(--key); }
854
+
855
+ /* ---------- 시나리오 행: 카드 높이 맞춤 ---------- */
856
+ .srow { align-items: stretch; }
857
+ .srow > .arrow { align-self: center; }
858
+ .srow-main { display: flex; flex-direction: column; justify-content: center; }
859
+ .srow-chips { align-items: stretch; }
860
+ .srow-chips > .arrow { align-self: center; }
861
+ .node-chip { justify-content: center; }
862
+
863
+ /* ---------- 흐름: 요소를 살짝 위로 ---------- */
864
+ [data-layout="flow"] .body { padding-bottom: calc(var(--u) * 5); }
865
+
866
+ /* ---------- 프롬프트 빌더: 그룹이 적으면 좌/우 ---------- */
867
+ .builder:not(.has-side):not(:has(.bgroup:nth-child(4))) { display: grid; grid-template-columns: 1.1fr 1fr; gap: calc(var(--u) * 2.6); align-items: start; }
868
+
869
+ /* ---------- 키워드 칩(statement): 칩이 많고 이미지가 있으면 좌/우, 이미지 크게 ---------- */
870
+ .statement-fig { width: calc(var(--u) * 40); }
871
+ .statement-fig .shot { max-height: calc(var(--u) * 18); }
872
+ .body:has(.statement-fig):has(.chip:nth-child(4)) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; column-gap: calc(var(--u) * 3); }
873
+ .body:has(.statement-fig):has(.chip:nth-child(4)) .conclusion { grid-column: 1 / -1; }
874
+ .body:has(.statement-fig):has(.chip:nth-child(4)) .statement-fig { width: 100%; }
875
+ .body:has(.statement-fig):has(.chip:nth-child(4)) .statement-fig .shot { max-height: calc(var(--u) * 24); }
876
+
877
+ .body:has(.statement-fig):has(.chip:nth-child(4)) .chips--lg .chip { font-size: .72em; }
878
+ .body:has(.statement-fig):has(.chip:nth-child(4)) .statement-fig .shot { max-height: calc(var(--u) * 20); }
879
+
880
+ /* ---------- 제목 위치 고정 모드: meta.title_mode = "fixed" ---------- */
881
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { height: calc(var(--u) * 6.4); justify-content: center; flex-direction: column; position: relative; padding-left: calc(var(--u) * 5.6); }
882
+ #lesson[data-title="fixed"] .titlebox .eyebrow { display: none; }
883
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox .title { font-size: calc(var(--u) * 2.6); line-height: 1.25; }
884
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: calc(var(--u) * 4.2); height: calc(var(--u) * 4.2); border-radius: calc(var(--u) * 1.2); background: var(--key); box-shadow: 0 6px 14px rgba(103, 60, 218, .28); }
885
+
886
+ /* ---------- 휴대폰 틀: 다른 이미지 틀과 같은 밝은 카드 톤 ---------- */
887
+ .frame-phone { background: #fff; border: 1px solid var(--line); padding: calc(var(--u) * .6); border-radius: calc(var(--u) * 2.6); box-shadow: 0 14px 34px rgba(60, 40, 120, .09); }
888
+ .frame-phone .shot { border-radius: calc(var(--u) * 2); }
889
+ .frame-phone .ph { color: var(--muted); border-color: #cfc5ea; background: repeating-linear-gradient(135deg, #f6f4fb 0 12px, #fbfaff 12px 24px); }
890
+ .frame-phone .ph small { color: var(--purple-400); }
891
+
892
+ /* ---------- tint 틀: 카드 안 이미지는 neutral 배경(또는 흰색), 이미지는 그대로 ---------- */
893
+ .frame-tint { background: #f3f4f6; border: 1px solid #e9ebf0; padding: calc(var(--u) * .8); }
894
+ .frame-tint .shot { border-radius: 8px; background: #fff; box-shadow: none; }
895
+ .cmp .frame-tint { padding: .6em; }
896
+
897
+ /* 결론 문장이 쪽 번호와 멀어지게 */
898
+ [data-layout="statement"] .body { padding-bottom: calc(var(--u) * 3.2); }
899
+ .statement-fig .shot { max-height: calc(var(--u) * 21); }
900
+ .body:has(.statement-fig):has(.chip:nth-child(4)) .statement-fig .shot { max-height: calc(var(--u) * 27); }
901
+
902
+ /* 체크박스: 더 크게, 체크 표시는 SVG로 정중앙 */
903
+ .checklist input { width: 1.9em; height: 1.9em; display: block; background-repeat: no-repeat; background-position: center; background-size: 64%; }
904
+ .checklist input::after { content: none; }
905
+ .checklist input:checked { background-color: var(--key); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5 10 17 18.5 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
906
+ .checklist label { gap: 1.1em; }
907
+
908
+ /* 프롬프트 빌더: 선택지가 적으면(항목당 4개 이하, 직접 입력 포함) 좌/우, 많으면 위아래 */
909
+ .builder:not(.has-side):not(:has(.bgroup:nth-child(4))) { display: flex; flex-direction: column; }
910
+ .builder:not(.has-side):not(:has(.bopts > .opt:nth-child(5))) { display: grid; grid-template-columns: 1.15fr 1fr; gap: calc(var(--u) * 2.6); align-items: start; }
911
+ .builder:not(.has-side):not(:has(.bopts > .opt:nth-child(5))) .bout { position: sticky; top: 0; }
912
+
913
+ /* ---------- OX 색: EDS success, error (main + opacity02) ---------- */
914
+ .oxt--o, .oxb[data-v="O"] { --c: #2e7d32; --cb: rgba(46, 125, 50, .08); --cbh: rgba(46, 125, 50, .16); }
915
+ .oxt--x, .oxb[data-v="X"] { --c: #c62828; --cb: rgba(211, 47, 47, .08); --cbh: rgba(211, 47, 47, .16); }
916
+ .oxt, .oxb { color: var(--c); background: var(--cb); border-color: transparent; }
917
+ .oxt:hover, .oxb:hover { background: var(--cbh); border-color: transparent; }
918
+ .oxt.is-picked, .oxb.is-picked { background: var(--cbh); border-color: var(--c); box-shadow: none; color: var(--c); }
919
+ .oxt.is-right, .oxb.is-right { background: var(--cbh); border-color: var(--c); }
920
+ .oxt.is-wrong, .oxb.is-wrong { background: #fff; border: 2px dashed var(--c); }
921
+ .ox-done .oxt:not(.is-right):not(.is-wrong), .ox-done .oxb:not(.is-right):not(.is-wrong) { opacity: .45; }
922
+
923
+ /* 휴대폰 틀: 비율을 강제하지 않고 영역을 가득 채운다(비율은 사용자가 ratio로 선택) */
924
+ .frame-phone, .figures .frame-phone, .split .frame-phone, .howto .frame-phone, .stp-panel .frame-phone, .bside-media .frame-phone { width: 100%; height: auto; margin: 0; }
925
+ .frame-phone .shot { width: 100%; height: auto; aspect-ratio: var(--ratio, 9 / 16); }
926
+ .figures .frame-phone .shot, .split .frame-phone .shot, .howto .frame-phone .shot, .stp-panel .frame-phone .shot, .bside-media .frame-phone .shot { max-height: calc(var(--u) * 21); }
927
+
928
+ /* tint 틀: 배경은 한 겹(연회색)만. 안쪽 흰 카드를 깔지 않는다 */
929
+ .frame-tint { padding: calc(var(--u) * .7); }
930
+ .frame-tint .shot { background: transparent; border-radius: 8px; }
931
+ .frame-tint .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 12px, transparent 12px 24px); }
932
+
933
+ /* ---------- 객관식: 카드(quiz)와 목록(choice-list) ---------- */
934
+ .oxc-tiles--c { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7em; }
935
+ .oxt--c { height: auto; min-height: calc(var(--u) * 6); display: flex; align-items: center; justify-content: flex-start; gap: .8em; text-align: left; padding: .7em 1.1em; font-size: .9em; font-weight: 650; color: var(--ink); background: #fff; border: 2px solid #e6e3ee; }
936
+ .oxt--c .cn { flex: none; width: 1.8em; height: 1.8em; border-radius: 50%; display: grid; place-items: center; background: var(--purple-100); color: var(--purple-700); font-size: .85em; font-weight: 750; }
937
+ .oxt--c:hover { background: var(--purple-50); border-color: var(--purple-300); }
938
+ .oxt--c.is-picked { background: var(--purple-100); border-color: var(--key); box-shadow: 0 0 0 1px var(--key); color: var(--ink); }
939
+ .oxt--c.is-picked .cn { background: var(--key); color: #fff; }
940
+ .oxt--c.is-right { background: rgba(46, 125, 50, .12); border-color: #2e7d32; box-shadow: none; }
941
+ .oxt--c.is-right .cn { background: #2e7d32; color: #fff; }
942
+ .oxt--c.is-wrong { background: #fff; border: 2px dashed #c62828; box-shadow: none; }
943
+ .oxt--c.is-wrong .cn { background: #c62828; color: #fff; }
944
+ .ox-done .oxt--c:not(.is-right):not(.is-wrong) { opacity: .5; }
945
+ .oxb--c { width: auto; min-width: 4.2em; padding: 0 1em; height: 2.3em; font-size: .8em; font-weight: 650; color: var(--ink); background: #fff; border: 2px solid #d6dae1; white-space: nowrap; }
946
+ .oxb--c:hover { background: var(--purple-50); border-color: var(--purple-300); }
947
+ .oxb--c.is-picked { background: var(--purple-100); border-color: var(--key); color: var(--ink); }
948
+ .oxb--c.is-right { background: rgba(46, 125, 50, .12); border-color: #2e7d32; color: #1b5e20; }
949
+ .oxb--c.is-wrong { background: #fff; border: 2px dashed #c62828; color: #c62828; }
950
+
951
+ /* ---------- 문서형 기본: 머리글(장 이름, 전체 자료 제목) 숨김, 태그만 오른쪽 위에 ---------- */
952
+ #lesson[data-header="hide"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head { position: absolute; top: calc(var(--u) * 3.6); right: calc(var(--u) * 5); z-index: 1; }
953
+ #lesson[data-header="hide"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head .brand, #lesson[data-header="hide"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head .head-right { display: none; }
954
+ #lesson[data-header="hide"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) { padding-top: calc(var(--u) * 3); }
955
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { height: calc(var(--u) * 6.8); justify-content: flex-start; padding-top: calc(var(--u) * .4); }
956
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox::before { top: calc(var(--u) * .4); transform: none; }
957
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox .title { padding-top: calc(var(--u) * .45); padding-right: calc(var(--u) * 12); }
958
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7l4 4V20a.5.5 0 0 1-.5.5h-10.5a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M14 3.5v4h4M9.5 12.5h5M9.5 16h5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 52%; background-color: var(--key); }
959
+
960
+ /* 제목 줄: 배지와 제목을 한 줄에 놓고 세로 가운데 정렬 */
961
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { display: flex; flex-direction: row; align-items: flex-start; gap: calc(var(--u) * 1.4); padding-left: 0; padding-top: calc(var(--u) * .4); }
962
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox::before { position: static; transform: none; flex: none; align-self: flex-start; }
963
+ #lesson[data-title="fixed"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox .title { display: flex; align-items: center; min-height: calc(var(--u) * 4.2); padding: 0 calc(var(--u) * 12) 0 0; margin: 0; line-height: 1.25; }
964
+
965
+ /* 제목 줄 확정: 배지와 제목 한 줄, 세로 가운데 정렬, 아이콘은 채우지 않고 선만 */
966
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { display: flex; flex-direction: row; align-items: flex-start; gap: calc(var(--u) * 1.1); padding-left: 0; padding-top: calc(var(--u) * .4); }
967
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox::before { position: static; transform: none; flex: none; align-self: flex-start; width: calc(var(--u) * 4.2); height: calc(var(--u) * 4.2); background-color: transparent; box-shadow: none; border-radius: 0; background-size: 78%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23673cda' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7l4 4V20a.5.5 0 0 1-.5.5h-10.5a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M14 3.5v4h4M9.5 12.5h5M9.5 16h5'/%3E%3C/svg%3E"); }
968
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox .title { display: flex; align-items: center; min-height: calc(var(--u) * 4.2); padding: 0 calc(var(--u) * 12) 0 0; margin: 0; line-height: 1.25; }
969
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { justify-content: flex-start; }
970
+
971
+ /* 제목 영역 확정: 연한 띠 배경 + 왼쪽 key color 막대, 아이콘 없음 */
972
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { position: relative; height: calc(var(--u) * 5.4); padding: 0 calc(var(--u) * 14) 0 calc(var(--u) * 2.2); align-items: center; gap: 0; background: var(--purple-100); border-radius: calc(var(--u) * 1); overflow: hidden; }
973
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--u) * .6); height: auto; background: var(--key); background-image: none; border-radius: 0; box-shadow: none; transform: none; }
974
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox .title { min-height: 0; padding: 0; }
975
+ #lesson[data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head { top: calc(var(--u) * 4.6); right: calc(var(--u) * 6.2); }
976
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox::before { height: 100%; min-height: calc(var(--u) * 5.4); align-self: auto; flex: none; }
977
+
978
+ /* 제목 띠를 슬라이드 위쪽 끝에 붙인다(좌우 끝까지) */
979
+ #lesson[data-title="fixed"][data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) { padding-top: 0; gap: calc(var(--u) * 1.8); }
980
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { margin: 0 calc(var(--u) * -5); padding: 0 calc(var(--u) * 16) 0 calc(var(--u) * 5); border-radius: 0; height: calc(var(--u) * 5.6); }
981
+ #lesson[data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head { top: calc(var(--u) * 1.7); right: calc(var(--u) * 5); }
982
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { background: #f1eefc; }
983
+
984
+ /* 제목 줄 오른쪽 보조 정보: tag(페이지별) 또는 meta.header_right="title"(자료 제목) */
985
+ #lesson[data-header="hide"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head .tag { background: #fff; font-size: calc(var(--u) * 1.15); padding: .4em .9em; max-width: calc(var(--u) * 30); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
986
+ #lesson[data-header="hide"][data-hright="title"] .slide:not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head .head-right { display: inline; font-size: calc(var(--u) * 1.15); color: var(--muted); font-weight: 650; }
987
+
988
+ /* 제목 영역: Figma(Material 16106:16596) 그라데이션. 위쪽 보더와 띠, 막대는 쓰지 않는다 */
989
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) { border-top: 0; background: linear-gradient(180deg, #eae5fe 0, #f6f4fe calc(var(--u) * 12.5)), var(--paper); }
990
+ #lesson[data-title="fixed"][data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) { padding-top: calc(var(--u) * 2.2); }
991
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { margin: 0; padding: 0 calc(var(--u) * 16) 0 0; background: transparent; height: calc(var(--u) * 5); overflow: visible; }
992
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox::before { display: none; }
993
+ #lesson[data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head { top: calc(var(--u) * 3.6); right: calc(var(--u) * 5); }
994
+
995
+ /* 단계 칩: 카드와 배경 없이, 단계 내용은 칩에서 떨어뜨려 남은 영역의 세로 가운데에 */
996
+ .stp-bar { background: transparent; border: 0; border-radius: 0; padding: 0; }
997
+ .stepper { gap: 0; padding-top: calc(var(--u) * .4); }
998
+ .stp-panels { flex: 1; min-height: 0; display: flex; align-items: center; padding-top: calc(var(--u) * 1.4); }
999
+ .stp-panel.is-on { width: 100%; }
1000
+
1001
+ /* 퀴즈 카드(ox-card, quiz): 남은 영역의 세로 가운데 */
1002
+ .oxc { align-items: center; padding-top: 0; }
1003
+
1004
+ /* 퀴즈 목록(ox-list, choice-list): 남은 영역의 세로 가운데 */
1005
+ .oxl { justify-content: center; padding-top: 0; }
1006
+
1007
+ /* tint 틀: 배경을 깔 때는 흰색, 이미지는 칸에 맞춰 넣는다 */
1008
+ .frame-tint { background: #fff; border: 1px solid var(--line); padding: calc(var(--u) * .5); }
1009
+ .cmp .frame-tint { padding: .4em; }
1010
+ .frame-tint .shot { border-radius: 8px; background: transparent; }
1011
+ .frame-tint .ph { background: repeating-linear-gradient(135deg, #f6f4fb 0 12px, #fbfaff 12px 24px); }
1012
+
1013
+ /* 제목 위 작은 라벨(장표명 또는 자료명): 제목 위치는 그대로, 라벨은 제목 위 여백에 */
1014
+ #lesson[data-title="fixed"] .titlebox .eyebrow { display: block; position: absolute; left: 0; top: calc(var(--u) * -1.6); font-family: inherit; font-size: calc(var(--u) * 1.25); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--key); line-height: 1.3; white-space: nowrap; }
1015
+ #lesson[data-title="fixed"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .titlebox { position: relative; }
1016
+ #lesson[data-title="fixed"][data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) { padding-top: calc(var(--u) * 3.6); }
1017
+ #lesson[data-title="fixed"] .titlebox .eyebrow { top: calc(var(--u) * -1.9); }
1018
+ #lesson[data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head { top: calc(var(--u) * 4.6); }
1019
+ #lesson[data-title="fixed"][data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) { padding-top: calc(var(--u) * 4.2); }
1020
+ #lesson[data-title="fixed"] .titlebox .eyebrow { top: calc(var(--u) * -1.15); }
1021
+ #lesson[data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]) .slide-head { top: calc(var(--u) * 5.2); }
1022
+
1023
+ /* 내용은 제목 아래 남은 영역의 세로 가운데에 */
1024
+ .builder, .toggle { justify-content: center; align-content: center; padding-top: 0; }
1025
+ .builder.has-side, .builder:not(.has-side):not(:has(.bgroup:nth-child(4))), .builder:not(.has-side):not(:has(.bopts > .opt:nth-child(5))) { align-content: center; }
1026
+
1027
+ /* 좌우 분할(versus): 문서형에서도 위, 가운데에 틈 없이 꽉 붙인다 */
1028
+ #lesson .slide--versus { padding: 0 !important; gap: 0 !important; background: #fff !important; border-top: 0 !important; }
1029
+ #lesson[data-title="fixed"] .slide--versus .vs-light { border-top: 0; }
1030
+
1031
+ /* ---------- 배경 장식(Figma Material 16107:16599): 문서형 본문 페이지 ---------- */
1032
+ #lesson[data-bg="decor"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]):not(.slide--versus) { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%20900%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22r%22%20x1%3D%221%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ddd6ff%22%20stop-opacity%3D%22.9%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ece8ff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22c%22%20cx%3D%22.3%22%20cy%3D%22.3%22%20r%3D%22.8%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f3f0fe%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ebe7fb%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%22-30%22%20r%3D%22247%22%20fill%3D%22none%22%20stroke%3D%22url%28%23r%29%22%20stroke-width%3D%2230%22%2F%3E%3Ccircle%20cx%3D%221505%22%20cy%3D%22200%22%20r%3D%22113%22%20fill%3D%22url%28%23c%29%22%20opacity%3D%22.7%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%22658%22%20r%3D%2258%22%20fill%3D%22url%28%23c%29%22%20opacity%3D%22.7%22%2F%3E%3Ccircle%20cx%3D%22350%22%20cy%3D%22818%22%20r%3D%22113%22%20fill%3D%22url%28%23c%29%22%20opacity%3D%22.7%22%2F%3E%3Cpath%20d%3D%22M760%20890%20C1000%20880%201150%20850%201235%20790%20C1290%20745%201340%20700%201335%20665%20C1330%20630%201295%20635%201270%20660%20C1235%20695%201215%20750%201250%20790%20C1300%20840%201370%20800%201410%20770%20C1470%20725%201500%20680%201480%20645%20C1465%20620%201430%20630%201410%20650%20C1375%20690%201360%20745%201395%20785%20C1440%20840%201560%20835%201620%20815%22%20fill%3D%22none%22%20stroke%3D%22%23e9e5fa%22%20stroke-width%3D%2226%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.55%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat, linear-gradient(180deg, #eae5fe 0, #f6f4fe calc(var(--u) * 12.5)), var(--paper); }
1033
+
1034
+ /* ---------- 보조 정보(tag): 제목 위 작은 라벨 줄의 오른쪽 끝, 텍스트로만(EDS text.tertiary) ---------- */
1035
+ #lesson[data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]):not(.slide--versus) .slide-head { top: calc(var(--u) * 3.05); right: calc(var(--u) * 5); }
1036
+ #lesson[data-header="hide"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]):not(.slide--versus) .slide-head .tag { background: transparent; padding: 0; border-radius: 0; color: #66717e; font-size: calc(var(--u) * 1.25); font-weight: 650; letter-spacing: 0; line-height: 1.3; }
1037
+
1038
+ /* 프롬프트 빌더: 항목 사이 간격을 넓히고 연한 구분선으로 나눈다 */
1039
+ .bgroups { gap: 0; }
1040
+ .bgroup { gap: .45em; padding: .85em 0; border-bottom: 1px solid #e6e3ee; }
1041
+ .bgroup:first-child { padding-top: 0; }
1042
+ .bgroup:last-child { padding-bottom: 0; border-bottom: 0; }
1043
+
1044
+ /* 배경 장식 업데이트(Figma 16107:16599): 위쪽 그라데이션, 왼쪽 위 호, 오른쪽 아래 고리 선만. 더 옅게 */
1045
+ #lesson[data-bg="decor"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]):not(.slide--versus) { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201600%20900%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22r%22%20x1%3D%221%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23e9e4fe%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f1eefd%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%22-30%22%20r%3D%22247%22%20fill%3D%22none%22%20stroke%3D%22url%28%23r%29%22%20stroke-width%3D%2230%22%2F%3E%3Cpath%20d%3D%22M760%20890%20C1000%20880%201150%20850%201235%20790%20C1290%20745%201340%20700%201335%20665%20C1330%20630%201295%20635%201270%20660%20C1235%20695%201215%20750%201250%20790%20C1300%20840%201370%20800%201410%20770%20C1470%20725%201500%20680%201480%20645%20C1465%20620%201430%20630%201410%20650%20C1375%20690%201360%20745%201395%20785%20C1440%20840%201560%20835%201620%20815%22%20fill%3D%22none%22%20stroke%3D%22%23f1eefd%22%20stroke-width%3D%2226%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat, linear-gradient(180deg, #efeafd 0, #f6f4fe calc(var(--u) * 11.5)), var(--paper); }
1046
+
1047
+ /* 배경 확정(Figma 16106:16596): 위쪽 그라데이션만. 장식 도형 없음 */
1048
+ #lesson[data-bg="decor"] .slide:not(.slide--dark):not([data-layout^="cover"]):not([data-layout="section"]):not([data-layout="closing"]):not([data-layout="image-bg"]):not([data-layout="quote"]):not(.slide--versus) { background: linear-gradient(180deg, #eae5fe 0, #f6f4fe calc(var(--u) * 12.5)), var(--paper); }
1049
+
1050
+ /* ---------- 시뮬레이션 실습 ---------- */
1051
+ .sim { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 1.6); }
1052
+ .sim-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: calc(var(--u) * 2.4); align-items: start; }
1053
+ .sim-left { display: flex; flex-direction: column; gap: calc(var(--u) * 1.3); min-width: 0; }
1054
+ .sim-scenes { display: flex; flex-wrap: wrap; gap: .5em; }
1055
+ .sim-scene { font: inherit; font-size: .8em; font-weight: 650; padding: .35em 1em; border-radius: 999px; border: 1px solid #d6dae1; background: #fff; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
1056
+ .sim-scene:hover { background: var(--purple-50); border-color: var(--purple-300); }
1057
+ .sim-scene.is-on { background: var(--key); border-color: var(--key); color: #fff; }
1058
+ .sim-ctls { display: flex; flex-direction: column; gap: .9em; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1em 1.2em; }
1059
+ .sim-ctl-h { display: flex; justify-content: space-between; align-items: baseline; font-size: .85em; font-weight: 750; }
1060
+ .sim-val { color: var(--key); font-variant-numeric: tabular-nums; }
1061
+ .sim-ctl input[type=range] { width: 100%; margin: .35em 0 0; accent-color: var(--key); cursor: pointer; }
1062
+ .sim-ticks { display: flex; justify-content: space-between; font-size: .6em; color: var(--muted); font-variant-numeric: tabular-nums; }
1063
+ .sim-right { display: flex; flex-direction: column; gap: .7em; min-width: 0; }
1064
+ .sim-view .shot { max-height: calc(var(--u) * 19); }
1065
+ .sim-status { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .5em 1em; font-size: .78em; font-weight: 650; color: var(--muted); }
1066
+ .sim-readout { color: var(--ink); font-variant-numeric: tabular-nums; }
1067
+ .sim-missions { display: flex; flex-direction: column; gap: .5em; }
1068
+ .sim-mh { display: flex; justify-content: space-between; font-size: .8em; font-weight: 750; }
1069
+ .sim-count { color: var(--key); font-variant-numeric: tabular-nums; }
1070
+ .sim-mlist { display: grid; grid-template-columns: repeat(var(--m, 3), minmax(0, 1fr)); gap: .8em; }
1071
+ .sim-m { display: flex; align-items: center; gap: .7em; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7em 1em; font-size: .8em; line-height: 1.4; font-weight: 600; transition: background .15s, border-color .15s; }
1072
+ .sim-chk { flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; border: 2px solid #bec4cd; background: #fff center / 64% no-repeat; transition: background-color .15s, border-color .15s; }
1073
+ .sim-m.is-ok { background: rgba(46, 125, 50, .06); border-color: #2e7d32; }
1074
+ .sim-m.is-ok .sim-chk { background-color: #2e7d32; border-color: #2e7d32; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5 10 17 18.5 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
1075
+ .sim-done .sim-count::after { content: " 완료"; }
1076
+ .sim-view .shot { max-height: calc(var(--u) * 16); }
1077
+ .sim-ctls { padding: .8em 1.1em; gap: .7em; }
1078
+ .sim-m { padding: .55em .9em; }
1079
+
1080
+ /* 탭, 장면, 토글 라벨 앞 이모지 */
1081
+ .emo { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-style: normal; margin-right: .4em; letter-spacing: 0; }
1082
+
1083
+ /* 시뮬레이션: 윗줄(장면 | 현재 설정), 아랫줄(슬라이더 | 결과 이미지)을 같은 높이로 */
1084
+ .sim-top { grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto; row-gap: calc(var(--u) * 1.2); column-gap: calc(var(--u) * 2.4); align-items: stretch; }
1085
+ .sim-scenes { align-self: center; }
1086
+ .sim-status { align-self: center; }
1087
+ .sim-view { margin: 0; display: flex; min-height: 0; }
1088
+ .sim-view .media { flex: 1; display: flex; flex-direction: column; width: 100%; }
1089
+ .sim-view .shot { flex: 1; min-height: 0; aspect-ratio: auto; max-height: none; height: auto; }
1090
+
1091
+ /* 한 페이지짜리 자료는 쪽 번호를 숨긴다 */
1092
+ #lesson[data-single="true"] .slide-page { display: none; }
1093
+
1094
+ /* 다시 하기: outline 버튼만, 앞에 retry 아이콘 */
1095
+ .act[data-act="retry"] { background: #fff; border: 1px solid #d6dae1; color: #212121; }
1096
+ .act[data-act="retry"]::before { content: ""; width: 1.15em; height: 1.15em; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212121' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.6-5.9'/%3E%3Cpath d='M20 4v5h-5'/%3E%3C/svg%3E") center / contain no-repeat; }
1097
+ .act[data-act="retry"]:hover { background: #2121210a; border-color: #bec4cd; }
1098
+ .act[data-act="retry"]:disabled { background: #fff; border-color: #e8eaee; color: #b5b0c4; opacity: .6; }
1099
+ .sim-m { font-size: .76em; padding: .5em .8em; }
1100
+ .sim-ctls { gap: .55em; padding: .7em 1.1em; }
1101
+ .sim { gap: calc(var(--u) * 1.2); }
1102
+ .sim-ticks span { white-space: nowrap; }
1103
+ .sim-scene { white-space: nowrap; }