aicommunicator 0.0.0-stage → 0.2.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 (97) hide show
  1. package/LICENSE +55 -0
  2. package/README.md +93 -2
  3. package/bin/aic.js +20427 -0
  4. package/host-ui/host.js +5151 -0
  5. package/host-ui/index.html +483 -0
  6. package/host-ui/lang-en.js +631 -0
  7. package/package.json +30 -4
  8. package/plugin-guide.md +997 -0
  9. package/plugins/plugin-animation/LICENSE +55 -0
  10. package/plugins/plugin-animation/dist/logic.js +2225 -0
  11. package/plugins/plugin-animation/docs/manual.md +217 -0
  12. package/plugins/plugin-animation/manifest.json +31 -0
  13. package/plugins/plugin-animation/ui/icon.svg +6 -0
  14. package/plugins/plugin-animation/ui/index.html +2266 -0
  15. package/plugins/plugin-html-design/LICENSE +55 -0
  16. package/plugins/plugin-html-design/dist/logic.js +972 -0
  17. package/plugins/plugin-html-design/docs/manual.md +100 -0
  18. package/plugins/plugin-html-design/manifest.json +39 -0
  19. package/plugins/plugin-html-design/samples/exhibition-page.json +570 -0
  20. package/plugins/plugin-html-design/ui/icon.svg +5 -0
  21. package/plugins/plugin-html-design/ui/index.html +1241 -0
  22. package/plugins/plugin-html-slides/LICENSE +55 -0
  23. package/plugins/plugin-html-slides/dist/logic.js +1323 -0
  24. package/plugins/plugin-html-slides/docs/manual.md +121 -0
  25. package/plugins/plugin-html-slides/manifest.json +39 -0
  26. package/plugins/plugin-html-slides/samples/first-week-lecture.json +1129 -0
  27. package/plugins/plugin-html-slides/ui/icon.svg +5 -0
  28. package/plugins/plugin-html-slides/ui/index.html +1349 -0
  29. package/plugins/plugin-mindmap/LICENSE +55 -0
  30. package/plugins/plugin-mindmap/dist/logic.js +966 -0
  31. package/plugins/plugin-mindmap/docs/manual.md +145 -0
  32. package/plugins/plugin-mindmap/manifest.json +39 -0
  33. package/plugins/plugin-mindmap/samples/book-club.json +480 -0
  34. package/plugins/plugin-mindmap/ui/icon.svg +5 -0
  35. package/plugins/plugin-mindmap/ui/index.html +1774 -0
  36. package/plugins/plugin-plan/LICENSE +55 -0
  37. package/plugins/plugin-plan/dist/logic.js +1029 -0
  38. package/plugins/plugin-plan/docs/manual.md +261 -0
  39. package/plugins/plugin-plan/manifest.json +51 -0
  40. package/plugins/plugin-plan/samples/kimchi-day.json +1514 -0
  41. package/plugins/plugin-plan/samples/meeting-outline.json +653 -0
  42. package/plugins/plugin-plan/samples/reading-class.json +1577 -0
  43. package/plugins/plugin-plan/ui/icon.svg +7 -0
  44. package/plugins/plugin-plan/ui/index.html +1523 -0
  45. package/plugins/plugin-png/LICENSE +55 -0
  46. package/plugins/plugin-png/dist/logic.js +1758 -0
  47. package/plugins/plugin-png/docs/manual.md +344 -0
  48. package/plugins/plugin-png/manifest.json +35 -0
  49. package/plugins/plugin-png/ui/icon.svg +5 -0
  50. package/plugins/plugin-png/ui/index.html +2885 -0
  51. package/plugins/plugin-process-log/LICENSE +55 -0
  52. package/plugins/plugin-process-log/dist/logic.js +406 -0
  53. package/plugins/plugin-process-log/docs/manual.md +131 -0
  54. package/plugins/plugin-process-log/manifest.json +43 -0
  55. package/plugins/plugin-process-log/samples/design-decisions.json +241 -0
  56. package/plugins/plugin-process-log/ui/icon.svg +7 -0
  57. package/plugins/plugin-process-log/ui/index.html +721 -0
  58. package/plugins/plugin-story/LICENSE +55 -0
  59. package/plugins/plugin-story/dist/logic.js +2201 -0
  60. package/plugins/plugin-story/docs/manual.md +428 -0
  61. package/plugins/plugin-story/manifest.json +49 -0
  62. package/plugins/plugin-story/samples/scene-body.json +758 -0
  63. package/plugins/plugin-story/samples/time-and-groups.json +989 -0
  64. package/plugins/plugin-story/ui/icon.svg +4 -0
  65. package/plugins/plugin-story/ui/index.html +2783 -0
  66. package/plugins/plugin-svg/LICENSE +55 -0
  67. package/plugins/plugin-svg/dist/logic.js +2150 -0
  68. package/plugins/plugin-svg/docs/manual.md +314 -0
  69. package/plugins/plugin-svg/manifest.json +45 -0
  70. package/plugins/plugin-svg/samples/rocket-icon.json +1305 -0
  71. package/plugins/plugin-svg/samples/yard-cat.json +7796 -0
  72. package/plugins/plugin-svg/ui/icon.svg +4 -0
  73. package/plugins/plugin-svg/ui/index.html +2017 -0
  74. package/plugins/plugin-tree/LICENSE +55 -0
  75. package/plugins/plugin-tree/dist/logic.js +505 -0
  76. package/plugins/plugin-tree/docs/manual.md +140 -0
  77. package/plugins/plugin-tree/manifest.json +45 -0
  78. package/plugins/plugin-tree/samples/book-club.json +473 -0
  79. package/plugins/plugin-tree/samples/sort-memos.json +604 -0
  80. package/plugins/plugin-tree/ui/icon.svg +7 -0
  81. package/plugins/plugin-tree/ui/index.html +1305 -0
  82. package/schema/aic_describe.input.json +11 -0
  83. package/schema/aic_describe.output.json +67 -0
  84. package/schema/aic_observe.input.json +14 -0
  85. package/schema/aic_observe.output.json +47 -0
  86. package/schema/aic_send.input.json +15 -0
  87. package/schema/aic_send.output.json +38 -0
  88. package/schema/aic_update.input.json +19 -0
  89. package/schema/aic_update.output.json +39 -0
  90. package/schema/common.json +127 -0
  91. package/template/plugin/LICENSE +55 -0
  92. package/template/plugin/README.md +27 -0
  93. package/template/plugin/docs/manual.md +31 -0
  94. package/template/plugin/logic.js +337 -0
  95. package/template/plugin/manifest.json +27 -0
  96. package/template/plugin/ui/icon.svg +4 -0
  97. package/template/plugin/ui/index.html +269 -0
@@ -0,0 +1,483 @@
1
+ <!doctype html>
2
+ <html lang="ko" class="lang-wait">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>AIC 개념 화면</title>
7
+ <style>
8
+ :root {
9
+ color-scheme: light dark;
10
+ --bg: #f6f6f4; --panel: #ffffff; --text: #1f2328; --muted: #626a73; --line: #dcdfe3; --accent: #2f6f8f; --warn: #a4471f;
11
+ --memo: #fff6c2; --memo-text: #453a00; --memo-line: #e6d67a;
12
+ --danger: #b3261e; --danger-bg: #fdecea;
13
+ }
14
+ @media (prefers-color-scheme: dark) {
15
+ :root { --bg: #191b1e; --panel: #22252a; --text: #e6e8eb; --muted: #9aa3ad; --line: #363b42; --accent: #7cc0dd; --warn: #eb9a78;
16
+ --memo: #453d17; --memo-text: #f4e9ae; --memo-line: #6d6125; --danger: #ff8a80; --danger-bg: #3d1b19; }
17
+ }
18
+ /* 화면의 언어를 코어에서 읽을 때까지 숨긴다(영어 화면에서 한국어가 비치지 않게). host.js 가 읽으면 lang-wait 를 떼고, 읽지 못해도 1.5초 뒤에는 보인다 */
19
+ html.lang-wait body { visibility: hidden; animation: lang-show 0s 1.5s forwards; }
20
+ @keyframes lang-show { to { visibility: visible; } }
21
+ * { box-sizing: border-box; }
22
+ html, body { height: 100%; margin: 0; }
23
+ body { display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 14px/1.5 system-ui, "Malgun Gothic", sans-serif; }
24
+ /* 위쪽 줄은 한 줄로 얇게 둔다(rawdev 2026-11-24). 화면 이름은 읽어 주는 프로그램에만 남기고, 버튼은 아이콘으로 둔다(이름은 title 과 aria-label) */
25
+ header { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 3px 8px; background: var(--panel); border-bottom: 1px solid var(--line); }
26
+ h1 { margin: 0; font-size: 15px; font-weight: 600; }
27
+ .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
28
+ label { color: var(--muted); }
29
+ select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; max-width: 280px; }
30
+ #status { margin-left: auto; flex: 1 1 60px; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
31
+ /* 잘못된 것을 알리는 글은 줄이지 않고 다 보인다 */
32
+ #status.bad { color: var(--warn); white-space: normal; overflow-wrap: anywhere; }
33
+ .hdr-tools { display: flex; align-items: center; gap: 2px; }
34
+ .hdr-sep { width: 1px; height: 18px; margin: 0 4px; background: var(--line); }
35
+ .icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; padding: 0; background: transparent; border: 1px solid transparent; border-radius: 6px; color: var(--muted); }
36
+ .icon-btn:hover { background: var(--bg); color: var(--text); }
37
+ .icon-btn[aria-expanded="true"], .icon-btn[aria-pressed="true"] { background: var(--bg); border-color: var(--line); color: var(--accent); }
38
+ .icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
39
+ .icon-btn .dot { position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
40
+ .icon-btn:disabled { opacity: .45; cursor: default; }
41
+ /* 위쪽 줄의 지금 작업 이름(032 35.2절 5번). 누르면 작업 열기 목록이 열린다. id 와 저장소는 title 에 둔다 */
42
+ .work-btn { display: inline-flex; align-items: center; gap: 4px; flex: 0 1 auto; min-width: 0; max-width: 320px; height: 28px; padding: 0 6px 0 8px; background: transparent; border: 1px solid var(--line); border-radius: 6px; color: var(--text); font-weight: 600; }
43
+ .work-btn:hover, .work-btn[aria-expanded="true"] { background: var(--bg); }
44
+ .work-btn #workTitle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
45
+ .work-btn svg { flex: none; width: 12px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
46
+
47
+ /* 옮기기(032 10.1절). 지금 편집 인스턴스(#editing)는 읽어 주는 프로그램에만 남기고 눈으로는 왼쪽 화면 목록에서 본다 */
48
+ #band { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 16px; background: var(--memo); color: var(--memo-text); border-bottom: 1px solid var(--memo-line); }
49
+ #band .text { flex: 1; min-width: 200px; overflow-wrap: anywhere; }
50
+ #band .btn { border-color: var(--memo-line); }
51
+ #band .btn.primary { color: var(--panel); }
52
+ /* 옮기기 띠가 AI 의 확인을 기다릴 때 띠 아래에 보이는 기다림 상자(032 22절 4번) */
53
+ #waitBox { display: flex; flex-direction: column; gap: 2px; padding: 6px 16px; background: var(--panel); color: var(--text); border-bottom: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; }
54
+ #waitBox [data-wait="elapsed"], #waitBox [data-wait="call"] { color: var(--muted); }
55
+ #main { flex: 1; min-height: 0; display: flex; position: relative; }
56
+ #view { flex: 1; min-width: 0; border: 0; display: block; background: var(--bg); }
57
+ /* 사람의 조작을 저장하고 화면을 다시 그리는 동안의 기다림 창. 짧으면 띄우지 않는다 */
58
+ #wait { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .08); cursor: progress; }
59
+ #wait[hidden] { display: none; }
60
+ #wait .box { display: flex; align-items: center; gap: 10px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 12px 18px; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
61
+ #wait .spin { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: wait-spin .8s linear infinite; }
62
+ @keyframes wait-spin { to { transform: rotate(360deg); } }
63
+ @media (prefers-reduced-motion: reduce) { #wait .spin { animation: none; } }
64
+ #message { flex: 1; padding: 40px 16px; text-align: center; color: var(--muted); }
65
+
66
+ /* 처음 화면(032 35.2절). 작업을 열지 않았을 때는 주 화면에, 연 뒤에는 위쪽 줄의 작업 이름이나 + 버튼으로 여는 창(#homeDialog)에 같은 것을 그린다 */
67
+ #home { flex: 1; min-width: 0; overflow: auto; padding: 18px 16px 24px; background: var(--bg); }
68
+ .home { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
69
+ .home h2 { margin: 0; font-size: 14px; font-weight: 600; }
70
+ .home-place { font-size: 13px; }
71
+ .home-place h2 { margin-bottom: 6px; }
72
+ .home-place-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; }
73
+ .home-place-text { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
74
+ .home-place-note { margin: 6px 0 0; color: var(--muted); }
75
+ .home-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 6px; }
76
+ .home-head h2 { margin-right: auto; }
77
+ .kind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; }
78
+ .kind-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 9px 4px 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
79
+ .kind-tile:hover { border-color: var(--accent); }
80
+ .kind-tile[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
81
+ .kind-name { max-width: 100%; font-size: 12px; line-height: 1.3; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
82
+ .kind-icon { flex: none; width: 32px; height: 32px; border-radius: 8px; }
83
+ .kind-icon.letter { display: inline-flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 15px; font-weight: 600; }
84
+ .kind-icon.blank { background: transparent; border: 0; }
85
+ .kind-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
86
+ .home-name { margin-top: 8px; }
87
+ .home-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
88
+ .home-title { flex: 1 1 200px; min-width: 0; font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--accent); border-radius: 5px; padding: 4px 8px; }
89
+ .home-dup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--warn); }
90
+ .home-find { flex: 0 1 220px; min-width: 0; font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; }
91
+ .home-find:focus { outline: none; border-color: var(--accent); }
92
+ .work-list { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
93
+ .work-row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
94
+ .work-row:last-child { border-bottom: 0; }
95
+ .work-row.current { background: var(--bg); box-shadow: inset 3px 0 0 var(--accent); }
96
+ .work-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: transparent; border: 0; text-align: left; }
97
+ .work-open:hover { background: var(--bg); }
98
+ .work-row .kind-icon { width: 22px; height: 22px; border-radius: 6px; }
99
+ .work-row .kind-icon.letter { font-size: 11px; border-radius: 50%; }
100
+ .work-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
101
+ .work-now { flex: none; font-size: 11px; color: var(--accent); border: 1px solid var(--accent); border-radius: 8px; padding: 0 6px; }
102
+ .work-when { flex: none; color: var(--muted); font-size: 12px; }
103
+ .work-row .icon-btn { margin-right: 4px; }
104
+ /* 받은 파일을 끌어다 놓는 동안 놓을 곳을 테두리로 보인다(032 35.3절) */
105
+ #home.drop-on { outline: 2px dashed var(--accent); outline-offset: -6px; }
106
+ /* 처음 화면 아래 구석의 다른 언어 이름(글 버튼) */
107
+ .home-lang { align-self: flex-end; padding: 0; background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
108
+ .home-lang:hover { color: var(--accent); }
109
+ #homeDialog.drop-on .box { outline: 2px dashed var(--accent); outline-offset: -4px; }
110
+ #homeDialog { position: fixed; inset: 0; z-index: 57; display: flex; align-items: flex-start; justify-content: flex-start; padding: 40px 8px 8px; background: rgba(0, 0, 0, .25); }
111
+ #homeDialog .box { position: relative; width: min(calc(100vw - 16px), 640px); max-height: calc(100vh - 56px); overflow: auto; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
112
+ #homeClose { position: absolute; top: 6px; right: 6px; }
113
+
114
+ /* 플러그인 화면 옆 칸: 작업 의도와 메모함(029 7.1절) */
115
+ #side { width: 300px; flex: none; overflow: auto; background: var(--panel); border-left: 1px solid var(--line); padding: 10px 12px; }
116
+ #side h2 { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0; }
117
+ #side section + section { margin-top: 14px; }
118
+ .head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
119
+ button { font: inherit; color: inherit; cursor: pointer; }
120
+ .btn { white-space: nowrap; background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 1px 8px; font-size: 13px; }
121
+ .btn:hover { background: var(--bg); }
122
+ .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--panel); }
123
+ .btn.danger { color: var(--warn); border-color: var(--warn); }
124
+ textarea { font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--accent); border-radius: 5px; padding: 3px 6px; width: 100%; display: block; resize: vertical; min-height: 4em; }
125
+ .actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
126
+ .empty { color: var(--muted); font-size: 13px; margin: 0; }
127
+ .intent-text { white-space: pre-wrap; overflow-wrap: anywhere; }
128
+ .meta { color: var(--muted); font-size: 12px; }
129
+ .memo-item { background: var(--memo); color: var(--memo-text); border: 1px solid var(--memo-line); border-radius: 5px; padding: 5px 8px; margin-bottom: 6px; }
130
+ .memo-item .memo-text { white-space: pre-wrap; overflow-wrap: anywhere; }
131
+ .memo-item .meta { color: inherit; opacity: .75; }
132
+ .memo-item .memo-id { float: right; margin: 0 0 2px 8px; font-size: 11px; opacity: .7; font-family: ui-monospace, Consolas, monospace; user-select: all; }
133
+ #memoFind { display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; }
134
+ #memoSearch { font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; width: 100%; box-sizing: border-box; }
135
+ #memoSearch:focus { outline: none; border-color: var(--accent); }
136
+ #memoPager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; margin: 6px 0; }
137
+ #memoPager .page-now { font-size: 13px; padding: 0 4px; }
138
+ #memoPager .btn:disabled { opacity: .45; cursor: default; }
139
+ /* 접힌 메모는 줄바꿈을 접어 글의 앞 세 줄만 보여 주고, 누르면 펼친다. */
140
+ .memo-item.closed { cursor: pointer; }
141
+ .memo-item.closed:hover { border-color: var(--accent); }
142
+ .memo-item.closed .memo-text { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
143
+ .memo-item.closed .meta, .memo-item.closed .actions { display: none; }
144
+ .ref { text-decoration: underline; text-underline-offset: 2px; }
145
+ .gone { text-decoration: line-through; opacity: .7; }
146
+ .hint { color: var(--muted); font-size: 12px; margin: 3px 0 0; }
147
+
148
+ .tabs { display: flex; gap: 2px; margin: -2px 0 10px; border-bottom: 1px solid var(--line); }
149
+ .tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 4px 10px; color: var(--muted); }
150
+ .tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
151
+ .badge { margin-left: 4px; font-size: 11px; background: var(--accent); color: var(--panel); border-radius: 8px; padding: 0 5px; }
152
+ #side.wide { width: max(360px, 40vw); }
153
+ .art-meta { color: var(--muted); font-size: 12px; margin: 4px 0 8px; overflow-wrap: anywhere; }
154
+ .art-meta .warn { color: var(--warn); }
155
+ #outputList { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
156
+ #outputList h3 { font-size: 13px; margin: 0 0 4px; }
157
+ .output-row { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 3px 0; }
158
+ .output-row .name { flex: 1; overflow-wrap: anywhere; }
159
+ .scene-block { margin-bottom: 12px; }
160
+ .scene-block h3 { font-size: 13px; margin: 0 0 3px; color: var(--muted); font-weight: 600; user-select: none; }
161
+ .scene-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; cursor: text; border-radius: 4px; padding: 2px 4px; margin: 0 -4px; }
162
+ .scene-text:hover { background: var(--bg); }
163
+ .missing { color: var(--muted); font-size: 13px; font-style: italic; }
164
+ #selectionBox, #currentSelection .box { border: 1px solid var(--accent); border-radius: 6px; padding: 6px 8px; margin: 8px 0; }
165
+ #selectionBox input { width: 100%; font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; }
166
+ .quote { overflow-wrap: anywhere; font-size: 13px; }
167
+ #dialog { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); }
168
+ #dialog .box { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; width: min(92vw, 420px); }
169
+ #dialog p { margin: 0 0 8px; overflow-wrap: anywhere; }
170
+ #dialog ul { margin: 0 0 8px; padding-left: 18px; }
171
+
172
+ /* 왼쪽의 이 작업의 화면 목록(032 27절). 줄마다 이름(누르면 옮기기 제안), [보기](032 21절), [이름](24절). 숨길 수 있다 */
173
+ #switchMenuWrap { width: 240px; flex: none; overflow: auto; background: var(--panel); border-right: 1px solid var(--line); padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 6px; }
174
+ #switchMenuWrap .ip-head { display: flex; align-items: center; gap: 6px; }
175
+ #switchMenuWrap h2 { flex: 1; margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
176
+ #switchMenuWrap .ip-note { margin: 4px 2px 0; font-size: 12px; color: var(--muted); }
177
+ /* 숨기면 칸을 모두 비운다. 위쪽 줄의 버튼으로 다시 보인다(rawdev 2026-11-24) */
178
+ #switchMenuWrap.collapsed, #side.closed { display: none; }
179
+ .instance-list { display: flex; flex-direction: column; gap: 2px; }
180
+ .menu-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; border-radius: 5px; }
181
+ .menu-row [data-instance-notice] { flex-basis: 100%; margin: 0 4px 4px; }
182
+ .menu-row.current { background: var(--bg); }
183
+ .menu-row button[data-instance] { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: transparent; border: 0; border-radius: 4px; padding: 4px 6px; color: inherit; font: inherit; cursor: pointer; }
184
+ .menu-row button[data-instance]:hover:not(:disabled) { background: var(--bg); }
185
+ .menu-row button[data-instance]:disabled { cursor: default; color: inherit; }
186
+ .menu-row button[data-instance] .name { overflow-wrap: anywhere; }
187
+ .menu-row .kind { color: var(--muted); font-size: 12px; white-space: nowrap; }
188
+ .menu-row input[data-rename-input] { flex: 1; min-width: 0; font: inherit; padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); color: inherit; }
189
+ .menu-row .view-btn { width: auto; flex: none; background: transparent; color: inherit; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 12px; cursor: pointer; }
190
+
191
+ /* 외부 연결 기본 화면(032 10.2절). iframe 대신 호스트가 그린다 */
192
+ #linkView { flex: 1; min-width: 0; overflow: auto; padding: 14px 18px; background: var(--bg); }
193
+ .link-screen h2 { margin: 0 0 4px; font-size: 16px; }
194
+ .link-screen h3 { margin: 16px 0 6px; font-size: 14px; }
195
+ .link-screen h4 { margin: 10px 0 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
196
+ .link-screen .warn, .warn-text { color: var(--warn); }
197
+ .rep { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; margin-bottom: 8px; }
198
+ .rep-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
199
+ .rep-head .name { font-weight: 600; }
200
+ .rep-head .flags { display: flex; flex-wrap: wrap; gap: 4px; }
201
+ .flag { font-size: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 0 6px; color: var(--muted); }
202
+ .flag.warn { border-color: var(--warn); }
203
+ .rep-body { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 4px; }
204
+ .rep table { border-collapse: collapse; font-size: 13px; }
205
+ .rep th, .rep td { text-align: left; border-bottom: 1px solid var(--line); padding: 2px 8px 2px 0; vertical-align: top; overflow-wrap: anywhere; }
206
+ .report { border: 1px solid var(--line); border-radius: 5px; padding: 5px 8px; margin: 4px 0; overflow-wrap: anywhere; }
207
+ .report input { width: 100%; font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; margin-top: 4px; }
208
+ .events { margin: 2px 0 6px; padding-left: 20px; font-size: 13px; }
209
+ .notice { background: var(--panel); border: 1px solid var(--warn); border-radius: 6px; padding: 6px 10px; margin: 8px 0; font-size: 13px; overflow-wrap: anywhere; }
210
+ .vendor-text { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
211
+ .payment { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; margin: 2px 0; }
212
+ .approval { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
213
+ .link-screen ul.plain { margin: 2px 0; padding-left: 18px; font-size: 13px; }
214
+
215
+ /* 외부 결과 메모(032 8절) */
216
+ .head-actions { display: flex; gap: 5px; }
217
+ .memo-item .ext-head { font-weight: 600; }
218
+ .memo-item .ext-link { overflow-wrap: anywhere; font-size: 13px; color: inherit; }
219
+ .memo-item .thumb { display: block; padding: 0; margin: 4px 0; border: 1px solid var(--memo-line); border-radius: 4px; background: transparent; }
220
+ .memo-item .thumb img { display: block; max-width: 100%; max-height: 120px; }
221
+ .ext-form label { display: block; font-size: 12px; color: inherit; margin-top: 4px; }
222
+ .ext-form input[type="text"], .ext-form input[type="url"] { width: 100%; font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; }
223
+ .ext-form .drop { margin-top: 6px; border: 1px dashed var(--memo-line); border-radius: 5px; padding: 6px 8px; font-size: 12px; }
224
+ .ext-form .drop img { display: block; max-width: 100%; max-height: 120px; margin-top: 4px; }
225
+ #imageDialog { position: fixed; inset: 0; z-index: 61; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55); }
226
+ #imageDialog .box { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px; max-width: 94vw; max-height: 94vh; display: flex; flex-direction: column; gap: 6px; }
227
+ #imageDialog img { max-width: calc(94vw - 24px); max-height: calc(94vh - 70px); object-fit: contain; }
228
+
229
+ /* 결과물 탭의 표현과 보고(032 10.2절) */
230
+ .scene-links { margin-left: 6px; font-weight: 400; }
231
+ #artifactLinkNote { font-size: 12px; color: var(--muted); margin: 4px 0; }
232
+
233
+ /* 보기 탭(032 21절). 다른 인스턴스를 읽기만 한다 */
234
+ #viewPane { display: flex; flex-direction: column; min-height: calc(100% - 40px); }
235
+ #viewPane[hidden] { display: none; }
236
+ #viewHead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
237
+ #viewHead .text { flex: 1; min-width: 0; color: var(--muted); font-size: 13px; }
238
+ #viewBody { flex: 1; min-height: 360px; display: flex; flex-direction: column; }
239
+ #viewBody iframe { flex: 1; width: 100%; min-height: 360px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }
240
+ [hidden] { display: none !important; }
241
+
242
+ /* 플러그인 창(036 8절, 14.4절). 사이트에서 온 글은 글자로만 그린다 */
243
+ #pluginDialog { position: fixed; inset: 0; z-index: 59; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); }
244
+ #pluginDialog .box { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; width: min(94vw, 640px); max-height: 90vh; overflow: auto; }
245
+ #pluginDialog h2 { font-size: 15px; margin: 10px 0 4px; }
246
+ #pluginDialog .pl-row { border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; margin: 4px 0; overflow-wrap: anywhere; }
247
+ #pluginDialog .pl-meta { color: var(--muted); font-size: 12px; }
248
+ #pluginDialog .pl-notice { border: 1px solid var(--line); border-left: 4px solid #c58a00; border-radius: 5px; padding: 6px 8px; margin: 4px 0; font-size: 13px; overflow-wrap: anywhere; }
249
+ #pluginDialog .pl-search { display: flex; gap: 6px; }
250
+ #pluginDialog .pl-search input { flex: 1; min-width: 0; font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; }
251
+ #pluginDialog .pl-plan { margin: 6px 0; padding-left: 18px; font-size: 13px; }
252
+ #pluginDialog .actions { display: flex; gap: 6px; justify-content: flex-end; margin-top: 8px; }
253
+ #pluginDialog .pl-danger { border-left-color: var(--danger); }
254
+ /* 등록 사이트의 알림(036 18절). 긴급 제거는 빨간 경고로 묻고 [지우기] 를 강한 버튼으로 둔다. 까닭은 글자로만 그린다 */
255
+ #blockedView { flex: 1; min-width: 0; overflow: auto; padding: 18px; background: var(--bg); }
256
+ #advisoryDialog { position: fixed; inset: 0; z-index: 61; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .45); }
257
+ #advisoryDialog .box { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; width: min(94vw, 620px); max-height: 90vh; overflow: auto; }
258
+ #advisoryDialog .actions { display: flex; gap: 6px; justify-content: flex-end; margin-top: 8px; }
259
+ .adv { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid #c58a00; border-radius: 6px; padding: 8px 12px; margin: 8px 0; overflow-wrap: anywhere; }
260
+ .adv h3 { margin: 0 0 6px; font-size: 15px; }
261
+ .adv p { margin: 4px 0; }
262
+ .adv-what { margin: 6px 0; padding-left: 18px; font-size: 13px; }
263
+ .adv-reason { white-space: pre-wrap; }
264
+ .adv-lead { color: var(--muted); }
265
+ .adv-actions { display: flex; gap: 8px; margin-top: 8px; }
266
+ .adv-emergency { border: 2px solid var(--danger); border-left-width: 6px; background: var(--danger-bg); }
267
+ .adv-emergency h3 { color: var(--danger); }
268
+ .btn.adv-remove { background: var(--danger); border-color: var(--danger); color: var(--panel); font-weight: 600; padding: 3px 16px; }
269
+ /* 설명서(037 5.3절). Markdown 은 글자, 제목, 목록, 표, 코드로만 그린다 */
270
+ #pluginDialog .pl-manual { margin-left: 8px; }
271
+ #pluginDialog .md { font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
272
+ #pluginDialog .md h3 { font-size: 15px; margin: 12px 0 4px; }
273
+ #pluginDialog .md h4, #pluginDialog .md h5, #pluginDialog .md h6 { font-size: 13px; margin: 10px 0 4px; }
274
+ #pluginDialog .md p { margin: 6px 0; }
275
+ #pluginDialog .md ul, #pluginDialog .md ol { margin: 6px 0; padding-left: 20px; }
276
+ #pluginDialog .md code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; background: rgba(127, 127, 127, .15); border-radius: 3px; padding: 0 3px; }
277
+ #pluginDialog .md-code, #pluginDialog .md-sample { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; background: rgba(127, 127, 127, .1); border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; overflow: auto; }
278
+ #pluginDialog .md-code code { background: none; padding: 0; }
279
+ #pluginDialog .md-sample { white-space: pre-wrap; overflow-wrap: anywhere; }
280
+ #pluginDialog .md-table { border-collapse: collapse; margin: 6px 0; font-size: 12px; }
281
+ #pluginDialog .md-table th, #pluginDialog .md-table td { border: 1px solid var(--line); padding: 3px 6px; text-align: left; vertical-align: top; }
282
+
283
+ /* 작업 시작의 선택창과 전체 설정(032 2.4절 6번, 7번, 11번) */
284
+ #storageNote { padding: 6px 16px; background: var(--panel); color: var(--warn); border-bottom: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; }
285
+ #startDialog, #settingsDialog { position: fixed; inset: 0; z-index: 58; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); }
286
+ #startDialog { z-index: 62; }
287
+ #startDialog .box, #settingsDialog .box { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; width: min(94vw, 640px); max-height: 90vh; overflow: auto; }
288
+ #startDialog h2, #settingsDialog h2 { font-size: 15px; margin: 6px 0 6px; }
289
+ #startDialog h3, #settingsDialog h3 { font-size: 13px; margin: 12px 0 4px; color: var(--muted); font-weight: 600; }
290
+ #settingsDialog .pl-row { border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; margin: 4px 0; overflow-wrap: anywhere; }
291
+ .st-list, .st-docs { display: flex; flex-direction: column; gap: 3px; }
292
+ .st-choice { display: flex; align-items: baseline; gap: 6px; color: var(--text); overflow-wrap: anywhere; }
293
+ .st-choice.off { opacity: .7; }
294
+ .st-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; }
295
+ .st-roots .btn { font-size: 12px; }
296
+ .st-input { flex: 1; min-width: 0; font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; }
297
+ .st-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; color: var(--text); }
298
+ .st-box { border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; margin: 6px 0; }
299
+ .st-folders { display: flex; flex-direction: column; max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 4px; }
300
+ .st-folder, .st-doc { text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 3px 8px; overflow-wrap: anywhere; }
301
+ .st-folder:hover, .st-doc:hover { background: var(--bg); }
302
+ .st-docs { max-height: 180px; overflow: auto; }
303
+ .st-mode { margin-right: auto; color: var(--muted); font-size: 13px; }
304
+ .st-warn { border: 1px solid var(--warn); border-radius: 6px; padding: 6px 8px; margin: 6px 0; font-size: 13px; overflow-wrap: anywhere; }
305
+ .st-warn p { margin: 4px 0; }
306
+ .st-help { font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
307
+ .st-help ul { margin: 4px 0; padding-left: 20px; }
308
+ .st-help a { color: var(--accent); }
309
+ .st-prompt { min-height: 6em; font-size: 12px; border-color: var(--line); }
310
+ .st-kind { display: flex; align-items: center; gap: 8px; margin: 6px 0; color: var(--text); }
311
+ .st-kind .kind-icon { width: 24px; height: 24px; border-radius: 6px; }
312
+ .st-kind .kind-icon.letter { font-size: 12px; border-radius: 50%; }
313
+
314
+ /* AI 연결(032 25.1절, 35.2절 7번). 화면을 가리지 않게 겹쳐 띄우지 않고 위쪽 줄 아래에 펼친다 */
315
+ #guidePanel { padding: 8px 16px 10px; background: var(--panel); border-bottom: 1px solid var(--line); max-height: 55vh; overflow: auto; font-size: 13px; }
316
+ #guidePanel .guide-head { display: flex; align-items: center; gap: 8px; }
317
+ #guidePanel h2 { flex: 1; min-width: 0; margin: 0; font-size: 15px; }
318
+ #guidePanel h3 { font-size: 13px; margin: 10px 0 4px; color: var(--muted); font-weight: 600; }
319
+ #guidePanel p { margin: 4px 0; overflow-wrap: anywhere; }
320
+ #guideBody { max-width: 960px; }
321
+ .guide-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0; }
322
+ .guide-text { font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; border-color: var(--line); min-height: 7em; white-space: pre-wrap; overflow-wrap: anywhere; }
323
+ .guide-cmd { width: 100%; min-width: 0; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; }
324
+ .guide-done { color: var(--muted); font-size: 12px; }
325
+ /* 보낼 한 줄. 줄을 바꿔 다 보이고, 글 길이에 맞는 높이다(되지 않는 브라우저는 두 줄) */
326
+ .guide-line { display: block; min-height: 0; resize: none; field-sizing: content; white-space: pre-wrap; overflow-wrap: anywhere; }
327
+ .guide-reg { margin-top: 8px; }
328
+ .guide-reg summary { cursor: pointer; color: var(--muted); font-weight: 600; }
329
+
330
+ @media (max-width: 800px) {
331
+ #main { flex-direction: column; }
332
+ #side { width: auto; border-left: 0; border-top: 1px solid var(--line); max-height: 45vh; }
333
+ #switchMenuWrap { width: auto; border-right: 0; border-bottom: 1px solid var(--line); max-height: 30vh; }
334
+ #guidePanel { max-height: 45vh; }
335
+ }
336
+ </style>
337
+ </head>
338
+ <body>
339
+ <header>
340
+ <h1 class="sr-only">개념 화면</h1>
341
+ <button type="button" class="icon-btn" id="instanceToggle" aria-expanded="false" aria-controls="switchMenuWrap" aria-label="이 작업의 화면 목록" title="이 작업의 화면 목록 보이기" hidden>
342
+ <svg viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="2.5" width="12" height="11" rx="1.5"/><path d="M6 2.5v11"/></svg>
343
+ </button>
344
+ <button type="button" class="work-btn" id="workOpen" aria-haspopup="dialog" aria-expanded="false" aria-controls="homeDialog" aria-label="작업 열기" title="작업 열기" hidden>
345
+ <span id="workTitle"></span>
346
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 6l4 4 4-4"/></svg>
347
+ </button>
348
+ <span id="editing" class="sr-only" hidden></span>
349
+ <span id="status" role="status">연결하는 중</span>
350
+ <span class="hdr-tools">
351
+ <button type="button" class="icon-btn" id="sideMemo" aria-pressed="false" aria-controls="side" aria-label="작업 의도와 메모함" title="작업 의도와 메모함" hidden>
352
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 2.5h10v7.5l-3.5 3.5H3z"/><path d="M13 10H9.5v3.5"/><path d="M5.5 5.5h5M5.5 8h3"/></svg>
353
+ </button>
354
+ <button type="button" class="icon-btn" id="sideArtifact" aria-pressed="false" aria-controls="side" aria-label="결과물" title="결과물" hidden>
355
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 1.5h5.5L13 5v9.5H4z"/><path d="M9.5 1.5V5H13"/><path d="M6 8.5h5M6 11h5"/></svg>
356
+ <span id="sideBadge" class="dot" hidden></span>
357
+ </button>
358
+ <span class="hdr-sep" aria-hidden="true"></span>
359
+ <button type="button" class="icon-btn" id="guideOpen" aria-controls="guidePanel" aria-expanded="false" aria-label="AI 연결" title="AI 연결">
360
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 3h11v8H8l-3 2.5V11H2.5z"/><path d="M5.5 6h5M5.5 8.2h3"/></svg>
361
+ <span id="aiDot" class="dot" hidden></span>
362
+ </button>
363
+ <button type="button" class="icon-btn" id="newWork" aria-haspopup="dialog" aria-controls="homeDialog" aria-label="새 작업" title="새 작업">
364
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 3v10M3 8h10"/></svg>
365
+ </button>
366
+ <button type="button" class="icon-btn" id="pluginsOpen" aria-haspopup="dialog" aria-label="플러그인" title="플러그인">
367
+ <svg viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="9" width="5" height="5" rx="1"/><rect x="9" y="9" width="5" height="5" rx="1"/><rect x="2" y="2" width="5" height="5" rx="1"/><path d="M11.5 2v5M9 4.5h5"/></svg>
368
+ </button>
369
+ <button type="button" class="icon-btn" id="settingsOpen" aria-haspopup="dialog" aria-label="설정" title="설정">
370
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2 4.5h7M12 4.5h2M2 11.5h2M7 11.5h7"/><circle cx="10.5" cy="4.5" r="1.5"/><circle cx="5.5" cy="11.5" r="1.5"/></svg>
371
+ </button>
372
+ </span>
373
+ </header>
374
+ <div id="storageNote" role="status" hidden></div>
375
+ <div id="band" role="region" aria-label="옮기기 제안" hidden></div>
376
+ <div id="waitBox" role="region" aria-label="AI 를 기다리는 동안" data-wait-box hidden></div>
377
+ <section id="guidePanel" aria-labelledby="guideTitle" hidden>
378
+ <div class="guide-head"><h2 id="guideTitle">AI 연결</h2><button type="button" class="btn" id="guideClose">닫기</button></div>
379
+ <div id="guideBody"></div>
380
+ </section>
381
+ <div id="main">
382
+ <aside id="switchMenuWrap" aria-label="이 작업의 화면" hidden>
383
+ <div class="ip-head">
384
+ <h2 id="instanceHeading">이 작업의 화면</h2>
385
+ <button type="button" class="icon-btn" id="instanceHide" aria-controls="switchMenuWrap" aria-label="이 작업의 화면 목록 숨기기" title="이 작업의 화면 목록 숨기기">
386
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M10 3.5 5.5 8l4.5 4.5"/></svg>
387
+ </button>
388
+ </div>
389
+ <div id="switchMenu" class="instance-list" role="menu" aria-labelledby="instanceHeading"></div>
390
+ <p class="ip-note">이름을 누르면 그 화면으로 옮기기를 제안합니다. [보기] 는 오른쪽 칸에서 내용만 봅니다.</p>
391
+ </aside>
392
+ <div id="wait" role="status" aria-live="polite" hidden><div class="box"><span class="spin" aria-hidden="true"></span><span id="waitText">저장하는 중입니다</span></div></div>
393
+ <div id="message" hidden></div>
394
+ <div id="home" role="region" aria-label="새 작업과 작업 열기" hidden></div>
395
+ <iframe id="view" title="스토리 목록" sandbox="allow-scripts" hidden></iframe>
396
+ <div id="linkView" role="region" aria-label="외부 연결" hidden></div>
397
+ <div id="blockedView" role="region" aria-label="막은 플러그인 화면" hidden></div>
398
+ <aside id="side" aria-label="작업 의도, 메모함, 결과물" hidden>
399
+ <div class="tabs" role="tablist">
400
+ <button type="button" role="tab" id="tabMemo" aria-selected="true">메모함</button>
401
+ <button type="button" role="tab" id="tabArtifact" aria-selected="false">결과물<span id="artifactBadge" class="badge" hidden>새것</span></button>
402
+ <button type="button" role="tab" id="tabView" aria-selected="false" hidden>보기</button>
403
+ </div>
404
+ <div id="memoPane">
405
+ <section aria-label="작업 의도">
406
+ <div class="head"><h2>작업 의도</h2></div>
407
+ <div id="intent"></div>
408
+ </section>
409
+ <section aria-label="메모함">
410
+ <div class="head"><h2>메모함</h2><span class="head-actions"><button type="button" class="btn" id="newExternal">+ 외부 결과</button><button type="button" class="btn" id="newMemo">+ 메모</button></span></div>
411
+ <div id="memoFind">
412
+ <input type="search" id="memoSearch" placeholder="단어나 메모 번호(memo12)로 찾기" title="공백으로 나눈 단어가 모두 든 메모만 보입니다. 메모 번호(memo12)를 넣으면 그 메모를 찾습니다" aria-label="메모 검색" autocomplete="off">
413
+ <span id="memoCount" class="meta" aria-live="polite"></span>
414
+ </div>
415
+ <div id="memos"></div>
416
+ <div id="memoPager" role="navigation" aria-label="메모 쪽 나누기" hidden></div>
417
+ </section>
418
+ </div>
419
+ <div id="artifactPane" hidden>
420
+ <div id="outputList" hidden></div>
421
+ <div id="artifactHead"></div>
422
+ <div id="artifactBody"></div>
423
+ <div id="selectionBox" hidden></div>
424
+ <div id="currentSelection"></div>
425
+ </div>
426
+ <div id="viewPane" hidden>
427
+ <div id="viewHead"></div>
428
+ <div id="viewBody"></div>
429
+ </div>
430
+ </aside>
431
+ </div>
432
+ <div id="imageDialog" role="dialog" aria-modal="true" aria-label="그림 크게 보기" hidden>
433
+ <div class="box">
434
+ <img id="imageDialogImg" alt="외부 결과 그림">
435
+ <div class="actions"><button type="button" class="btn" id="imageDialogClose">닫기</button></div>
436
+ </div>
437
+ </div>
438
+ <div id="dialog" role="dialog" aria-modal="true" aria-labelledby="dialogText" hidden>
439
+ <div class="box">
440
+ <p id="dialogText"></p>
441
+ <ul id="dialogList"></ul>
442
+ <div class="actions"><button type="button" class="btn danger" id="dialogOk">지우기</button><button type="button" class="btn" id="dialogCancel">취소</button></div>
443
+ </div>
444
+ </div>
445
+ <div id="advisoryDialog" role="alertdialog" aria-modal="true" aria-labelledby="advisoryTitle" hidden>
446
+ <div class="box">
447
+ <h2 id="advisoryTitle">등록 사이트의 알림</h2>
448
+ <div id="advisoryBody"></div>
449
+ <div class="actions"><button type="button" class="btn" id="advisoryLater">나중에 답하기</button></div>
450
+ </div>
451
+ </div>
452
+ <div id="pluginDialog" role="dialog" aria-modal="true" aria-labelledby="pluginTitle" hidden>
453
+ <div class="box">
454
+ <h2 id="pluginTitle">플러그인</h2>
455
+ <div id="pluginBody"></div>
456
+ <div class="actions"><button type="button" class="btn" id="pluginClose">닫기</button></div>
457
+ </div>
458
+ </div>
459
+ <div id="homeDialog" role="dialog" aria-modal="true" aria-label="새 작업과 작업 열기" hidden>
460
+ <div class="box">
461
+ <button type="button" class="icon-btn" id="homeClose" aria-label="닫기" title="닫기(Esc)">
462
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8"/></svg>
463
+ </button>
464
+ <div id="homeBody"></div>
465
+ </div>
466
+ </div>
467
+ <div id="startDialog" role="dialog" aria-modal="true" aria-labelledby="startTitle" hidden>
468
+ <div class="box">
469
+ <h2 id="startTitle">새 작업</h2>
470
+ <div id="startBody"></div>
471
+ </div>
472
+ </div>
473
+ <div id="settingsDialog" role="dialog" aria-modal="true" aria-labelledby="settingsTitle" hidden>
474
+ <div class="box">
475
+ <h2 id="settingsTitle">전체 설정</h2>
476
+ <div id="settingsBody"></div>
477
+ <div class="actions"><button type="button" class="btn" id="settingsClose">닫기</button></div>
478
+ </div>
479
+ </div>
480
+ <script src="/lang-en.js"></script>
481
+ <script src="/host.js"></script>
482
+ </body>
483
+ </html>