/* ========== AI百业通 - 编辑模式样式 ========== */

/* 编辑模式切换按钮（默认隐藏，只有编辑模式开启后才显示） */
.editor-toggle-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(76,175,80,0.4);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none; /* 默认完全隐藏 */
}
.editor-toggle-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.editor-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(76,175,80,0.5);
}
.editor-toggle-btn.active {
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
  box-shadow: 0 4px 20px rgba(233,30,99,0.4);
}

/* 编辑模式指示条 */
.editor-mode-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4CAF50, #2196F3, #E91E63, #FF9800, #4CAF50);
  background-size: 200% 100%;
  animation: editorRainbow 3s linear infinite;
  z-index: 10000;
  display: none;
}
.editor-mode-bar.active {
  display: block;
}
@keyframes editorRainbow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* 可编辑元素样式 */
[data-editable] {
  position: relative;
  transition: outline 0.2s, box-shadow 0.2s;
}

body.editor-active [data-editable]:hover {
  outline: 2px dashed rgba(76,175,80,0.6);
  outline-offset: 2px;
  cursor: text;
}

body.editor-active [data-editable]:focus {
  outline: 2px solid #4CAF50;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(76,175,80,0.15);
  background: rgba(76,175,80,0.03);
}

/* 编辑模式下的卡片操作按钮 */
body.editor-active .industry-card {
  position: relative;
}
body.editor-active .card-edit-actions {
  display: flex;
}
.card-edit-actions {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  gap: 4px;
  z-index: 10;
}
.card-edit-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.card-edit-btn.edit { background: #fff; color: #4CAF50; }
.card-edit-btn.edit:hover { background: #4CAF50; color: #fff; }
.card-edit-btn.delete { background: #fff; color: #E91E63; }
.card-edit-btn.delete:hover { background: #E91E63; color: #fff; }
.card-edit-btn.move-up { background: #fff; color: #2196F3; }
.card-edit-btn.move-up:hover { background: #2196F3; color: #fff; }
.card-edit-btn.move-down { background: #fff; color: #FF9800; }
.card-edit-btn.move-down:hover { background: #FF9800; color: #fff; }

/* 新增模块按钮 */
.add-module-btn {
  display: none;
  border: 2px dashed rgba(76,175,80,0.4);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  color: rgba(76,175,80,0.6);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  background: rgba(76,175,80,0.03);
  min-height: 160px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
body.editor-active .add-module-btn {
  display: flex;
}
.add-module-btn:hover {
  border-color: #4CAF50;
  color: #4CAF50;
  background: rgba(76,175,80,0.06);
  transform: translateY(-2px);
}
.add-module-btn .add-icon {
  font-size: 32px;
  line-height: 1;
}

/* 编辑面板 (弹窗) */
.editor-panel-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 10001;
  justify-content: center;
  align-items: center;
}
.editor-panel-overlay.active {
  display: flex;
}

.editor-panel {
  background: #fff;
  border-radius: 20px;
  width: 560px;
  max-width: 92vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.25);
  animation: panelSlideIn 0.3s cubic-bezier(0.16,1,0.3,1);
}
@keyframes panelSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.editor-panel-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.editor-panel-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}
.editor-panel-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #666;
}
.editor-panel-close:hover {
  background: #E91E63;
  color: #fff;
}

.editor-panel-body {
  padding: 20px 24px;
}

.editor-field {
  margin-bottom: 18px;
}
.editor-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.editor-field input[type="text"],
.editor-field input[type="number"],
.editor-field textarea,
.editor-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  background: #fafafa;
}
.editor-field input:focus,
.editor-field textarea:focus,
.editor-field select:focus {
  border-color: #4CAF50;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}
.editor-field textarea {
  min-height: 80px;
  resize: vertical;
}
.editor-field .field-hint {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

/* 颜色选择行 */
.editor-field-row {
  display: flex;
  gap: 12px;
}
.editor-field-row .editor-field {
  flex: 1;
}

/* Emoji选择器 */
.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.emoji-picker button {
  width: 36px;
  height: 36px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  background: #fafafa;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emoji-picker button:hover {
  border-color: #4CAF50;
  background: #E8F5E9;
  transform: scale(1.1);
}
.emoji-picker button.selected {
  border-color: #4CAF50;
  background: #C8E6C9;
}

/* 面板底部按钮 */
.editor-panel-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.editor-btn {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
}
.editor-btn-cancel {
  background: #f5f5f5;
  color: #666;
}
.editor-btn-cancel:hover {
  background: #eee;
}
.editor-btn-save {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: #fff;
  box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}
.editor-btn-save:hover {
  box-shadow: 0 6px 16px rgba(76,175,80,0.4);
  transform: translateY(-1px);
}
.editor-btn-danger {
  background: linear-gradient(135deg, #E91E63, #C2185B);
  color: #fff;
  box-shadow: 0 4px 12px rgba(233,30,99,0.3);
}
.editor-btn-danger:hover {
  box-shadow: 0 6px 16px rgba(233,30,99,0.4);
  transform: translateY(-1px);
}

/* 渐变色预设选择 */
.gradient-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.gradient-picker button {
  width: 48px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid #eee;
  cursor: pointer;
  transition: all 0.15s;
}
.gradient-picker button:hover {
  transform: scale(1.1);
  border-color: #4CAF50;
}
.gradient-picker button.selected {
  border-color: #4CAF50;
  box-shadow: 0 2px 8px rgba(76,175,80,0.3);
}

/* Toast 通知 */
.editor-toast {
  position: fixed;
  bottom: 96px;
  right: 28px;
  background: #323232;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  z-index: 10002;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  animation: toastIn 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.editor-toast.success { background: #2E7D32; }
.editor-toast.error { background: #C62828; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 侧边栏编辑模式增强 */
body.editor-active .sidebar {
  border-right: 2px solid rgba(76,175,80,0.3);
}
/* 可编辑的导航链接样式 */
body.editor-active .sidebar-nav a[data-editable],
body.editor-active .sidebar-logo .s-logo-text[data-editable],
body.editor-active .sidebar-section-title[data-editable],
body.editor-active .sidebar-bottom a[data-editable] {
  cursor: text;
  color: inherit;
}
/* 编辑模式下链接去除href样式（已禁用跳转） */
body.editor-active .sidebar-nav a,
body.editor-active .tp-breadcrumb a,
body.editor-active .breadcrumb-inner a {
  cursor: text !important;
  pointer-events: none;
}

/* 学习路径卡片编辑 */
body.editor-active .path-card-edit {
  display: block;
}
.path-card-edit {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
}

/* 教程项编辑按钮 */
body.editor-active .tutorial-item {
  position: relative;
}
body.editor-active .t-edit-actions {
  display: flex;
}
.t-edit-actions {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  gap: 4px;
  z-index: 5;
}

/* 关于我们区域编辑 */
body.editor-active #about [data-editable]:hover {
  background: rgba(76,175,80,0.04);
}

/* 联系我们编辑 */
body.editor-active #contact [data-editable]:hover {
  background: rgba(76,175,80,0.04);
}

/* ========== 模式切换UI ========== */
.editor-mode-switch {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 9998;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  animation: editorFadeIn 0.3s ease;
}
.editor-mode-switch.visible {
  display: flex;
}
@keyframes editorFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mode-switch-label {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}
.mode-switch-btns {
  display: flex;
  gap: 4px;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.mode-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #888;
  font-family: inherit;
}
.mode-btn:hover {
  background: #f0f0f0;
  color: #333;
}
.mode-btn.active {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: #fff;
  box-shadow: 0 2px 8px rgba(76,175,80,0.3);
}

/* ========== 自由编辑模式样式 ========== */
.free-edit-active {
  outline: 2px dashed rgba(76,175,80,0.3) !important;
  outline-offset: -2px;
  min-height: 60px;
}
.free-edit-active:focus {
  outline: 2px solid #4CAF50 !important;
  box-shadow: 0 0 0 4px rgba(76,175,80,0.1);
}
body.editor-active .free-edit-active:hover {
  outline-color: rgba(76,175,80,0.6) !important;
}

/* 自由编辑工具栏 */
.free-edit-toolbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: 14px;
  padding: 6px 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  animation: toolbarSlideDown 0.3s cubic-bezier(0.16,1,0.3,1);
  border: 1px solid rgba(0,0,0,0.06);
}
@keyframes toolbarSlideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.ft-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  color: #555;
}
.ft-btn:hover {
  background: #f0f0f0;
  color: #222;
}
.ft-btn:active {
  background: #e0e0e0;
  transform: scale(0.95);
}
.ft-btn-danger:hover {
  background: #FCE4EC;
  color: #E91E63;
}
.ft-sep {
  color: #e0e0e0;
  font-size: 16px;
  margin: 0 2px;
  user-select: none;
}

/* ========== 浮动格式栏（分段编辑模式选中文本后弹出） ========== */
.floating-format-bar {
  position: absolute;
  z-index: 10003;
  display: none;
  align-items: center;
  gap: 2px;
  background: #fff;
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.06);
  transform: translateX(-50%);
  animation: ffBarIn 0.2s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
}
.floating-format-bar.visible {
  display: flex;
}
@keyframes ffBarIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.ffb-group {
  display: flex;
  align-items: center;
  gap: 2px;
}
.ffb-sep {
  width: 1px;
  height: 24px;
  background: #e0e0e0;
  margin: 0 4px;
}
.ffb-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  color: #444;
  font-family: inherit;
}
.ffb-btn:hover {
  background: #f0f0f0;
  color: #111;
}
.ffb-btn:active {
  background: #e0e0e0;
  transform: scale(0.95);
}
.ffb-select {
  height: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 11px;
  padding: 0 4px;
  background: #fafafa;
  color: #444;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  max-width: 68px;
}
.ffb-select:hover {
  border-color: #4CAF50;
}
.ffb-select:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 0 2px rgba(76,175,80,0.15);
}
.ffb-color {
  width: 28px;
  height: 28px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.ffb-color::-webkit-color-swatch-wrapper {
  padding: 2px;
}
.ffb-color::-webkit-color-swatch {
  border: none;
  border-radius: 3px;
}
.ffb-color:hover {
  border-color: #4CAF50;
}

/* ========== 自由编辑模式增强工具栏样式 ========== */
.ft-group {
  display: flex;
  align-items: center;
  gap: 3px;
}
.ft-select {
  height: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 11px;
  padding: 0 6px;
  background: #fafafa;
  color: #444;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  max-width: 78px;
}
.ft-select:hover {
  border-color: #4CAF50;
}
.ft-select:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 0 2px rgba(76,175,80,0.15);
}
.ft-color {
  width: 32px;
  height: 32px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.ft-color::-webkit-color-swatch-wrapper {
  padding: 3px;
}
.ft-color::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}
.ft-color:hover {
  border-color: #4CAF50;
}

/* 自由编辑工具栏响应式 */
.free-edit-toolbar {
  flex-wrap: wrap;
  max-width: 96vw;
  gap: 2px;
  padding: 4px 8px;
}
.free-edit-toolbar .ft-sep {
  margin: 0 2px;
}

/* 深色模式编辑器适配 */
[data-theme="dark"] .editor-panel {
  background: #1e1e32;
  color: #e0e0e8;
}
[data-theme="dark"] .editor-panel-header h3 {
  color: #e0e0e8;
}
[data-theme="dark"] .editor-panel-header {
  border-bottom-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .editor-field label {
  color: #aaa;
}
[data-theme="dark"] .editor-field input,
[data-theme="dark"] .editor-field textarea,
[data-theme="dark"] .editor-field select {
  background: #2a2a42;
  border-color: rgba(255,255,255,0.12);
  color: #e0e0e8;
}
[data-theme="dark"] .editor-field input:focus,
[data-theme="dark"] .editor-field textarea:focus,
[data-theme="dark"] .editor-field select:focus {
  border-color: #4CAF50;
  background: #2e2e48;
}
[data-theme="dark"] .editor-panel-footer {
  border-top-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .editor-btn-cancel {
  background: #2a2a42;
  color: #aaa;
}
[data-theme="dark"] .card-edit-btn {
  background: #2a2a42;
}
[data-theme="dark"] .emoji-picker button {
  background: #2a2a42;
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .gradient-picker button {
  border-color: rgba(255,255,255,0.1);
}
/* 深色模式 - 浮动格式栏 */
[data-theme="dark"] .floating-format-bar {
  background: #1e1e32;
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .ffb-btn {
  color: #ccc;
}
[data-theme="dark"] .ffb-btn:hover {
  background: #2a2a42;
  color: #fff;
}
[data-theme="dark"] .ffb-select {
  background: #2a2a42;
  border-color: rgba(255,255,255,0.12);
  color: #e0e0e8;
}
[data-theme="dark"] .ffb-color {
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .ffb-sep {
  background: rgba(255,255,255,0.1);
}
/* 深色模式 - 自由编辑增强工具栏 */
[data-theme="dark"] .ft-select {
  background: #2a2a42;
  border-color: rgba(255,255,255,0.12);
  color: #e0e0e8;
}
[data-theme="dark"] .ft-color {
  border-color: rgba(255,255,255,0.12);
}

/* ========== 密码验证弹窗 ========== */
.editor-password-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 10004;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pwOverlayIn 0.25s ease;
}
@keyframes pwOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.editor-password-modal {
  background: #fff;
  border-radius: 24px;
  width: 400px;
  max-width: 92vw;
  padding: 36px 32px 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  animation: pwModalIn 0.3s cubic-bezier(0.16,1,0.3,1);
  text-align: center;
}
@keyframes pwModalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.editor-password-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.editor-password-modal h3 {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 8px;
}
.editor-password-modal > p {
  font-size: 14px;
  color: #888;
  margin: 0 0 24px;
}
.editor-password-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafafa;
}
.editor-password-input-wrap:focus-within {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76,175,80,0.12);
  background: #fff;
}
.editor-password-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  color: #222;
}
.editor-password-input::placeholder {
  color: #bbb;
}
.editor-password-toggle {
  padding: 0 14px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.editor-password-toggle:hover {
  opacity: 0.7;
}
.editor-password-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.editor-password-cancel,
.editor-password-confirm {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}
.editor-password-cancel {
  background: #f0f0f0;
  color: #666;
}
.editor-password-cancel:hover {
  background: #e0e0e0;
  color: #333;
}
.editor-password-confirm {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: #fff;
  box-shadow: 0 4px 12px rgba(76,175,80,0.35);
}
.editor-password-confirm:hover {
  box-shadow: 0 6px 16px rgba(76,175,80,0.45);
  transform: translateY(-1px);
}
.editor-password-confirm:active {
  transform: translateY(0);
}
/* 密码输入抖动动画 */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
.editor-password-input.shake {
  animation: shake 0.5s ease;
}

/* 深色模式密码弹窗 */
[data-theme="dark"] .editor-password-modal {
  background: #1e1e32;
}
[data-theme="dark"] .editor-password-modal h3 {
  color: #e0e0e8;
}
[data-theme="dark"] .editor-password-modal > p {
  color: #888;
}
[data-theme="dark"] .editor-password-input-wrap {
  border-color: rgba(255,255,255,0.12);
  background: #2a2a42;
}
[data-theme="dark"] .editor-password-input {
  color: #e0e0e8;
}
[data-theme="dark"] .editor-password-cancel {
  background: #2a2a42;
  color: #aaa;
}
[data-theme="dark"] .editor-password-cancel:hover {
  background: #3a3a56;
  color: #ddd;
}
