/* ===== 复读学校网 排版工具 - 自定义样式 ===== */

/* 多组替换区：保持 1200px 居中与上下对齐，解除原 .group5 的 height:30px 限制 */
#replaceGroup {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 1200px !important;
  max-width: 100% !important;
  height: auto !important;
  gap: 10px;
  box-sizing: border-box;
  margin: 16px auto !important;
  padding: 12px;
  background: #FAFAFC;
  border: 1px solid rgba(23,23,23,.08);
  border-radius: 8px;
}
/* 多行时滚动，不挤压下方文本框 */
#replaceList {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
}
.replace-row {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  min-height: 34px;
}
.replace-row .word12,
.replace-row .txt12 { flex: 0 0 auto; font-size: 13px; color: #52525B; }
.replace-row .r-str,
.replace-row .r-to {
  flex: 1 1 140px; min-width: 90px;
  height: 30px; box-sizing: border-box;
}
/* 按钮统一高度，和 input 对齐 */
.replace-row .tostr-row,
.replace-row .del-row {
  flex: 0 0 auto; cursor: pointer; user-select: none;
  height: 30px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: 4px; font-size: 13px;
  box-sizing: border-box;
}
.replace-row .tostr-row { background: #4B3FE3; color: #fff; }
.replace-row .del-row {
  background: #EFEFF2; color: #52525B;
  border: 1px solid rgba(23,23,23,.12);
}
/* 操作按钮行：统一 gap，不再挤在一起 */
.replace-actions {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.replace-actions .add-replace,
.replace-actions .tostr-all {
  cursor: pointer; user-select: none;
  height: 30px; padding: 0 14px;
  display: inline-flex; align-items: center;
  border-radius: 4px; font-size: 13px;
  border: 1px dashed rgba(23,23,23,.2);
  box-sizing: border-box;
}
.replace-actions .add-replace { color: #4B3FE3; }
.replace-actions .tostr-all {
  background: #EAFBF8; color: #0F766E;
  border-color: #27D2BF;
}
/* logo 容器：垂直居中 */
.box1 {
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  height: auto !important;
}
.box1 .txt1 {
  display: flex;
  align-items: center;
}

/* 复选框：纯 CSS 实现，不依赖外部图片 */
.hh {
  background: #fff !important;
  border: 1px solid #c0c4cc !important;
  border-radius: 3px;
  box-sizing: border-box;
  position: relative;
}
.hh.ck {
  background: #409eff !important;
  border-color: #409eff !important;
}
.hh.ck::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
