/* 약도(2026-10-19 시안 docs/design/mockups/place-sketch-map-20261019.html).
   지도는 화면 끝까지. 조작(위 줄·검색·층·도구)은 유리, 내용(아래 판)은 불투명한 흰 면.
   간격은 16px 가장자리, 8px 리듬. components.css 뒤에 읽어 버튼 크기만 이 화면에 맞춘다. */
.route-notes-sketch-host { position:relative; height:100dvh; min-height:0; overflow:hidden; }
.route-sketch {
  position:relative; height:100dvh; overflow:hidden; color:var(--text); background:var(--panel2);
  --sketch-top:max(16px, calc(env(safe-area-inset-top) + 8px));
  --sketch-glass:var(--rn-glass, var(--panel)); --sketch-glass-border:var(--rn-glass-border, var(--line));
  --sketch-glass-shadow:var(--rn-glass-shadow, 0 6px 18px rgba(16,24,40,.14)); --sketch-glass-filter:var(--rn-glass-filter, none);
}
/* 네이버 지도는 칸에 position:relative 를 직접 넣는다. 크기는 높이·너비로 준다. */
.route-sketch-map { position:absolute !important; inset:0; width:100%; height:100%; z-index:0; isolation:isolate; }
body:has(.route-sketch) .bottom-nav,
body:has(.route-sketch) .tab-header { display:none !important; }
.route-sketch-map-status { position:absolute; top:50%; left:16px; right:16px; margin:0; text-align:center; color:var(--muted); font:500 var(--fs-body) var(--font-ui); }
.route-sketch-map-status[hidden] { display:none; }

/* 위 줄: ‹(✕) · 제목 · 편집(완료). 모두 42px. */
.route-sketch-top { position:absolute; top:var(--sketch-top); left:16px; right:16px; z-index:4; display:flex; align-items:center; gap:8px; }
.route-sketch .route-notes-icon-button.route-sketch-round,
.route-sketch-title,
.route-sketch .route-notes-button.route-sketch-pill:not(.primary) {
  border:1px solid var(--sketch-glass-border); background:var(--sketch-glass); box-shadow:var(--sketch-glass-shadow);
  -webkit-backdrop-filter:var(--sketch-glass-filter); backdrop-filter:var(--sketch-glass-filter);
}
.route-sketch .route-notes-icon-button.route-sketch-round { flex:none; width:42px; height:42px; min-height:42px; padding:0; border-radius:50%; color:var(--text); display:inline-flex; align-items:center; justify-content:center; }
.route-sketch .route-notes-icon-button.route-sketch-round.small { width:36px; height:36px; min-height:36px; border:0; box-shadow:none; background:var(--btn-fill); backdrop-filter:none; }
.route-sketch-round .route-notes-icon { width:20px; height:20px; }
.route-sketch-title {
  flex:1 1 auto; min-width:0; height:42px; padding:0 16px; border-radius:var(--r-full); display:flex; align-items:center; justify-content:center;
  font:700 var(--fs-body) var(--font-ui); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.route-sketch .route-notes-button.route-sketch-pill { flex:none; min-height:42px; height:42px; padding:0 16px; border-radius:var(--r-full); font-size:var(--fs-body); }
.route-sketch-top-spacer { flex:none; width:42px; }

/* 점포·호수 찾기 */
.route-sketch-search { position:absolute; top:calc(var(--sketch-top) + 50px); left:16px; right:16px; z-index:4; }
.route-sketch-search[hidden] { display:none; }
.route-sketch-search-input {
  box-sizing:border-box; width:100%; height:44px; padding:0 16px; border-radius:var(--r-full);
  border:1px solid var(--sketch-glass-border); background:var(--panel); box-shadow:var(--sketch-glass-shadow);
  color:var(--text); font:500 var(--fs-body) var(--font-ui);
}
.route-sketch[data-mode="edit"] .route-sketch-search { display:none; }

/* 층: 왼쪽 세로 줄. 고른 층은 강조 색 면. */
.route-sketch-floors {
  position:absolute; left:16px; top:calc(var(--sketch-top) + 108px); z-index:4; width:48px; display:flex; flex-direction:column;
  border-radius:24px; overflow:hidden; background:var(--panel); box-shadow:var(--sketch-glass-shadow);
}
.route-sketch[data-mode="edit"] .route-sketch-floors { top:calc(var(--sketch-top) + 92px); }
.route-sketch-floors[hidden] { display:none; }
.route-sketch-floor,
.route-sketch .route-notes-icon-button.route-sketch-floor {
  height:46px; min-height:46px; width:48px; padding:0; border:0; border-radius:0; background:transparent; color:var(--muted);
  font:700 var(--fs-body) var(--font-code); display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.route-sketch-floor[aria-pressed="true"] { background:color-mix(in srgb, var(--gold) 14%, transparent); color:var(--gold); }
.route-sketch .route-notes-icon-button.route-sketch-floor-add { color:var(--gold); border-top:1px solid var(--line); }
.route-sketch-floor-add .route-notes-icon { width:18px; height:18px; }

/* 편집 중 한 줄 안내 */
.route-sketch-hint {
  position:absolute; top:calc(var(--sketch-top) + 52px); left:16px; right:16px; z-index:3; margin:0; padding:8px 12px; border-radius:12px;
  background:color-mix(in srgb, var(--text) 82%, transparent); color:var(--panel); font:500 var(--fs-caption) var(--font-ui); text-align:center;
}
.route-sketch-hint[hidden], .route-sketch[data-mode="view"] .route-sketch-hint { display:none; }

/* 아래 판(내용): 불투명 흰 면. 편집 중에는 도구 줄 위에 선다. */
.route-sketch-sheet {
  position:absolute; left:8px; right:8px; bottom:calc(8px + env(safe-area-inset-bottom)); z-index:4; box-sizing:border-box;
  max-height:min(56dvh, 460px); overflow:auto; overscroll-behavior:contain;
  padding:16px; border-radius:24px; background:var(--panel); box-shadow:0 -10px 32px rgba(16,24,40,.18);
  display:flex; flex-direction:column; gap:12px;
}
.route-sketch[data-mode="edit"] .route-sketch-sheet { bottom:calc(8px + env(safe-area-inset-bottom)); max-height:min(48dvh, 400px); padding:14px 16px; gap:10px; }
.route-sketch[data-mode="edit"] .route-sketch-sheet::before { content:""; align-self:center; flex:none; width:32px; height:4px; border-radius:var(--r-full); background:var(--line-strong); margin:-4px 0 0; }
.route-sketch-sheet[hidden] { display:none; }
.route-sketch-help, .route-sketch-summary { margin:0; color:var(--muted); font:500 var(--fs-label) var(--font-ui); line-height:1.45; }
.route-sketch-summary { color:var(--text); font-weight:600; }
.route-sketch-field { display:flex; flex-direction:column; gap:4px; min-width:0; flex:1 1 0; }
.route-sketch-field > span { color:var(--muted); font:600 var(--fs-caption) var(--font-ui); }
.route-sketch-input {
  box-sizing:border-box; width:100%; height:44px; padding:0 12px; border:1px solid var(--line); border-radius:12px;
  background:var(--panel2); color:var(--text); font:500 var(--fs-body) var(--font-ui);
}
.route-sketch-input.mono { font-family:var(--font-code); font-weight:700; }
.route-sketch-row { display:flex; gap:8px; }
.route-sketch-actions { display:flex; gap:8px; }
.route-sketch-actions > .route-notes-button { flex:1 1 0; min-width:0; }
.route-sketch .route-notes-button.route-sketch-wide { width:100%; }
.route-sketch .route-notes-button.danger { color:var(--red); }

/* 종류(층이 있는 곳 · 골목형) */
.route-sketch-kinds { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.route-sketch-kind {
  display:flex; flex-direction:column; gap:4px; padding:12px; border:2px solid transparent; border-radius:16px;
  background:var(--panel2); color:var(--text); text-align:left; cursor:pointer; font-family:var(--font-ui);
}
.route-sketch-kind strong { font-size:var(--fs-body); }
.route-sketch-kind span { color:var(--muted); font-size:var(--fs-caption); line-height:1.4; }
.route-sketch-kind[aria-pressed="true"] { border-color:var(--gold); background:color-mix(in srgb, var(--gold) 7%, var(--panel)); }
.route-sketch-segment { display:flex; gap:4px; padding:2px; border-radius:var(--r-full); background:var(--btn-fill); }
.route-sketch .route-notes-button.route-sketch-seg { flex:1 1 0; min-height:36px; height:36px; padding:0 12px; background:transparent; font-size:var(--fs-label); }
.route-sketch .route-notes-button.route-sketch-seg[aria-pressed="true"] { background:var(--panel); box-shadow:0 1px 3px rgba(16,24,40,.14); font-weight:700; }

/* 칸·표시 카드 */
.route-sketch-card-head { display:flex; align-items:center; gap:12px; }
.route-sketch-badge {
  flex:none; display:inline-flex; align-items:center; justify-content:center; min-width:28px; height:28px; padding:0 8px; border-radius:8px;
  background:var(--gold); color:var(--gold-ink, #fff); font:800 var(--fs-label) var(--font-code);
}
.route-sketch-card-text { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:2px; }
.route-sketch-card-text strong { font:700 var(--fs-body-l, var(--fs-body)) var(--font-ui); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.route-sketch-card-text span { color:var(--muted); font:500 var(--fs-label) var(--font-ui); }
.route-sketch-inspector-head { display:flex; align-items:center; gap:8px; min-height:44px; }
.route-sketch-inspector-head .route-sketch-card-text strong { white-space:normal; overflow-wrap:anywhere; font-size:var(--fs-title-m); }
.route-sketch .route-notes-button.route-sketch-details-toggle { flex:none; min-height:44px; padding:0 8px; background:transparent; color:var(--gold); font:600 var(--fs-label) var(--font-ui); }
.route-sketch-details-toggle .route-notes-icon { width:16px; height:16px; }
.route-sketch-cell-actions { padding-top:2px; }
.route-sketch .route-sketch-cell-actions > .route-notes-button { min-width:0; min-height:44px; flex:1 1 0; }

/* 표시 종류 칩: 가로로 넘긴다. */
.route-sketch-chips { display:flex; gap:8px; overflow-x:auto; margin:0 -16px; padding:0 16px 2px; scrollbar-width:none; }
.route-sketch-chips::-webkit-scrollbar { display:none; }
.route-sketch-chip {
  flex:none; display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 12px 0 6px; border:0; border-radius:var(--r-full);
  background:var(--btn-fill); color:var(--text); font:600 var(--fs-label) var(--font-ui); cursor:pointer;
}
.route-sketch-chip[aria-pressed="true"] { background:var(--text); color:var(--panel); }
.route-sketch-chip-dot { display:inline-flex; align-items:center; justify-content:center; min-width:24px; height:24px; padding:0 4px; box-sizing:border-box; border-radius:12px; color:#fff; font:800 11px var(--font-ui); }

/* 찾기 결과 */
.route-sketch-results { display:flex; flex-direction:column; }
.route-sketch-result {
  display:flex; align-items:center; gap:12px; min-height:48px; padding:0 4px; border:0; background:transparent; color:var(--text);
  font:500 var(--fs-body) var(--font-ui); text-align:left; cursor:pointer;
}
.route-sketch-result + .route-sketch-result { box-shadow:inset 0 1px 0 var(--line); }

/* 도구 줄: 칸 · 줄 · 표시 · 길 · 되돌리기 */
.route-sketch-tools {
  position:absolute; left:8px; right:8px; bottom:calc(var(--sketch-sheet-height, 96px) + 76px + env(safe-area-inset-bottom)); z-index:5; box-sizing:border-box;
  display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:4px; padding:8px; border-radius:24px;
  background:var(--panel); box-shadow:0 -8px 28px rgba(16,24,40,.16);
}
.route-sketch-tools[hidden] { display:none; }
.route-sketch-tool {
  height:60px; border:0; border-radius:16px; background:var(--btn-fill); color:var(--text); cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; font:700 var(--fs-caption) var(--font-ui);
}
.route-sketch-tool .route-notes-icon { width:20px; height:20px; }
.route-sketch-tool[aria-pressed="true"] { background:var(--gold); color:var(--gold-ink, #fff); }
.route-sketch-tool:disabled { opacity:.4; cursor:default; }
.route-sketch-quick { position:absolute; left:16px; right:16px; bottom:calc(var(--sketch-sheet-height, 96px) + 20px + env(safe-area-inset-bottom)); z-index:5; display:flex; align-items:center; gap:8px; pointer-events:none; }
.route-sketch-quick[hidden] { display:none; }
.route-sketch-history { display:flex; align-items:center; border-radius:var(--r-full); background:var(--sketch-glass); border:1px solid var(--sketch-glass-border); box-shadow:var(--sketch-glass-shadow); backdrop-filter:var(--sketch-glass-filter); pointer-events:auto; overflow:hidden; }
.route-sketch .route-notes-button.route-sketch-quick-button { min-height:44px; height:44px; padding:0 12px; border-radius:var(--r-full); background:var(--sketch-glass); color:var(--text); font:600 var(--fs-label) var(--font-ui); pointer-events:auto; white-space:nowrap; }
.route-sketch .route-sketch-history .route-sketch-quick-button { background:transparent; }
.route-sketch .route-notes-icon-button.route-sketch-redo { width:44px; height:44px; min-height:44px; padding:0; border-radius:0; background:transparent; color:var(--text); box-shadow:inset 1px 0 var(--line); }
.route-sketch .route-sketch-quick-button.route-sketch-add { margin-left:auto; color:var(--gold); box-shadow:var(--sketch-glass-shadow); border:1px solid var(--sketch-glass-border); }
.route-sketch .route-sketch-quick-button.route-sketch-select { box-shadow:var(--sketch-glass-shadow); padding:0 10px; }
.route-sketch-quick button:disabled { opacity:.4; cursor:default; }
.route-sketch[data-mode="edit"] .route-sketch-hint { background:var(--sketch-glass); color:var(--muted); font-size:var(--fs-label); padding:6px 8px; }
.route-sketch[data-mode="edit"] .route-sketch-title { font-size:var(--fs-title-m); }
.route-sketch[data-mode="edit"] .route-notes-map-piece-label:is([data-state="cell"], [data-state="cell-picked"]) { font-size:var(--fs-body); }
.route-sketch[data-mode="edit"] .route-notes-map-piece-label[data-state="cell-picked"] { font-size:var(--fs-title); }
.route-sketch[data-mode="edit"] .route-notes-map-piece-label:is([data-state="cell"], [data-state="cell-picked"]) small { font-size:var(--fs-label); }
.route-sketch[data-mode="edit"] .route-sketch-floors { max-height:calc(100dvh - var(--sketch-top) - 132px - var(--sketch-sheet-height, 96px) - var(--sketch-controls-height, 44px)); }
@media (min-width:768px) {
  .route-sketch-quick { left:16px; right:auto; width:min(420px, calc(100% - 32px)); }
}

/* 구역 지도 위 약도 이름표: 누르면 약도가 열린다. */
.route-notes-map-sketch-label {
  transform:translate(-50%, -50%); display:inline-flex; align-items:center; gap:4px; height:28px; padding:0 10px; border:0; border-radius:var(--r-full);
  background:#E0782A; color:#fff; font:700 12px var(--font-ui); white-space:nowrap; box-shadow:0 2px 8px rgba(16,24,40,.24); cursor:pointer;
}
.route-notes-map-sketch-label::before { content:"약도"; padding-right:4px; margin-right:2px; border-right:1px solid rgba(255,255,255,.5); font-weight:600; opacity:.9; }

/* 자리 카드의 약도 줄 */
/* 팁 쓰기는 한 줄 전체, 약도·건물 라벨은 아래 반반: 360px에서도 카드 폭을 넘지 않는다(2026-10-21 UX 점검 H3). */
.route-notes-place-tools { display:flex; flex-wrap:wrap; gap:8px; }
.route-notes-place-tools > .route-notes-button { flex:1 1 0; min-width:0; min-height:44px; justify-content:center; white-space:nowrap; }
.route-notes-place-tools > .route-notes-place-add { flex-basis:100%; }

@media (min-width: 768px) {
  .route-sketch-top, .route-sketch-search { right:auto; width:min(420px, calc(100% - 32px)); }
  .route-sketch-sheet, .route-sketch-tools { left:16px; right:auto; width:min(420px, calc(100% - 32px)); }
  .route-sketch-hint { right:auto; width:min(420px, calc(100% - 32px)); }
}

/* 안내도 사진: 지도 위 밑그림. 맞추는 동안만 손가락을 받고, 그 밖에는 지도 조작을 막지 않는다. */
.route-sketch-photo { position:absolute; inset:0; z-index:1; overflow:hidden; pointer-events:none; }
.route-sketch-photo[hidden] { display:none; }
.route-sketch-photo[data-aligning="true"] { pointer-events:auto; touch-action:none; cursor:grab; }
.route-sketch-photo img { position:absolute; left:0; top:0; max-width:none; transform-origin:center; user-select:none; -webkit-user-drag:none; }
.route-sketch-photo-input { display:none; }
.route-sketch-slider { display:flex; align-items:center; gap:10px; color:var(--muted); font:600 var(--fs-caption) var(--font-ui); white-space:nowrap; }
.route-sketch-range { flex:1 1 auto; accent-color:var(--gold); }

/* 나누기 */
.route-sketch-split-head { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.route-sketch-split-head strong { font:700 var(--fs-body) var(--font-ui); }
.route-sketch-stepper { display:flex; align-items:center; height:44px; border-radius:12px; background:var(--btn-fill); overflow:hidden; }
.route-sketch-stepper strong { flex:1 1 auto; text-align:center; font:800 var(--fs-body) var(--font-code); }
.route-sketch-step { flex:none; width:44px; height:44px; border:0; background:transparent; color:var(--text); font:700 20px var(--font-ui); cursor:pointer; }

/* 층이 많으면(최대 30) 세로 줄 안에서 넘긴다. 아래 판과 도구 줄 위까지만. */
.route-sketch-floors { max-height:calc(100dvh - var(--sketch-top) - 108px - 260px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none; }
.route-sketch-floors::-webkit-scrollbar { display:none; }
.route-sketch-floor { flex:none; }

/* 버튼이 셋이면 줄을 넘겨 두 줄로, 글자는 한 줄로(“약도 지우기”가 두 줄로 꺾이던 문제). */
.route-sketch-actions { flex-wrap:wrap; }
.route-sketch .route-sketch-actions > .route-notes-button { flex:1 1 calc(33% - 8px); min-width:96px; padding:0 12px; white-space:nowrap; }

/* 점포 찍기의 가운데 핀: 팁 쓰기와 같은 물방울. 끝이 지도 가운데를 가리킨다. 손가락을 받지 않는다. */
.route-sketch-crosshair { position:absolute; left:50%; top:50%; z-index:3; width:34px; height:44px; transform:translate(-50%, -100%); pointer-events:none; filter:drop-shadow(0 3px 4px rgba(16,24,40,.3)); }
.route-sketch-crosshair[hidden] { display:none; }
.route-sketch-crosshair svg { display:block; width:100%; height:100%; }
.route-sketch-crosshair path { fill:#1B62D6; stroke:#fff; stroke-width:2; }
.route-sketch-crosshair circle { fill:#fff; }
.route-sketch-tool { font-size:11px; }

/* 층·약도 관리: 아래 판 맨 끝의 글자 버튼(주 행동을 가리지 않게). */
.route-sketch .route-notes-button.route-sketch-manage { align-self:center; min-height:36px; height:36px; padding:0 12px; border:0; background:none; color:var(--muted); font:600 var(--fs-label) var(--font-ui); }

/* 동 라벨 쓰기 판: 지도 위 아래쪽에 뜨는 작은 불투명 판. */
.route-notes-dong-sheet { position:absolute; left:8px; right:8px; bottom:calc(var(--rn-under-b, 0px) + 8px); z-index:40; box-sizing:border-box; display:flex; flex-direction:column; gap:12px; padding:16px; border-radius:24px; background:var(--panel); color:var(--text); box-shadow:0 -10px 32px rgba(16,24,40,.18); }
.route-notes-dong-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.route-notes-dong-head strong { font:700 var(--fs-body) var(--font-ui); }
.route-notes-dong-help { margin:0; color:var(--muted); font:500 var(--fs-label) var(--font-ui); }
.route-notes-dong-input { box-sizing:border-box; width:100%; height:48px; padding:0 14px; border:1px solid var(--line); border-radius:12px; background:var(--panel2); color:var(--text); font:800 18px var(--font-code); }
.route-notes-dong-scope { display:flex; gap:4px; padding:2px; border-radius:var(--r-full); background:var(--btn-fill); }
.route-notes-dong-scope .route-notes-button.route-notes-dong-seg { flex:1 1 0; min-height:36px; height:36px; padding:0 12px; background:transparent; font-size:var(--fs-label); }
.route-notes-dong-scope .route-notes-button.route-notes-dong-seg[aria-pressed="true"] { background:var(--panel); box-shadow:0 1px 3px rgba(16,24,40,.14); font-weight:700; }
.route-notes-dong-actions { display:flex; gap:8px; }
.route-notes-dong-actions > .route-notes-button { flex:1 1 0; }
.route-notes-dong-actions > .route-notes-button[hidden] { display:none; }
.route-notes-dong-actions .route-notes-button.danger { color:var(--red); }
@media (min-width: 768px) { .route-notes-dong-sheet { right:auto; width:min(420px, calc(100% - 32px)); left:16px; } }

/* 기울기 줄: 돌리기 스테퍼와 "건물에 맞추기"를 한 줄에. */
.route-sketch-size { display:flex; flex-direction:column; gap:8px; }
.route-sketch-tilt { align-items:flex-end; }
.route-sketch .route-notes-button.route-sketch-align { flex:1 1 0; min-height:44px; height:44px; padding:0 12px; white-space:nowrap; }

/* 라인 라벨 목록과 입구 찍기 */
.route-notes-dong-lines { display:flex; flex-wrap:wrap; gap:8px; }
.route-notes-dong-lines .route-notes-button.route-notes-dong-line { min-height:40px; height:40px; padding:0 14px; border-radius:var(--r-full); background:#2C2F36; color:#fff; font:800 var(--fs-body) var(--font-code); }
.route-notes-button.route-notes-dong-wide { width:100%; }
.route-notes-dong-placing { color:var(--text); font-weight:700; }
/* 이 건물 호수·상호 목록(2026-10-20): a scrolling list under the search, one row per unit or store. */
.route-sketch-picker-list { max-height:min(46vh, 340px); overflow-y:auto; overscroll-behavior:contain; border-radius:var(--r-lg, 14px); }
.route-sketch-result .route-sketch-result-name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.route-sketch-result[data-used="true"] { opacity:.55; }
.route-sketch-used { flex:none; color:var(--muted); font-size:var(--fs-label, 12px); font-weight:600; }
.route-sketch-source { margin:2px 4px 0; color:var(--muted); font-size:11px; }
.route-sketch-area { flex:none; color:var(--muted); font-size:var(--fs-label, 12px); font-variant-numeric:tabular-nums; }
/* A short screen squeezes the sheet; the search keeps its height and the list gives way. */
.route-sketch-sheet > input[type="search"] { flex:none; min-height:44px; }
.route-sketch-picker-list { flex:1 1 auto; min-height:96px; }
.route-sketch-result[data-home="true"] .route-sketch-result-name { color:var(--muted); }
.route-sketch-size-area { margin:0; font-variant-numeric:tabular-nums; }
/* 칸 옮기기: the middle handle, a filled disc with four arrows, apart from the white corners (44px to touch). */
.route-notes-map-vertex[data-kind="move"] { position:relative; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; box-shadow:none; font-size:0; cursor:grab; touch-action:none; }
.route-notes-map-vertex[data-kind="move"]::before { content:""; box-sizing:border-box; width:32px; height:32px; border:2px solid var(--on-color); border-radius:50%; background:var(--gold); box-shadow:var(--shadow-marker); }
.route-notes-map-vertex[data-kind="move"]::after { content:""; position:absolute; inset:0; margin:auto; width:18px; height:18px; background:var(--on-color);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20M9 5l3-3 3 3M9 19l3 3 3-3M5 9l-3 3 3 3M19 9l3 3-3 3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20M9 5l3-3 3 3M9 19l3 3 3-3M5 9l-3 3 3 3M19 9l3 3-3 3'/%3E%3C/svg%3E") center/contain no-repeat; }
.route-notes-map-vertex[data-kind="move"]:active { cursor:grabbing; }

/* Real geometry controls: visible edge grips stay slim; their hit areas are 44px. */
.route-sketch .route-notes-map-vertex[data-kind="edge"],
.route-sketch .route-notes-map-vertex[data-kind="rotate"] { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; box-shadow:none; font-size:0; touch-action:none; cursor:grab; }
.route-sketch .route-notes-map-vertex[data-kind="edge"]::before { content:""; width:20px; height:10px; box-sizing:border-box; border:2px solid var(--gold); border-radius:var(--r-full); background:var(--panel); box-shadow:var(--shadow-marker); transform:rotate(var(--handle-angle, 0deg)); }
.route-sketch .route-notes-map-vertex[data-kind="rotate"]::before { content:"회전"; display:grid; place-items:center; width:34px; height:34px; border:2px solid var(--gold); border-radius:50%; background:var(--panel); color:var(--gold); font:600 var(--fs-caption) var(--font-ui); box-shadow:var(--shadow-marker); }
.route-sketch .route-notes-map-vertex[data-kind="edge"]:active,
.route-sketch .route-notes-map-vertex[data-kind="rotate"]:active { cursor:grabbing; }
.route-sketch .route-notes-map-vertex:focus-visible { outline:2px solid var(--gold); outline-offset:2px; border-radius:var(--r-full); }
