.tox .tox-toolbar,
.tox .tox-toolbar-overlord,
.tox .tox-menubar {
  background-color: #D6313F !important; /* 主色调 */
}

.tox .tox-tbtn:hover:not(:disabled) {
  background-color: #D6313F !important; /* 按钮悬停色 */
}

.tox .tox-tbtn--enabled {
  background-color: #D6313F !important; /* 激活按钮色 */
}
.tox .tox-collection--list .tox-collection__item--active{
    background-color: #D6313F !important;
}
.tox .tox-button{
  background-color: #D6313F !important;
  border-color: #D6313F; 
} 
.tox .tox-button--secondary{
  background-color: #f0f0f0 !important;
  border-color: #f0f0f0 !important;
}
.tox .tox-dialog__body-nav-item--active {
  border-bottom: 2px solid #D6313F !important;
  color: #D6313F !important;
}

.tox .tox-button--naked {
  background-color: transparent !important; 
  border-color: transparent !important;
  box-shadow: unset !important;
  color: #222f3e !important;
}
.tox .tox-custom-editor:focus-within, .tox .tox-listboxfield .tox-listbox--select:focus, .tox .tox-textarea-wrap:focus-within, .tox .tox-textarea:focus, .tox .tox-textfield:focus {
  background-color: #fff;
  border-color: #D6313F !important;
  box-shadow: 0 0 0 1px #D6313F !important;
  outline: 0;
}
.tox .tox-edit-area::before {
  border: 2px solid #D6313F !important
}
/* 隐藏内嵌和高级两个 tab */
.tox .tox-dialog__body-nav .tox-tab[title="Embed"],
.tox .tox-dialog__body-nav .tox-tab[title="Advanced"] {
  display: none !important;
}

/* 如果你是中文界面，注意 title 也可能是中文 */

/* .tox-dialog__body-nav-item:nth-child(2),
.tox-dialog__body-nav-item:nth-child(3) {
  display: none !important;
} */

/* .tox-dialog__body-nav-item:has(> :contains("内嵌")) {
  display: none !important;
} */