/* ddgg_editor (TipTap) skin */

.rx_ddgg_editor {
	border: 1px solid #d3d8de;
	border-radius: 8px;
	background: #fff;
	overflow: visible;
}

/* NIGHTFLIGHT CUSTOM: 파일첨부 박스도 에디터 컨테이너와 동일하게 코너 라운드 처리
   실제 테두리는 .xefu-dropzone이 아니라 이를 감싸는 .xefu-container가 그리고 있어 여기에 radius+overflow:hidden 적용 */
.xefu-container { border-radius: 8px; overflow: hidden; }
.xefu-dropzone { border-radius: 8px; }

/* --- Toolbar (two rows) --- */
.rx_ddgg_editor .ddgg-toolbar {
	position: sticky;
	top: var(--header-height);
	z-index: 15;
	border-bottom: 1px solid #e5e9ee;
	background: #f7f9fb;
	border-radius: 7px 7px 0 0;
}
.rx_ddgg_editor .ddgg-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px;
	padding: 6px 8px;
}
.rx_ddgg_editor .ddgg-row1 {
	gap: 2px;
	padding: 6px 8px;
	background: #fdfdfe;
	border-radius: 7px 7px 0 0;
}
.rx_ddgg_editor .ddgg-row2 { padding: 5px 10px; background: #fdfdfe; }

/* Row-1 primary tools: icon over label */
.rx_ddgg_editor .ddgg-tool {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 56px;
	height: 52px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: #2f3a47;
	cursor: pointer;
	transition: background .12s, color .12s;
}
.rx_ddgg_editor .ddgg-tool:hover { background: #eef2f6; }
.rx_ddgg_editor .ddgg-tool.is-active { background: #e3effb; color: #1769b3; }
.rx_ddgg_editor .ddgg-tool .ddgg-ic { width: 24px; height: 24px; }
.rx_ddgg_editor .ddgg-tool .ddgg-ic svg { width: 24px; height: 24px; display: block; }
.rx_ddgg_editor .ddgg-tool .ddgg-ic-img { width: 24px; height: 24px; object-fit: contain; display: block; }
.rx_ddgg_editor .ddgg-tool .ddgg-lb { font-size: 11px; line-height: 1; letter-spacing: -.02em; }

/* Generic (row-2) button */
.rx_ddgg_editor .ddgg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	color: #3a4654;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	transition: background .12s, border-color .12s;
}
.rx_ddgg_editor .ddgg-btn:hover { background: #e9eef3; }
.rx_ddgg_editor .ddgg-btn svg { display: block; width: 17px; height: 17px; flex-shrink: 0; }
.rx_ddgg_editor .ddgg-btn-dropdown { display: inline-flex; align-items: center; gap: 3px; }
.rx_ddgg_editor .ddgg-caret { width: 8px; height: 8px; opacity: .6; flex-shrink: 0; }
.rx_ddgg_editor .ddgg-btn:disabled { opacity: .5; cursor: default; }
.rx_ddgg_editor .ddgg-btn.is-active { background: #e3effb; border-color: #9cc8ee; color: #1769b3; }

.rx_ddgg_editor .ddgg-sep { width: 1px; height: 18px; margin: 0 4px; background: #d8dee5; }

/* Row-2 controls */
.rx_ddgg_editor .ddgg-select {
	height: 30px; border: 1px solid #d8dee5; border-radius: 6px;
	background: #fff; color: #3a4654; font-size: 13px; padding: 0 6px; cursor: pointer;
}
.rx_ddgg_editor .ddgg-color {
	width: 30px; height: 30px; padding: 2px;
	border: 1px solid #d8dee5; border-radius: 6px; background: #fff; cursor: pointer;
}

/* --- Floating table row/column toolbar (body에 직접 배치, .ddgg-popup과 동일 방식) --- */
.ddgg-table-bar {
	position: fixed; z-index: 25; display: none;
	align-items: center; gap: 3px;
	background: #fff; border: 1px solid #d3d8de; border-radius: 8px;
	box-shadow: 0 8px 28px rgba(20,30,45,.16); padding: 4px;
}
.ddgg-table-bar .ddgg-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 28px; padding: 0 9px; border: 1px solid transparent; border-radius: 6px;
	background: transparent; color: #3a4654; font-size: 12.5px; white-space: nowrap;
	cursor: pointer; transition: background .12s;
}
.ddgg-table-bar .ddgg-btn:hover { background: #e9eef3; }
/* NIGHTFLIGHT CUSTOM: .ddgg-table-bar는 document.body에 직접 붙어 .rx_ddgg_editor 스코프 밖에 있어서
   메인 툴바용 svg 크기 규칙(.rx_ddgg_editor .ddgg-btn svg)이 적용되지 않던 문제 수정 (Lucide 아이콘 전환 후 발견) */
.ddgg-table-bar .ddgg-btn svg { display: block; width: 15px; height: 15px; flex-shrink: 0; }
.ddgg-table-bar .ddgg-btn-danger { color: #c0392b; }
.ddgg-table-bar .ddgg-btn-danger:hover { background: #fbe9e7; }
.ddgg-table-bar .ddgg-sep { width: 1px; height: 16px; margin: 0 3px; background: #d8dee5; }
.ddgg-table-bar.dark { background: #232b34; border-color: #3a444f; }
.ddgg-table-bar.dark .ddgg-btn { color: #c6cfd9; }
.ddgg-table-bar.dark .ddgg-btn:hover { background: #2e3842; }
.ddgg-table-bar.dark .ddgg-btn-danger { color: #ff8a80; }
.ddgg-table-bar.dark .ddgg-btn-danger:hover { background: #3a2a2a; }
.ddgg-table-bar.dark .ddgg-sep { background: #3a444f; }
.ddgg-table-bg-color {
	width: 22px; height: 22px; padding: 0; border: 1px solid #d8dee5; border-radius: 4px;
	background: none; cursor: pointer; margin: 0 3px;
}
.ddgg-table-bar.dark .ddgg-table-bg-color { border-color: #3a444f; }
.rx_ddgg_editor .ProseMirror .img-caption {
	text-align: center; font-size: 13px; font-style: italic; color: #8a94a3; margin-top: 4px;
	/* NIGHTFLIGHT CUSTOM: 캡션 영역임을 시각적으로 구분(작성 화면 전용, 뷰어에는 미적용) */
	background: #f4f6f8; border-radius: 6px; padding: 6px 10px;
}
.rx_ddgg_editor.dark .ProseMirror .img-caption { color: #9aa7b5; background: #232a34; }
/* NIGHTFLIGHT CUSTOM: 이미지 선택 시 테두리 표시 (iframe/카드와 동일한 패턴, 리사이즈 핸들 위치를 더 잘 인지시킴) */
.rx_ddgg_editor .ProseMirror img.ProseMirror-selectednode {
	outline: 2px solid #1769b3;
	outline-offset: 2px;
}
.ddgg-resize-handle {
	width: 20px; height: 20px; border-radius: 50%;
	background: #1769b3; border: 3px solid #fff;
	cursor: nwse-resize; z-index: 26; display: none;
	box-shadow: 0 2px 6px rgba(0,0,0,.4);
	align-items: center; justify-content: center;
	animation: nf-resize-handle-pop .25s ease-out;
}
.ddgg-resize-handle svg { width: 11px; height: 11px; stroke: #fff; pointer-events: none; transform: rotate(90deg); }
@keyframes nf-resize-handle-pop {
	from { transform: scale(1.6); }
	to { transform: scale(1); }
}

/* --- Popups (emoji) --- */
.ddgg-popup {
	position: absolute; z-index: 20; background: #fff;
	border: 1px solid #d3d8de; border-radius: 10px;
	box-shadow: 0 8px 28px rgba(20,30,45,.16); padding: 8px;
}
.ddgg-popup-emoji {
	display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; max-width: 320px; max-height:260px; overflow-y:auto; /* NIGHTFLIGHT CUSTOM: 이모지 확장에 따른 스크롤 처리 */
}
.ddgg-emoji {
	width: 28px; height: 28px; border: 0; background: transparent;
	font-size: 18px; line-height: 1; border-radius: 5px; cursor: pointer;
}
.ddgg-emoji:hover { background: #eef2f6; }
.ddgg-popup-menu {
	display: flex; flex-direction: column; gap: 2px; min-width: 160px;
}
.ddgg-menu-item {
	display: flex; align-items: center; gap: 10px; width: 100%;
	border: 0; background: transparent; padding: 8px 10px; border-radius: 6px;
	cursor: pointer; font-size: 13px; text-align: left; color: inherit; font-family: inherit;
}
.ddgg-menu-item .ddgg-ic svg { width: 16px; height: 16px; display: block; }
.ddgg-menu-item:hover { background: #eef2f6; }
.ddgg-popup.dark .ddgg-menu-item:hover { background: #2e3842; }
.ddgg-popup-tablegrid { padding: 10px; }
.ddgg-tablegrid {
	display: grid; grid-template-columns: repeat(8, 18px); grid-template-rows: repeat(8, 18px); gap: 3px;
}
.ddgg-tablegrid-cell {
	width: 18px; height: 18px; border: 1px solid #d3d8de; border-radius: 2px; background: #fff; cursor: pointer;
}
.ddgg-tablegrid-cell.is-active { background: #dbe6ff; border-color: #7fa2f0; }
.ddgg-popup.dark .ddgg-tablegrid-cell { background: #2b333c; border-color: #3a444f; }
.ddgg-popup.dark .ddgg-tablegrid-cell.is-active { background: #3a4a6b; border-color: #6f8fd6; }
.ddgg-tablegrid-label { text-align: center; font-size: 12px; color: #6b7684; margin-top: 8px; }
.ddgg-popup-swatches { display: flex; align-items: center; gap: 8px; padding: 4px; }
.ddgg-swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); cursor: pointer; padding: 0; }
.ddgg-swatch-sep { width: 1px; height: 18px; background: #e0e4e8; }
.ddgg-swatch-off { background: #fff; display: flex; align-items: center; justify-content: center; color: #6b7684; border: 1px solid #d3d8de; }
.rx_ddgg_editor .ProseMirror .tableWrapper { overflow-x: auto; overflow-y: hidden; }
/* NIGHTFLIGHT CUSTOM: 인라인 링크 팝업 및 스타일 */
.ddgg-popup-link { min-width: 240px; display: flex; flex-direction: column; gap: 8px; padding: 10px; }
.ddgg-link-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #6b7684; }
.ddgg-link-label input { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid #d3d8de; border-radius: 6px; color: inherit; background: #fff; }
.ddgg-popup.dark .ddgg-link-label input { background: #232a34; border-color: #38414d; color: inherit; }
.ddgg-popup-link-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 2px; }
.ddgg-popup-link-actions button { font-size: 13px; padding: 6px 12px; border-radius: 6px; border: 1px solid transparent; cursor: pointer; }
.ddgg-link-cancel { background: transparent; color: #6b7684; }
.ddgg-link-cancel:hover { background: #eef2f6; }
.ddgg-link-ok { background: #1B2A4A; color: #fff; }
.ddgg-link-ok:hover { background: #14213b; }
.rx_ddgg_editor .ProseMirror a.nf-link { background: #E9ECF3; color: #1B2A4A; font-weight: 700; text-decoration: none; padding: 1px 4px; border-radius: 4px; }
.rx_ddgg_editor.dark .ProseMirror a.nf-link { background: #2A2115; color: #E8A33D; }
.rx_ddgg_editor .ProseMirror table { border-collapse: collapse; position: relative; max-width: 100%; }
.rx_ddgg_editor .ProseMirror .column-resize-handle {
	position: absolute; right: 0; top: 0; bottom: 0;
	width: 4px; background-color: #1769b3; pointer-events: none;
}
.rx_ddgg_editor .ProseMirror.resize-cursor { cursor: col-resize; }
.rx_ddgg_editor .ProseMirror td.selectedCell,
.rx_ddgg_editor .ProseMirror th.selectedCell {
	position: relative;
}
.rx_ddgg_editor .ProseMirror td.selectedCell::after,
.rx_ddgg_editor .ProseMirror th.selectedCell::after {
	content: ""; position: absolute; inset: 0;
	background: rgba(23,105,179,.18); pointer-events: none;
}

/* --- Editable area --- */
.rx_ddgg_editor .ddgg-editable { padding: 16px 18px; border-radius: 0 0 7px 7px; }
.rx_ddgg_editor .ProseMirror { outline: none; min-height: inherit; line-height: 1.7; word-break: break-word; }
.rx_ddgg_editor .ProseMirror > * + * { margin-top: .75em; }
.rx_ddgg_editor .ProseMirror img { max-width: 100%; height: auto; }
/* NIGHTFLIGHT CUSTOM: 여러 이미지 묶음(nf-img-group) 에디터 미리보기 - 뷰어와 동일한 justified layout */
.rx_ddgg_editor .ProseMirror .nf-img-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: .75em;
}
.rx_ddgg_editor .ProseMirror .nf-img-group img {
	display: block;
	margin: 0 !important;
	border-radius: 6px;
	max-width: none;
}
.rx_ddgg_editor .ProseMirror .nf-img-group.ProseMirror-selectednode {
	outline: 2px solid #1769b3;
	outline-offset: 2px;
	border-radius: 8px;
}
.rx_ddgg_editor .ProseMirror .nf-img-group-item {
	position: relative;
	display: inline-block;
	line-height: 0;
}
.rx_ddgg_editor .ProseMirror .nf-img-group-del {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 26px;
	height: 26px;
	border: none;
	border-radius: 50%;
	background: rgba(20,23,28,.6);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	transition: opacity .12s, background .12s;
}
.rx_ddgg_editor .ProseMirror .nf-img-group-del svg {
	width: 15px;
	height: 15px;
}
.rx_ddgg_editor .ProseMirror .nf-img-group-item:hover .nf-img-group-del {
	opacity: 1;
}
.rx_ddgg_editor .ProseMirror .nf-img-group-del:hover {
	background: #d64545;
}

/* NIGHTFLIGHT CUSTOM: 낱장(묶음이 아닌) 이미지 호버 삭제 버튼. document.body에 직접 붙으므로
   .rx_ddgg_editor 스코프 없이 별도로 정의 (표/이미지 플로팅 바와 같은 방식) */
.nf-img-standalone-del {
	width: 26px;
	height: 26px;
	border: none;
	border-radius: 50%;
	background: rgba(20,23,28,.6);
	color: #fff;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 24;
}
.nf-img-standalone-del svg {
	width: 15px;
	height: 15px;
}
.nf-img-standalone-del:hover {
	background: #d64545;
}
.rx_ddgg_editor .ProseMirror blockquote {
	border-left: 3px solid #cdd5dd; margin-left: 0; padding-left: 1em; color: #5a6573;
}
.rx_ddgg_editor .ProseMirror pre {
	background: #1f2733; color: #e6edf3; border-radius: 6px; padding: 12px 14px;
	overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.rx_ddgg_editor .ProseMirror table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.rx_ddgg_editor .ProseMirror th, .rx_ddgg_editor .ProseMirror td {
	border: 1px solid #cfd6de; padding: 6px 9px; vertical-align: top;
}
.rx_ddgg_editor .ProseMirror th { background: #f1f4f7; font-weight: 600; }
.rx_ddgg_editor .ProseMirror .tableWrapper { overflow-x: auto; }
.rx_ddgg_editor .ProseMirror iframe:not(.nf-embed-16x9-frame) { max-width: 100%; height: auto; border: 0; display: block; margin: 8px auto; }
.rx_ddgg_editor .ProseMirror .nf-embed-16x9 { margin: 8px auto; }
.rx_ddgg_editor .ProseMirror iframe.ProseMirror-selectednode { outline: 2px solid #1769b3; }
/* NIGHTFLIGHT CUSTOM: 첨부파일로 삽입된 동영상(RxVideo 노드) - iframe과 동일한 반응형 패턴 */
.rx_ddgg_editor .ProseMirror video.nf-video { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 8px auto; background: #000; }
.rx_ddgg_editor .ProseMirror video.nf-video.ProseMirror-selectednode { outline: 2px solid #1769b3; outline-offset: 2px; }
.rx_ddgg_editor .ProseMirror ul:not([data-type="taskList"]) { list-style-type: disc; }
.rx_ddgg_editor .ProseMirror ul:not([data-type="taskList"]) ul { list-style-type: circle; }
.rx_ddgg_editor .ProseMirror ul:not([data-type="taskList"]) ul ul { list-style-type: square; }
.rx_ddgg_editor .ProseMirror ul:not([data-type="taskList"]) ul ul ul { list-style-type: disc; }
.rx_ddgg_editor .ProseMirror ol { list-style-type: decimal; }
.rx_ddgg_editor .ProseMirror ol ol { list-style-type: lower-alpha; }
.rx_ddgg_editor .ProseMirror ol ol ol { list-style-type: lower-roman; }
.rx_ddgg_editor .ProseMirror ol ol ol ol { list-style-type: decimal; }
.rx_ddgg_editor .ProseMirror ul[data-type="taskList"] {
	list-style: none;
	padding-left: 0;
}
.rx_ddgg_editor .ProseMirror ul[data-type="taskList"] li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.rx_ddgg_editor .ProseMirror ul[data-type="taskList"] li > label {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	user-select: none;
}
.rx_ddgg_editor .ProseMirror ul[data-type="taskList"] li > div {
	flex: 1 1 auto;
	min-width: 0;
}
.rx_ddgg_editor .ProseMirror ul[data-type="taskList"] li > div > p {
	margin: 0;
}
.rx_ddgg_editor .ProseMirror ul[data-type="taskList"] input[type="checkbox"] {
	width: 15px;
	height: 15px;
	cursor: pointer;
}
.rx_ddgg_editor .ProseMirror ul[data-type="taskList"] li[data-checked="true"] > div > p {
	text-decoration: line-through;
	color: #9aa4af;
}
.rx_ddgg_editor .ProseMirror p.is-editor-empty:first-child::before {
	content: attr(data-placeholder); float: left; color: #9aa4b0; pointer-events: none; height: 0;
}

/* OG link-preview card (editor refinements over inline styles) */
.rx_ddgg_editor .ProseMirror a.og-card { transition: border-color .12s, box-shadow .12s; }
.rx_ddgg_editor .ProseMirror a.og-card:hover { border-color: #c3d2e2 !important; box-shadow: 0 2px 10px rgba(20,30,45,.07); }
.rx_ddgg_editor .ProseMirror a.og-card.ProseMirror-selectednode { outline: 2px solid #1769b3; }
.rx_ddgg_editor .ProseMirror .og-card-title,
.rx_ddgg_editor .ProseMirror .og-card-desc {
	display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.rx_ddgg_editor .ProseMirror .og-card-title { -webkit-line-clamp: 2; }
.rx_ddgg_editor .ProseMirror .og-card-desc { -webkit-line-clamp: 2; }
.rx_ddgg_editor .ProseMirror .og-card-site { margin-top: auto; }

/* HTML source mode */
.rx_ddgg_editor .ddgg-source {
	width: 100%; border: 0; padding: 16px 18px; box-sizing: border-box;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px; line-height: 1.6; resize: vertical; outline: none;
	background: #fbfcfd; color: #2b3440;
}

/* --- Mobile: keep row-1 tools on a single line --- */
@media (max-width: 600px) {
	.rx_ddgg_editor .ddgg-row1 {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		gap: 2px;
		padding: 5px 4px;
		scrollbar-width: thin;
	}
	.rx_ddgg_editor .ddgg-row1::-webkit-scrollbar { height: 3px; }
	.rx_ddgg_editor .ddgg-row1::-webkit-scrollbar-thumb { background: rgba(120,130,145,.35); border-radius: 3px; }
	.rx_ddgg_editor .ddgg-tool {
		flex: 0 0 auto;
		width: 52px;
		min-width: 52px;
		height: 48px;
		gap: 3px;
		border-radius: 7px;
	}
	.rx_ddgg_editor .ddgg-tool .ddgg-ic,
	.rx_ddgg_editor .ddgg-tool .ddgg-ic svg { width: 21px; height: 21px; }
	.rx_ddgg_editor .ddgg-tool .ddgg-lb { font-size: 10px; }
}
@media (max-width: 360px) {
	.rx_ddgg_editor .ddgg-tool .ddgg-lb { font-size: 9px; }
	.rx_ddgg_editor .ddgg-tool .ddgg-ic,
	.rx_ddgg_editor .ddgg-tool .ddgg-ic svg { width: 19px; height: 19px; }
}

/* --- Dark colorset --- */
.rx_ddgg_editor.dark { border-color: #39424d; background: #1d242c; }
.rx_ddgg_editor.dark .ddgg-toolbar { background: #232b34; border-bottom-color: #333d47; }
.rx_ddgg_editor.dark .ddgg-row1 { background: #20272f; border-radius: 7px 7px 0 0; }
.rx_ddgg_editor.dark .ddgg-row2 { background: #20272f; }
.rx_ddgg_editor.dark .ddgg-tool { color: #c6cfd9; }
.rx_ddgg_editor.dark .ddgg-tool:hover { background: #2e3842; }
.rx_ddgg_editor.dark .ddgg-tool.is-active { background: #1d3a52; color: #6cb6f2; }
.rx_ddgg_editor.dark .ddgg-btn { color: #c6cfd9; }
.rx_ddgg_editor.dark .ddgg-btn:hover { background: #2e3842; }
.rx_ddgg_editor.dark .ddgg-btn.is-active { background: #1d3a52; border-color: #2f6da3; color: #6cb6f2; }
.rx_ddgg_editor.dark .ddgg-sep { background: #3a444f; }
.rx_ddgg_editor.dark .ddgg-select, .rx_ddgg_editor.dark .ddgg-color { background: #272f39; border-color: #3a444f; color: #c6cfd9; }
.rx_ddgg_editor.dark .ProseMirror { color: #dfe6ee; }
.rx_ddgg_editor.dark .ProseMirror th,
.rx_ddgg_editor.dark .ProseMirror td { border-color: #3a444f; }
.rx_ddgg_editor.dark .ProseMirror th { background: #283039; color: #eef2f6; }
.rx_ddgg_editor.dark .ProseMirror blockquote { border-left-color: #3a444f; color: #aeb8c4; }
.rx_ddgg_editor.dark .ProseMirror hr { border-top-color: #333d47; }
.rx_ddgg_editor.dark .ddgg-source { background: #1a2129; color: #dfe6ee; }
.ddgg-popup.dark { background: #232b34; border-color: #3a444f; color: #c6cfd9; }
.ddgg-popup.dark .ddgg-emoji:hover { background: #2e3842; }

/* NIGHTFLIGHT CUSTOM: 입력창 크기 자동조절 토글 */
.rx_ddgg_editor .ddgg-editable { transition: max-height .15s ease; }
.rx_ddgg_editor .ddgg-resize-toggle {
	display: flex; align-items: center; gap: 6px;
	padding: 6px 10px; font-size: 12px; color: #8a94a3;
	cursor: pointer; user-select: none;
}
.rx_ddgg_editor .ddgg-resize-toggle input { cursor: pointer; }
.rx_ddgg_editor.dark .ddgg-resize-toggle { color: #9aa7b5; }


/* NIGHTFLIGHT CUSTOM: 제목 드롭다운 버튼 - H는 기본 크기, 숫자만 작게 (위치 이동 없이 베이스라인 정렬 유지) */
.ddgg-heading-ic { font-weight: 700; font-size: 15px; }
.ddgg-heading-num { font-size: 0.65em; font-weight: 700; }


/* NIGHTFLIGHT CUSTOM: 글자색 버튼 - input[type=color] 대신 스와치 팝업 방식으로 교체 */
.ddgg-color-ic {
	display: inline-block; font-weight: 700; font-size: 14px; line-height: 1;
	border-bottom: 3px solid #000; padding-bottom: 1px;
}
.ddgg-swatch-custom { position: relative; display: flex; align-items: center; justify-content: center; background: #fff; color: #6b7684; }
.ddgg-popup.dark .ddgg-swatch-custom { background: #2b333c; color: #c3c8d1; }
