/* [테스트시 워딩 수정] 전용 스타일시트.
   index.js의 스킨 교체 로직(Q.SKIN_DOC / Q.SKIN / Q.CONFIG.SKIN)이 index.css·common.css <link>를 제거하고
   대체 스타일시트로 바꿔치기하므로, 이 기능 스타일은 그 로직의 영향을 받지 않도록 index.css와 분리된 별도 파일로 둔다. */

/* 잠긴 치환값 칩 */
.s-tw-locked {
	background: #eef2f7;
	border: 1px dashed #9aa7b5;
	border-radius: 3px;
	padding: 0 2px;
	cursor: not-allowed;
}
.s-tw-editable[contenteditable="true"] {
	outline: 2px dashed #1f8dd6;
	outline-offset: 2px;
}
/* 편집 전 마우스 오버 시 편집 가능함을 알려주는 흐린 점선 (편집중에는 진한 점선이 대신 표시됨) */
.s-tw-editable:not([contenteditable="true"]):hover {
	outline: 2px dashed rgba(31,141,214,0.6);
	outline-offset: 2px;
}
/* 네비게이션 안내문 */
.tw-navi-guide {
	font-size: 11px;
	color: #999;
	margin: -.1em 0 .3em;
	line-height: 1.3;
}
/* 떠 있는 서식 툴바 (편집중인 텍스트 하단에 표시) */
#tw-format-toolbar {
	position: fixed;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 3px;
	background: #2b2f36;
	border-radius: 8px;
	padding: 5px 7px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.3);
	white-space: nowrap;
}
#tw-format-toolbar.tw-hidden {
	display: none;
}
#tw-format-toolbar .tw-btn {
	border: none;
	background: transparent;
	color: #eee;
	width: 28px;
	height: 28px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .12s;
}
#tw-format-toolbar .tw-btn:hover {
	background: rgba(255,255,255,0.18);
}
#tw-format-toolbar .tw-btn:active {
	background: rgba(255,255,255,0.3);
}
#tw-format-toolbar .tw-sep {
	width: 1px;
	height: 18px;
	background: rgba(255,255,255,0.2);
	margin: 0 2px;
}
#tw-format-toolbar button.tw-color {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.55);
	padding: 0;
	cursor: pointer;
	transition: transform .12s, border-color .12s;
}
#tw-format-toolbar button.tw-color:hover {
	border-color: #fff;
	transform: scale(1.15);
}
/* 하단 저장 바 */
#tw-bottom-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	background: #fff3cd;
	border-top: 3px solid #f5a623;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
	padding: 10px 16px;
	text-align: right;
}
#tw-bottom-bar button {
	margin-left: 8px;
	padding: 8px 18px;
	border-radius: 20px;
	border: 1px solid #ccc;
	background: #f7f7f7;
	color: #444;
	font-size: 95%;
	cursor: pointer;
	transition: background .12s, box-shadow .12s;
}
#tw-bottom-bar button:hover {
	background: #ececec;
}
#tw-bottom-bar button.tw-save {
	background: #1f8dd6;
	color: #fff;
	border-color: #1f8dd6;
	font-weight: bold;
	box-shadow: 0 2px 6px rgba(31,141,214,0.4);
}
#tw-bottom-bar button.tw-save:hover {
	background: #1a7dbd;
}
