[id^="editabletext-"] .editor-container { 
	display: none; 
	margin-top: 10px; 
}
[id^="editabletext-"] .display-container { 
	border: 1px solid #ccc; 
	padding: 10px; 
	cursor: pointer; 
	min-height: 50px; 
}
[id^="editabletext-"] textarea,
[id^="editabletext-"] .editor { 
	width: calc(100% - 10px); 
	height: 300px; 
	border: 1px solid #ccc; 
	padding: 4px; 
}
[id^="editabletext-"] .editor { 
	display: none; 
	border: 1px solid #ccc; 
	overflow: auto; 
}
[id^="editabletext-"] .editor-frame {
	border: 2px solid #ddd;
}
[id^="editabletext-"] .toolbar {
	display: flex;
	gap: 5px;
	background: #f0f0f0;
	padding: 5px;
	border-radius: 5px;
}
[id^="editabletext-"] .tool-button {
	border: none;
	background: #f0f0f0;
	padding: 8px;
	margin: 1px;
	cursor: pointer;
	border-radius: 3px;
	transition: background 0.2s;
}
[id^="editabletext-"] .tool-button:hover {
	background: #e0e0e0;
}
[id^="editabletext-"] .toggle-button {
	border: none;
	background: #f0f0f0;
	padding: 8px;
	margin: 1px;
	cursor: pointer;
	border-radius: 3px;
	transition: background 0.2s;
}
[id^="editabletext-"] .toggle-button:hover {
	background: #e0e0e0;
}
[id^="editabletext-"] .toggle-button.active {
	background: #fff;
	border: 1px solid #aaa;
	margin: 0px;
}
[id^="editabletext-"] .tabs { 
	display: flex; 
	border-top: 2px solid #ccc; 
	margin-top: 0px; 
}
[id^="editabletext-"] .tab { 
	padding: 10px; 
	cursor: pointer; 
	border: 1px solid #ccc; 
	border-top: none; 
	background: #f0f0f0; 
}
[id^="editabletext-"] .tab.active { 
	background: white; 
	font-weight: bold; 
}
[id^="editabletext-"] .dropdown { 
	position: relative; 
	display: inline-block; 
	margin-top: 0px; 
}
[id^="editabletext-"] .dropdown-content { 
	display: none; 
	position: absolute; 
	background: white; 
	border: 1px solid #ccc; 
	padding: 5px; 
	grid-template-columns: repeat(5, 1fr); 
	gap: 5px; 
	width: 160px; 
}
[id^="editabletext-"] .color-box { 
	width: 30px; 
	height: 30px; 
	cursor: pointer; 
	border: 1px solid #ccc; 
}
[id^="editabletext-"] .dropdown:hover .dropdown-content { 
	display: grid; 
}
[id^="editabletext-"] .tab-button-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0px;
	border-top: 2px solid #ccc;
	padding-top: 0px;
}
[id^="editabletext-"] .button-container {
	display: flex;
	gap: 10px;
}
[id^="editabletext-"] .toolbar-sep {
	display: inline-block;
	border-left: 1px solid #ccc;
	height: 20px;
	margin: 0 3px;
	vertical-align: middle;
}
[id^="editabletext-"] .find-bar {
	display: none;
	align-items: center;
	gap: 4px;
	padding: 4px 5px;
	background: #fff8e1;
	border-bottom: 1px solid #ccc;
	flex-wrap: wrap;
}
[id^="editabletext-"] .find-bar input {
	padding: 3px 6px;
	border: 1px solid #ccc;
	border-radius: 3px;
}
[id^="editabletext-"] .find-bar button {
	padding: 3px 7px;
	cursor: pointer;
}
[id^="findCount-"] {
	font-size: 0.85em;
	color: #666;
	min-width: 60px;
}
[id^="editabletext-"] .status-bar {
	font-size: 0.8em;
	color: #888;
	padding: 2px 6px;
	background: #f8f8f8;
	border-top: 1px solid #eee;
	text-align: right;
}
[id^="editabletext-"] .editor-container.fullscreen {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	max-width: none;
	z-index: 9999;
	background: white;
	box-sizing: border-box;
	padding: 10px;
	display: flex !important;
	flex-direction: column;
}
[id^="editabletext-"] .editor-container.fullscreen .editor-frame {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
[id^="editabletext-"] .editor-container.fullscreen textarea,
[id^="editabletext-"] .editor-container.fullscreen .editor {
	flex: 1;
	height: auto;
}
[id^="editabletext-"] .codeblock {
	background: #f4f4f4;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 8px 10px;
	margin: 4px 0;
	overflow-x: auto;
}
[id^="editabletext-"] .codeblock code {
	display: block;
	font-family: monospace;
	font-size: 0.9em;
	white-space: pre;
}
[id^="editabletext-"] .codeblock code.linenumbers {
	counter-increment: line;
}
[id^="editabletext-"] .codeblock code.linenumbers::before {
	content: counter(line);
	display: inline-block;
	min-width: 2em;
	padding-right: 8px;
	color: #999;
	user-select: none;
}
[id^="editabletext-"] .codeblock {
	counter-reset: line;
}
[id^="editabletext-"] blockquote {
	border-left: 3px solid #ccc;
	margin: 4px 0 4px 8px;
	padding: 2px 10px;
	color: #555;
}

