/* 캔버스 편집기 — 몰입형(2026-11-12 시안 B, 명중님 선택).
   그림 무대는 상단 막대와 하단 도구 독 사이에 두고, 도구·페이지·확대는 떠 있는 막대로 둔다.
   색은 작업공간 테마 토큰(--ws-*)을 따르고, 토큰이 없는 화면에서는 기존 --vp-* 값을 쓴다.
   요소 ID와 hub-canvas.js가 쓰는 클래스(.ce-top·.ce-c·.ce-wfill·.ce-wknob·.ce-bgwrap·.ce-bgopt)는 바꾸지 않는다.
   index.html·hub.css의 옛 캔버스 규칙보다 우선하도록 html body #canvasEdit#canvasEdit로 시작한다. */
html body #canvasEdit#canvasEdit{
  --ce-bg:var(--ws-bg,var(--vp-bg,#17191e));--ce-panel:var(--ws-panel,var(--vp-card,#1e2128));--ce-ink:var(--ws-ink,var(--ink,#e7e9ee));
  --ce-muted:var(--ws-muted,#9aa2ae);--ce-line:var(--ws-line,#2c313a);--ce-hover:var(--ws-hover,#2a2f37);--ce-selected:var(--ws-selected,#323846);
  --ce-accent:var(--ws-accent,#aaa3ff);--ce-fill:var(--ws-accent-fill,#7168df);--ce-fill-ink:var(--ws-accent-ink,#fff);
  --ce-head:56px;--ce-dock-space:88px;--ce-safe-b:env(safe-area-inset-bottom,0px);--ce-safe-t:env(safe-area-inset-top,0px);
  position:fixed;inset:0;z-index:80;display:block;background:var(--ce-bg);color:var(--ce-ink);isolation:isolate;
  font-family:var(--ws-ui-font,-apple-system),BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:13px
}
html body #canvasEdit#canvasEdit[hidden]{display:none}
html body #canvasEdit#canvasEdit:before{display:none}
html body #canvasEdit#canvasEdit .ce-top{display:contents;background:none;border:0;box-shadow:none}
html body #canvasEdit#canvasEdit svg{width:18px;height:18px;flex:none}

/* 무대: 상단 막대와 하단 도구 독 사이. hub-canvas.js가 이 크기에 종이를 맞춘다. */
html body #canvasEdit#canvasEdit .ce-stage{position:absolute;left:0;right:0;top:calc(var(--ce-head) + var(--ce-safe-t));bottom:calc(var(--ce-dock-space) + var(--ce-safe-b));background:var(--ce-bg);overflow:hidden;display:flex;align-items:center;justify-content:center}
html body #canvasEdit#canvasEdit:has(.ce-top.tools-hidden) .ce-stage{bottom:calc(16px + var(--ce-safe-b))}
html body #canvasEdit#canvasEdit #ceCanvas{border-radius:4px;box-shadow:0 1px 0 #0001,0 14px 40px #0005}

/* 공통 버튼: 아이콘 버튼은 상자 없이 투명하게, 선택만 은은한 면으로 */
html body #canvasEdit#canvasEdit button{font:inherit;color:inherit;border:0;background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;padding:0;margin:0;box-shadow:none}
html body #canvasEdit#canvasEdit .ce-icon,html body #canvasEdit#canvasEdit .ce-tool{width:40px;height:40px;color:var(--ce-muted)}
html body #canvasEdit#canvasEdit .ce-icon:hover,html body #canvasEdit#canvasEdit .ce-tool:hover{background:var(--ce-hover);color:var(--ce-ink)}
html body #canvasEdit#canvasEdit .ce-tool.on{background:var(--ce-selected);color:var(--ce-accent);position:relative}
html body #canvasEdit#canvasEdit .ce-tool.on:after{content:"";position:absolute;left:50%;bottom:4px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--ce-accent)}
html body #canvasEdit#canvasEdit .ce-icon:disabled,html body #canvasEdit#canvasEdit .ce-tool:disabled{opacity:.4;cursor:default;background:transparent}
html body #canvasEdit#canvasEdit .ce-sep{width:1px;align-self:stretch;margin:8px 4px;background:var(--ce-line);flex:none}
html body #canvasEdit#canvasEdit .ce-grp{display:flex;flex-wrap:nowrap;flex:none;align-items:center;gap:2px;background:none;border:0;padding:0;box-shadow:none}
html body #canvasEdit#canvasEdit .ce-gap{flex:1}

/* 상단 막대: 반투명, 제목·프로젝트·녹음·저장 */
html body #canvasEdit#canvasEdit .ce-head{position:absolute;left:0;right:0;top:0;z-index:4;flex-wrap:nowrap;height:calc(var(--ce-head) + var(--ce-safe-t));padding:var(--ce-safe-t) 14px 0;display:flex;align-items:center;gap:8px;
  background:color-mix(in srgb,var(--ce-panel) 88%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--ce-line)}
html body #canvasEdit#canvasEdit .ce-title{flex:1 1 220px;min-width:0;height:34px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:var(--ce-ink);font:inherit;font-size:15px;font-weight:650;outline:none;box-shadow:none}
html body #canvasEdit#canvasEdit .ce-title:hover{background:var(--ce-hover)}
html body #canvasEdit#canvasEdit .ce-title:focus{background:var(--ce-hover);box-shadow:0 0 0 2px color-mix(in srgb,var(--ce-accent) 55%,transparent)}
html body #canvasEdit#canvasEdit .ce-title::placeholder{color:var(--ce-muted)}
/* 경로: [프로젝트 ▾] / [제목] — 저장할 프로젝트를 제목 앞에 둔다 */
html body #canvasEdit#canvasEdit .ce-crumb{display:flex;align-items:center;gap:2px;min-width:0;flex:0 1 640px}
html body #canvasEdit#canvasEdit .ce-crumbsep{color:var(--ce-line);font-size:16px;padding:0 2px;flex:none}
html body #canvasEdit#canvasEdit .ce-projchip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 2px 0 8px;border:0;border-radius:7px;color:var(--ce-muted);min-width:0;max-width:220px;flex:0 1 auto}
html body #canvasEdit#canvasEdit .ce-projchip:hover{background:var(--ce-hover);color:var(--ce-ink)}
html body #canvasEdit#canvasEdit .ce-projchip svg{width:15px;height:15px}
html body #canvasEdit#canvasEdit .ce-projchip .ce-proj,html body #canvasEdit#canvasEdit .ce-projchip .gh-select-button{min-width:0;max-width:190px;height:32px;border:0;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:500;box-shadow:none;padding:0 4px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #canvasEdit#canvasEdit .ce-save{height:36px;padding:0 16px;margin-left:4px;background:var(--ce-fill);color:var(--ce-fill-ink);font-weight:650;font-size:13px;border-radius:8px}
html body #canvasEdit#canvasEdit .ce-save:hover{filter:brightness(1.08)}
html body #canvasEdit#canvasEdit .ce-save:disabled{opacity:.6;cursor:default}
/* 녹음: 진행 중이면 빨간 칩(시간·일시정지·종료), 끝나면 '저장 시 회의록' 안내 */
html body #canvasEdit#canvasEdit #ceRecLive:not([hidden]){display:inline-flex;align-items:center;gap:4px;height:34px;padding:0 4px 0 10px;border-radius:8px;color:#e5484d;background:color-mix(in srgb,#e5484d 12%,transparent);font-variant-numeric:tabular-nums;font-size:12.5px;font-weight:600}
html body #canvasEdit#canvasEdit #ceRecLive .rec-dot{width:8px;height:8px;border-radius:50%;background:#e5484d;box-shadow:0 0 0 3px #e5484d33;animation:ce-rec 1.4s ease-in-out infinite}
@keyframes ce-rec{50%{opacity:.35}}
html body #canvasEdit#canvasEdit #ceRecLive button{width:30px;height:30px;color:#e5484d}
html body #canvasEdit#canvasEdit #ceRecLive button svg{width:15px;height:15px}
html body #canvasEdit#canvasEdit #ceRecReady:not([hidden]){display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:8px;font-size:12px;color:var(--ce-accent);background:var(--ce-selected)}
html body #canvasEdit#canvasEdit #ceRec[hidden]{display:none}

/* 하단 도구 독: 가운데 떠 있는 한 줄 */
/* transform으로 가운데 맞추면 안쪽 배경 메뉴(position:fixed)의 기준이 독이 되어 잘리므로 margin:auto로 맞춘다 */
html body #canvasEdit#canvasEdit .ce-dock{position:absolute;left:0;right:0;margin:0 auto;width:max-content;flex-wrap:nowrap;bottom:calc(18px + var(--ce-safe-b));transform:none;z-index:4;display:flex;align-items:center;gap:4px;padding:6px 8px;
  background:var(--ce-panel);border:1px solid var(--ce-line);border-radius:16px;box-shadow:0 16px 40px #0007;max-width:calc(100% - 32px);overflow-x:auto;overflow-y:visible;scrollbar-width:none}
html body #canvasEdit#canvasEdit .ce-dock::-webkit-scrollbar{display:none}
html body #canvasEdit#canvasEdit .ce-top.tools-hidden .ce-dock{display:none}
/* 굵기 막대(드래그) */
/* 굵기: 가늘게(작은 점) ━━○━━ 굵게(큰 점). 옛 규칙의 translate와 겹치지 않게 가운데 맞춤은 transform 하나로만 한다. */
html body #canvasEdit#canvasEdit .ce-wgrp{gap:10px;padding:0 8px;color:var(--ce-muted)}
html body #canvasEdit#canvasEdit .ce-wgrp .ce-wlbl{width:5px;height:5px;opacity:1}
html body #canvasEdit#canvasEdit .ce-wgrp:after{content:"";width:13px;height:13px;border-radius:50%;background:currentColor;flex:none}
html body #canvasEdit#canvasEdit .ce-wbar{position:relative;width:104px;height:32px;cursor:pointer;background:none;border:0;border-radius:0;display:block;touch-action:none}
html body #canvasEdit#canvasEdit .ce-wbar:before{content:"";position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:2px;background:var(--ce-line)}
html body #canvasEdit#canvasEdit .ce-wfill{position:absolute;left:0;top:50%;height:4px;margin:0;transform:translateY(-50%);border-radius:2px;background:var(--ce-accent)}
html body #canvasEdit#canvasEdit .ce-wknob{position:absolute;top:50%;width:18px;height:18px;margin:0;transform:translate(-50%,-50%);border-radius:50%;background:var(--ce-accent);border:3px solid var(--ce-panel);box-shadow:0 0 0 1px var(--ce-accent),0 1px 4px #0004}
html body #canvasEdit#canvasEdit .ce-wbar:focus-visible{outline:2px solid var(--ce-accent);outline-offset:2px;border-radius:6px}
/* 형광펜 투명도 */
html body #canvasEdit#canvasEdit .ce-opac:not([hidden]){display:flex;gap:8px;padding:0 6px}
html body #canvasEdit#canvasEdit .ce-oplbl{font-size:12px;color:var(--ce-muted);white-space:nowrap}
html body #canvasEdit#canvasEdit .ce-oprange{width:84px;accent-color:var(--ce-accent)}
/* 색 */
html body #canvasEdit#canvasEdit .ce-colorgrp{gap:6px;padding:0 4px}
html body #canvasEdit#canvasEdit .ce-colors{display:flex;align-items:center;gap:6px}
html body #canvasEdit#canvasEdit .ce-c{width:24px;height:24px;border-radius:50%;flex:none;box-shadow:0 0 0 1px var(--ce-line)}
html body #canvasEdit#canvasEdit .ce-c.on{box-shadow:0 0 0 2px var(--ce-panel),0 0 0 4px var(--ce-accent)}
html body #canvasEdit#canvasEdit .ce-pick{border-color:var(--ce-muted)}
html body #canvasEdit#canvasEdit .ce-pick{width:24px;height:24px;padding:0;border:1px dashed var(--ce-line);border-radius:50%;background:transparent;cursor:pointer;flex:none;overflow:hidden}
html body #canvasEdit#canvasEdit .ce-pick::-webkit-color-swatch-wrapper{padding:3px}
html body #canvasEdit#canvasEdit .ce-pick::-webkit-color-swatch{border:0;border-radius:50%}
/* 배경 스타일 메뉴: 독 위로 펼친다 */
html body #canvasEdit#canvasEdit .ce-bgwrap{position:static}
html body #canvasEdit#canvasEdit #ceBgBtn svg{width:22px;height:22px}
html body #canvasEdit#canvasEdit .ce-bgmenu:not([hidden]){position:fixed;top:auto;right:auto;height:auto;margin:0;left:50%;bottom:calc(var(--ce-dock-space) + 6px + var(--ce-safe-b));transform:translateX(-50%);z-index:6;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px;
  background:var(--ce-panel);color:var(--ce-ink);border:1px solid var(--ce-line);border-radius:12px;box-shadow:0 16px 40px #0007;width:min(420px,calc(100vw - 24px))}
html body #canvasEdit#canvasEdit .ce-bgopt{flex-direction:column;gap:6px;width:auto;height:auto;padding:8px 4px;border-radius:8px;font-size:11.5px;color:var(--ce-muted)}
html body #canvasEdit#canvasEdit .ce-bgopt:hover{background:var(--ce-hover);color:var(--ce-ink)}
html body #canvasEdit#canvasEdit .ce-bgopt.on{background:var(--ce-selected);color:var(--ce-ink)}
html body #canvasEdit#canvasEdit .ce-bgopt svg{width:30px;height:30px}

/* 쪽 이동·확대: 상단 막대 오른쪽(저장 왼쪽). 하단에는 도구 독만 둔다. */
html body #canvasEdit#canvasEdit .ce-corner{display:flex;align-items:center;gap:2px;padding:0 4px;font-size:12px;font-variant-numeric:tabular-nums;flex:none}
html body #canvasEdit#canvasEdit .ce-corner+.ce-corner{border-left:1px solid var(--ce-line);margin-left:4px;padding-left:8px}
html body #canvasEdit#canvasEdit .ce-corner .ce-icon{width:34px;height:34px}
html body #canvasEdit#canvasEdit .ce-pageind{min-width:44px;text-align:center;color:var(--ce-ink);background:none;border:0;padding:0}
html body #canvasEdit#canvasEdit .ce-zoomind{min-width:50px;height:34px;padding:0 4px;color:var(--ce-ink);font-size:12px;font-variant-numeric:tabular-nums;background:none;border:0}
html body #canvasEdit#canvasEdit .ce-zoomind:hover{background:var(--ce-hover)}

/* 지우개 원형 커서 */
html body #canvasEdit#canvasEdit #ceCursor{border-color:var(--ce-accent)}

/* 1100px 이하: 상단 막대에 다 들어가지 않으므로 쪽·확대를 상단 막대 바로 아래 양쪽에 띄운다 */
@media(max-width:1100px){
  html body #canvasEdit#canvasEdit{--ce-head-extra:50px}
  html body #canvasEdit#canvasEdit .ce-stage{top:calc(var(--ce-head) + var(--ce-head-extra) + var(--ce-safe-t))}
  html body #canvasEdit#canvasEdit .ce-corner{position:absolute;top:calc(var(--ce-head) + 6px + var(--ce-safe-t));z-index:4;padding:3px;background:var(--ce-panel);border:1px solid var(--ce-line);border-radius:12px}
  html body #canvasEdit#canvasEdit .ce-corner+.ce-corner{margin-left:0;padding-left:3px;border-left:1px solid var(--ce-line)}
  html body #canvasEdit#canvasEdit .ce-pagenav{left:10px}html body #canvasEdit#canvasEdit .ce-zoom{right:10px}
}

/* 태블릿 폭(641~1100px): 버튼을 조금 줄이고, 그래도 넘치면 두 줄로 감싼다(넘친 도구를 스크롤 뒤에 숨기지 않음). 두 줄 독에 종이가 가리지 않게 아래 여백을 넓힌다. */
@media(min-width:641px) and (max-width:1100px){
  html body #canvasEdit#canvasEdit{--ce-dock-space:140px}
  html body #canvasEdit#canvasEdit .ce-dock{flex-wrap:wrap;justify-content:center;overflow:visible;width:max-content;max-width:calc(100% - 24px);row-gap:2px}
  html body #canvasEdit#canvasEdit .ce-dock .ce-tool,html body #canvasEdit#canvasEdit .ce-dock .ce-icon{width:36px;height:36px}
  html body #canvasEdit#canvasEdit .ce-wbar{width:72px}
  html body #canvasEdit#canvasEdit .ce-oprange{width:64px}
  html body #canvasEdit#canvasEdit .ce-c,html body #canvasEdit#canvasEdit .ce-pick{width:22px;height:22px}
}
/* 모바일: 제목만 남기고 아이콘으로, 독은 전체 폭·가로 스크롤, 터치 44px */
@media(max-width:640px){
  html body #canvasEdit#canvasEdit{--ce-head:52px;--ce-dock-space:84px}
  html body #canvasEdit#canvasEdit .ce-head{padding:var(--ce-safe-t) 6px 0;gap:2px}
  html body #canvasEdit#canvasEdit .ce-title{font-size:14px;flex:1 1 auto}
  html body #canvasEdit#canvasEdit .ce-projchip{max-width:120px;min-width:96px;padding-left:6px;flex:0 0 auto}
  html body #canvasEdit#canvasEdit .ce-crumb>.ce-title{min-width:90px}
  html body #canvasEdit#canvasEdit .ce-projchip .ce-proj,html body #canvasEdit#canvasEdit .ce-projchip .gh-select-button{max-width:96px;min-width:64px;height:44px}
  html body #canvasEdit#canvasEdit #ceRecReady{display:none}
  html body #canvasEdit#canvasEdit .ce-head .ce-icon{width:44px;height:44px}
  html body #canvasEdit#canvasEdit .ce-save{height:40px;padding:0 12px}
  html body #canvasEdit#canvasEdit .ce-dock{left:8px;right:8px;width:auto;margin:0;transform:none;max-width:none;bottom:calc(10px + var(--ce-safe-b));justify-content:flex-start;border-radius:14px;padding:4px 6px}
  html body #canvasEdit#canvasEdit .ce-dock .ce-tool,html body #canvasEdit#canvasEdit .ce-dock .ce-icon{width:44px;height:44px}
  html body #canvasEdit#canvasEdit .ce-wbar{width:80px;height:44px}
  html body #canvasEdit#canvasEdit .ce-c,html body #canvasEdit#canvasEdit .ce-pick{width:28px;height:28px}
  html body #canvasEdit#canvasEdit .ce-corner .ce-icon{width:44px;height:44px}
  /* 페이지 5개 버튼과 확대 3개가 한 줄에 들어가지 않으므로 확대는 오른쪽 세로 막대로 둔다(기능은 모두 유지) */
  html body #canvasEdit#canvasEdit .ce-zoom{flex-direction:column}
  html body #canvasEdit#canvasEdit .ce-zoomind{height:32px;min-width:44px;font-size:11px}
  html body #canvasEdit#canvasEdit{--ce-head-extra:54px}
  html body #canvasEdit#canvasEdit .ce-bgmenu:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* 녹음 버튼: 평소엔 다른 아이콘과 같은 색, 녹음 중 표시만 빨간색 */
html body #canvasEdit#canvasEdit #ceRec,html body #canvasEdit#canvasEdit #ceRec svg{color:var(--ce-muted);stroke:currentColor;fill:none}
html body #canvasEdit#canvasEdit #ceRec:hover,html body #canvasEdit#canvasEdit #ceRec:hover svg{color:var(--ce-ink)}
/* 상단 막대: 버튼은 줄어들지 않고, 좁으면 제목 입력칸이 줄어든다 */
html body #canvasEdit#canvasEdit .ce-head>*{flex:none}
html body #canvasEdit#canvasEdit .ce-head>.ce-crumb{flex:0 1 640px;min-width:0}
html body #canvasEdit#canvasEdit .ce-crumb>.ce-title{min-width:80px}
html body #canvasEdit#canvasEdit .ce-head>.ce-gap{flex:1 1 0;min-width:0}
@media(max-width:640px){html body #canvasEdit#canvasEdit .ce-head>.ce-crumb{flex:1 1 auto}}
/* 선택한 배경 표시는 테마 강조색 */
html body #canvasEdit#canvasEdit .ce-bgopt svg{outline:0;border-radius:5px;box-shadow:none}
html body #canvasEdit#canvasEdit .ce-bgopt.on svg{box-shadow:0 0 0 2px var(--ce-accent)}

/* 회의 녹음 묶음: 도구 독 끝(명중님 2026-11-12). 평소 마이크, 녹음 중 빨간 시간 칩, 끝나면 '저장 시 회의록' 안내 */
html body #canvasEdit#canvasEdit .ce-recgrp{gap:4px}
html body #canvasEdit#canvasEdit .ce-recgrp #ceRecLive:not([hidden]){height:40px}
html body #canvasEdit#canvasEdit .ce-recgrp #ceRecReady:not([hidden]){height:32px;white-space:nowrap}
/* 프로젝트 이름은 말줄임 */
html body #canvasEdit#canvasEdit .ce-projchip .gh-select-button>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
/* 모바일: 독이 가로 스크롤이므로 녹음 묶음을 맨 앞에 둬 녹음 중 표시가 항상 보이게 한다 */
@media(max-width:640px){
  html body #canvasEdit#canvasEdit .ce-recgrp{order:-1;padding-right:4px;margin-right:2px;border-right:1px solid var(--ce-line)}
  html body #canvasEdit#canvasEdit .ce-recgrp+.ce-sep,html body #canvasEdit#canvasEdit .ce-sep:has(+.ce-recgrp){display:none}
}
/* 프로젝트는 고정: 이름만 보이는 경로 글자(선택 상자·맞춤 버튼은 숨기고 값만 저장에 쓴다) */
html body #canvasEdit#canvasEdit .ce-projchip{cursor:default;padding:0 6px}
html body #canvasEdit#canvasEdit .ce-projchip:hover{background:none;color:var(--ce-muted)}
html body #canvasEdit#canvasEdit .ce-projchip .ce-proj,html body #canvasEdit#canvasEdit .ce-projchip .gh-select-button{display:none!important}
html body #canvasEdit#canvasEdit .ce-projname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}
html body #canvasEdit#canvasEdit .ce-title{text-overflow:ellipsis}
@media(max-width:640px){html body #canvasEdit#canvasEdit .ce-projchip{min-width:0;max-width:96px}}

/* 제목: 평소엔 글자+연필 버튼, 누르면 입력칸(명중님 2026-11-13). 공통 button 규칙이 display를 덮으므로 hidden을 명시한다 */
html body #canvasEdit#canvasEdit .ce-titlebtn{flex:0 1 auto;min-width:80px;max-width:100%;height:34px;padding:0 8px;justify-content:flex-start;gap:8px;color:var(--ce-ink);font-size:15px;font-weight:650;border-radius:7px}
html body #canvasEdit#canvasEdit .ce-titlebtn:hover{background:var(--ce-hover)}
html body #canvasEdit#canvasEdit .ce-titletext{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #canvasEdit#canvasEdit .ce-titlebtn svg{width:14px;height:14px;color:var(--ce-muted)}
html body #canvasEdit#canvasEdit .ce-titlebtn[hidden],html body #canvasEdit#canvasEdit .ce-title[hidden],html body #canvasEdit#canvasEdit #ceTextEd[hidden],html body #canvasEdit#canvasEdit #ceSelBar[hidden],html body #canvasEdit#canvasEdit #ceSelEdit[hidden]{display:none!important}
html body #canvasEdit#canvasEdit .ce-crumb>.ce-title{flex:1 1 220px}
/* 글자 도구 입력칸: 종이 위 그 자리에서 바로 타이핑 */
html body #canvasEdit#canvasEdit .ce-texted{position:absolute;z-index:3;margin:0;padding:0;border:0;border-radius:2px;background:transparent;resize:none;overflow:hidden;white-space:pre;font-weight:500;
  outline:1.5px dashed var(--ce-accent);outline-offset:4px;caret-color:var(--ce-accent);box-shadow:none;min-height:0}
/* 선택 도구: 고른 그림 위의 복제·삭제 막대 */
html body #canvasEdit#canvasEdit .ce-selbar{position:absolute;z-index:3;display:flex;gap:2px;padding:3px;background:var(--ce-panel);border:1px solid var(--ce-line);border-radius:10px;box-shadow:0 8px 24px #0006}
html body #canvasEdit#canvasEdit .ce-selbar .ce-icon{width:36px;height:36px}
html body #canvasEdit#canvasEdit #ceSelDel:hover{color:#e5484d}
/* 선택 도구일 때 굵기 막대는 쓸 일이 없으므로 흐리게 */
html body #canvasEdit#canvasEdit .ce-wgrp.off{opacity:.35;pointer-events:none}
@media(max-width:640px){
  html body #canvasEdit#canvasEdit .ce-titlebtn{height:44px;font-size:14px;flex:1 1 auto;padding:0 6px}
  html body #canvasEdit#canvasEdit .ce-selbar .ce-icon{width:44px;height:44px}
}
