.CodeMirror{
  height:100%;
  font-family:Consolas,"Courier New",monospace;
  font-size:14px;
  line-height:1.45;
  background:#fff;
  color:#000;
}
.CodeMirror-gutters{
  background:#f5f5f5;
  border-right:1px solid #ddd;
}
.CodeMirror-linenumber{
  color:#333;
  padding:0 7px 0 5px;
}
.CodeMirror-cursor{border-left:1px solid #111}
.CodeMirror-selected{background:#b7d7ff!important}
.cm-search-hit{
  background:rgba(255,223,93,.55);
  border-bottom:1px solid #e2b700;
}
.cm-search-current{
  background:#ff9632!important;
  color:#000!important;
  outline:1px solid #c75a00;
}
.fallback-editor{
  display:none;
  width:100%;
  height:100%;
  border:0;
  resize:none;
  outline:0;
  padding:10px;
  font-family:Consolas,"Courier New",monospace;
  font-size:14px;
  line-height:1.45;
  color:#000;
  background:#fff;
}
body.no-cm .fallback-editor{display:block}
body.no-cm #sourceEditor{display:none}
.find-panel{
  position:absolute;
  z-index:10;
  top:8px;
  right:12px;
  width:438px;
  max-width:calc(100% - 24px);
  background:#e7e7e7;
  border:1px solid #bfbfbf;
  box-shadow:0 3px 12px rgba(0,0,0,.16);
  font-family:Consolas,"Courier New",monospace;
  color:#333;
}
.find-panel.hidden{display:none}
.find-row{
  display:grid;
  grid-template-columns:1fr 33px 33px 43px 22px;
  gap:0;
  border-bottom:1px solid #cfcfcf;
}
.replace-row{
  display:grid;
  grid-template-columns:1fr 76px 48px;
  gap:0;
  border-bottom:1px solid #cfcfcf;
}
.find-row input,.replace-row input{
  height:34px;
  min-width:0;
  border:0;
  border-right:1px solid #cfcfcf;
  border-radius:0;
  background:#fff;
  outline:0;
  padding:0 8px;
  font-family:Consolas,"Courier New",monospace;
  font-size:15px;
  color:#333;
}
.find-panel button{
  height:34px;
  border:0;
  border-right:1px solid #cfcfcf;
  border-radius:0;
  background:#f7f7f7;
  color:#333;
  font-family:Consolas,"Courier New",monospace;
  font-size:14px;
  padding:0;
  cursor:pointer;
}
.find-panel button:hover{background:#fff}
.find-panel .close-btn{
  border-right:0;
  background:#e7e7e7;
  font-weight:bold;
  color:#777;
}
.find-options{
  height:27px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  padding:0 6px;
  color:#666;
  font-size:14px;
}
.match-count{
  min-width:120px;
  display:flex;
  align-items:center;
  gap:8px;
}
.mini-minus{
  width:22px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #c4c4c4;
  background:#dedede;
  color:#555;
}
.find-toggles{
  display:flex;
  align-items:center;
  gap:2px;
}
.find-toggles .toggle{
  width:25px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #bdbdbd;
  background:#ddd;
  color:#555;
  font-size:13px;
  cursor:pointer;
  user-select:none;
}
.find-toggles .toggle.active{
  background:#fff;
  color:#111;
  border-color:#888;
  box-shadow:inset 0 0 0 1px #fff;
}
