

.dropdown-menu {
    border: 1px solid #dee5e7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.pull-left {
    left: 100%;
}

.dropdown-menu > .panel {
    margin: -5px 0;
    border: none;
}

.dropdown-menu > li > a {
    padding: 5px 15px;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #141719;
    background-color: #edf1f2 !important;
    background-image: none;
    filter: none;
}

.dropdown-header {
    padding: 5px 15px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
    color: #58666e;
    background-color: #edf1f2 !important;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus > .dropdown-menu {
    display: block;
}

.dropdown-submenu.pull-left {
    float: none !important;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    position: absolute;
}

.dropup .dropdown-submenu > .dropdown-menu {
    top: auto;
    bottom: 0;
}

.btn-group > .btn {
    margin-left: -1px;
}


.chunk-input:focus{
	border: none;outline:none;
}
    
#toast-container > .toast-wait {
  background-image: url("data:image/gif;base64,R0lGODlhIAAgAIQAAAQCBISGhMzKzERCROTm5CQiJKyurHx+fPz+/ExOTOzu7Dw+PIyOjCwqLFRWVAwKDIyKjMzOzOzq7CQmJLy6vFRSVPTy9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCQAXACwAAAAAIAAgAAAF3eAljmRpnmh6VRSVqLDpIDTixOdUlFSNUDhSQUAT7ES9GnD0SFQAKWItMqr4bqKHVPDI+WiT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6/BweHIyKjFRSVOzq7DQyNLy6vBQWFHRydDw6PPz+/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXXICaOZHkcZaquIjVd10SxtFrAcFGrVhBYIwoON9uNAsOA6DCEFTEKBEKxEjQvAtELNxkpGrAGNfW4Plpb2QgxRKjKzfPoVGLj3CnLNUv7hscpSDhKOxJSgDwPP0ZGAACMjAQFDQYFBJA0BAZDBpeYGBQVFUU3TV2YFAMwAzNgTQ2PkBVDFRiuQ7CYszi1pUOnkKmrM5qcnqiiTwQTDQ2Wn9DR0tPUfRKQEBEREDQSFw3XRhEwEd3f4TvjF+XWKgJ8JNnb0QkwCdUlCzAL+CQODAwc9BtIMAQAOw==") !important;
}
.toast-wait {
  background-color: #2f96b4;
}
  
  
  .content{
  	/* border:1px solid #ccc; */
  	display: flex;
  }
  /* .pun1{margin-left:-6pt;margin-right: -4pt;}
  .pun2{margin-left:-4pt;margin-right: -6pt;}
  .pun3{margin-right: -9pt;}
  .pun8{margin-right: -9pt;}
  .pun4{margin-right: -9pt;}
  .pun5{margin-left: -6pt;}
  .pun6{margin-right: -5pt;}
  .pun7{margin-right: -6pt;} */

  .pun{text-indent: -.5em}
  .chunk{text-align-last: justify;text-align:justify;/* overflow-x: hidden; border:1px solid red; */}
  .chunkchunk div:after{content:'';display: inline-block;clear:both;}
  .chunk div:before{content:''}
  
  .page-panel{
  	transform:scale(0.6);
  	transform-origin:0 0;

  	margin:20pt;
  	/* background-color:antiquewhite; */
  	background-color:white;
  	caret-color:red;
  	margin-left:30pt;
  }

  /* flow-root 让页序列成为 BFC：末页的负 margin-bottom（收缩 transform 空占位，pdfview.js 设置）
     计入容器高度；否则该负 margin 折叠穿透到外层被吞掉，滚动底部仍长出一大段空白。
     双页时被 .two-col 的 flex 覆盖（flex 本身就是 BFC，双页各页负 mb 已天然计入）。 */
  #_page_flow{display:flow-root;}

  /* 双页展示：页序列两列并排（相邻奇偶页同屏，便于图表跨页拖拽）。页面板保持自身宽高与
     transform 缩放（flex-basis 取 auto 不改盒宽，角按钮等 fixed 定位基准不变），水平占位由
     pdfview.js 按缩放比例设负 margin-right 收缩到视觉宽度，两项一行后自动换行。
     左右 padding 各 10px 防止满行时贴边；fitPageScale 按 content 宽适配，页会相应略缩。 */
  #_page_flow.two-col{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;margin-top:10px;padding-left:10px;padding-right:30px;}

  /** 旋转90度页面 */
  .rotate-page{
  	-webkit-transform: rotate(90deg) scale(0.6) !important;
	-moz-transform: rotate(90deg) scale(0.6) !important;
	-ms-transform: rotate(90deg) scale(0.6) !important;
	-o-transform: rotate(90deg) scale(0.6) !important;
	transform: rotate(90deg) scale(0.6) !important;
	margin-left:100% !important;
	overflow-x: auto !important;
  }
  
  
  .panel-htop{margin-bottom: 0px;}
  
  body{background-color:/*  #e5d8d8; */#ccc8c8;overflow-x:hidden;overflow-y:hidden; }
  
  .accordion .accordion-header-selected {
	background: #a9b4b9;
  }
  
  #knowledge_toolbar button {/*font-weight: bold;*/background-color: #e4e4e4;}
  
  .history-tab-panel{/* padding:2px; */padding-top:3px;}

  #selectfontstyle{font-weight: bold;font-size: 10px;display:inline-block;margin-top: 2px;}
  #selectlocationxy{font-weight: bold;font-size: 10px;padding-left:20px;display:inline-block;margin-top: 2px;}
  #selectlocationtd{font-weight: bold;font-size: 10px;padding-left:20px;display:inline-block;margin-top: 2px;}
  
  
  .page-1{margin-top:20pt;}

  .cke_top{border-bottom:0;}
   /*  #xmleditor_toolbar .cke_inner{background:#f8f8f8;padding-left:40%;}
    #xmleditor_toolbar .cke_top{padding: 4px 0px 0px;border-bottom:0;} */
    
   .edit-text-layer{line-height:2em;font-family:"FZShuSong-Z01";text-align: justify;} 
   .edit-layer-div{background:#eff7de;position:absolute;display:none;/* padding:5px;padding-bottom:0px; */padding:0px;overoverflow-y:auto;overflow-x:hidden;width:100%; /* overflow-y:hidden; */outline:0;line-height: 1.6em;} 
   .edit-layer-div::-webkit-scrollbar{width: 0;}
   .edit-layer-td{background:beige;padding:5px;}
   .edit-layer-td span{display: inline;}


	

#top_right_toolbar {
	vertical-align: top;
	padding-left:10px;
	width: 200px;
	display: inline-block;
    padding-top:8px;
}

#xmleditor_toolbar {
	width: 185px;
	display: inline-block;
	padding:5px;
	/* border: 1px solid #e7e4e0;;
    border-radius: 5px; */
    margin: 15px;
    margin-top:10px;
	/* margin-left: 50px; */
	margin-right: 5px;
	margin-left:0px;
	    margin-left: -70px;
	border-right: 1px solid #e5e0e0;
}
#knowledge_toolbar {
	vertical-align: top;
	width: /* 65% */910px;
	height:87px;
	overflow-y:auto;
	text-align:center;
	display: inline-block;
	padding:5px;
	/* border: 1px solid #e7e4e0;;
    border-radius: 5px; */
    padding-top:2px;
    margin: 15px;
    margin-top:10px;
    border-right: 1px solid #e5e0e0;
    margin-bottom: 0px;
    margin-left:0px;
    line-height:40px;
}

#knowledge_toolbar li{
	line-height: 1.6em;
    /* padding-left: 10px; */
    min-width: 120px;
}

#view_curr_area {
	vertical-align: top;
	/* width: 170px; */
	/* float:right; 
	padding-right:20px;
	width: 160px;*/
	display: inline-block;
    padding-top:20px;
    /* margin-left:10px; */
}

.top-manuscript-info {
	vertical-align: top;
	/*display: inline-block;*/
    padding-top:20px;
    float: left;
    padding-left: 20px;
}

.tabs-toolbar{
	width:22%;padding-left:0px;padding-top:0px;
}

.bottom_bar {display:none; height:26px;padding-left:5px;padding-top:2px;overflow:hidden;background-color: #f6f6f6;}
.wordcount-area{display:inline;position: absolute;bottom:4px;right:30px;/*font-weight:bold;*/font-size:12px;}

.panel-title {font-size: 14px;}

#pdf_view_toolbar {width:100%;text-align: center;position:fixed;top:0;left:0;z-index:9999;background: #f6f6f6;}


.pdf-area[xmlid*="_tbody_"] {border:0.5px dashed #d4c9c9;}
.pdf-area[xmlid*="_thead_"] {border:0.5px dashed #d4c9c9;}
.pdf-area[xmlid*="_tfoot_"] {border:0.5px dashed #d4c9c9;}

.pdf-area[xmlid^="template"] {border:0;}
.pdf-chunk[xmlid^="FigImg_"][xmlid$="_space"]{display: none;}

.pdf-chunk[xmlid^="FigImg_"]{background: cadetblue;}
.hiddenImg {background: cadetblue;}

.line-position{line-height:15px;color:red;position:absolute;}


.pdf-area{position: absolute;}
.pdf-area::-webkit-scrollbar{width: 0;}
.change-area{overflow-y: auto;overflow-x: hidden;background: rgba(255, 182, 165, 0.65);border: 1px solid #ccc;}
.pdf-line {white-space:nowrap;position:absolute;}
.pdf-line[lineid^="waterBg"] {z-index:-1 !important;}

.pdf-chunk {position: absolute;text-align: -webkit-right;/* justify; *//* border:1px solid red; */text-align-last: justify;white-space:nowrap;outline:none;}
.span-pdfchunk{outline:none;/* white-space:pre; */text-align:justify;display:inline-block;}

italic {font-style: italic;}
bold {font-weight: bold;}

#_source_area {position:fixed;bottom:25px;padding-left:20px; z-index:999;display:none;}
#_class_source {height: 45px;}
.class-input {height:1.6em;border: 1px solid #ccc;border-radius:4px;padding-left:4px;vertical-align: middle;line-height:1.6em;}

#_source_area {
  font-family: "Times New Roman","Source Sans Pro", "Helvetica Neue", Helvetica, Arial, Microsoft YaHei;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.42857143;
  color: #1e262b;/*#58666e;*/
  background-color: transparent;
  line-height: 1.5em;
}


#_findAndReplaceWin checkbox{
	width:16px;height:16px;vertical-align:sub;
}

#_findAndReplaceWin .checkLabel{
	/* padding-top: 6px; */
}

#_findAndReplaceWin .find-and-replace{
	position: absolute;
    width: 99%;
	height: 100%;
}

#_findAndReplaceWin ._searchPanel{
	margin-bottom:10px;font-size:14px;line-height:35px;
	position: absolute;
    width: 100%;
    padding: 0 10px;
}

#_findAndReplaceWin ._searchResultPanel{
	display: none;
	font-size: 14px;
	top: 80px;
	bottom: 33px;
	padding: 10px;
	position: absolute;
	overflow-y: auto;
	min-height: 70%;
}

._searchResultPanel td sup{top: 0.1em;margin-left:2px;margin-right: 2px;}

#_findAndReplaceWin button{
	font-size:14px;padding:1px;padding-bottom:2px;
	background-color: lightgray;
}

._searchResultPanel em{
	color:red;
	font-style: normal;
	background-color: yellow;
}
._searchResultPanel td{
	line-height: 1.7em;
	vertical-align: top;
	border-top: 1px solid #333;
    border-left: 1px solid #333;
}
._searchResultPanel table{
	border-right: 1px solid #333;
       border-bottom: 1px solid #333;
}
._searchResultPanel .td_checkbox{
	width:20px;text-align:center;padding-top:5px;
}
._searchResultPanel .td_matchPart{
	white-space:nowrap;padding-left:5px;padding-right:5px;padding-top:5px;
}
._searchResultPanel .td_matchContent{
	padding-left:5px;padding-top:5px;padding-bottom:5px;
}
._searchResultPanel .match_match{
	color: red;
	background-color: yellow;
}

#_rhhz_copy{
	font-size:0.01pt;
	height:0.1px;
	width:0.1px;
	display:none;
}

._rhhz_contextmenu{
   padding: 1px;
   border: 1px solid #B8CBCB;
   background-color: #fff;
   -moz-box-shadow: 2px 2px 5px #666;
   -webkit-box-shadow: 2px 2px 5px #666;
   box-shadow: 2px 2px 5px #666;
   max-width:300px;
   position:absolute;
   display:none;
   z-index: 9999;
}

.dropdown-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
          box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

._rhhz_contextmenu ul{
	margin-left:-40px;
	margin-top:5px;
}

._rhhz_contextmenu ul li{
	list-style:none;
}

._rhhz_contextmenu .li_separate{
	line-height: 0;
    margin: 3px;
    border-bottom: 1px solid #B8CBCB;
    font-size: 0;
}

._rhhz_contextmenu .menu_a{
	display: block;
    height: 25px;
    line-height: 24px;
    padding: 0 20px 0 25px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    
}

._rhhz_contextmenu .menu_a_sub{
	display: block;
    height: 25px;
    line-height: 24px;
    padding: 0 5px 0 25px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    
}
            
._rhhz_contextmenu .menu_a:hover{
	background: #348CCC;
	color:white;
}

._rhhz_contextmenu .menu_a_sub:hover{
	background: #348CCC;
	color:white;
}

._rhhz_contextmenu .menu_a_sub1:hover{
	background: lightgray;
	color:black;
}


#_pdf_view_edit {height: 1px;}

.cur-selarea-usestyle {height: 35px;font-size: 15px;}
._login-user{border-radius:70%;width:22px;height:22px;}
._login-user-operate{border-radius:70%;width:18px;height:18px;margin-bottom:3px;}

.linebreak-chunk {background-color:#d12424;color:white;display:none;}
.endWithLinebreak{font-size: 12pt;color:red;font-weight:bold;padding-top:2pt;padding-left:2pt;display:none;background-color: palegreen;}
.endWithBr{font-size: 12pt;color:blue;font-weight:bold;padding-top:2pt;padding-left:2pt;display:none;background-color: cyan;}

sup{vertical-align: revert;}

.modifyrecords-content-area sup{vertical-align:baseline;}

#locate_cursor {display:inline;display:none;position:absolute;background-color:red;font-size: 5px;color: aliceblue;}

.index-level-xs{
	z-index: 9;
}
.index-level-sm{
	z-index: 99;
}
.index-level-m{
	z-index: 999;
}
.index-level-md{
	z-index: 9999;
}
.index-level-lg{
	z-index: 99999;
}
.index-level-xl{
	z-index: 999999;
}

#_fontsize_area {position:fixed;bottom:20px;margin-left:-35px;z-index:999;display:none;}
.font-size-item {
	width: 38px;
	height: 38px;
	border: 1px solid #d6d6d6;
	border-radius: 40px;
	float: left;
	padding: 0;
	margin-right: 10px;
	text-align: center;
    line-height: 38px;
    cursor: pointer;
    background: seashell;
    color:#070707;
}
#_eyecolor_area {position:fixed;bottom:20px;margin-left:-35px;z-index:999;display:none;}
.eye-color-item {
	width: 38px;
	height: 38px;
	border: 1px solid #d6d6d6;
	border-radius: 40px;
	float: left;
	padding: 0;
	margin-right: 10px;
}
.eye-color-btn {
	font-size:14px;
	padding:1px;
	margin-bottom:3px;
}
#pdf_view_main{background-color: #ccc8c8;}

.column1{position: fixed;left:70px;}
.column2{position: fixed;right:130px;}
.multicolumn{position: fixed;right:130px;}
.tab-left-column-1{position: fixed;left:60px;}
.tab-right-column-1{position: fixed;right:65px;}
.tab-left-column-2, .tab-right-column-2{position: fixed;right:65px;}

hr{margin-top:0px;margin-bottom:0px;}

.rhhz-range-select{border-bottom: 1px dashed red;background-color: lightyellow;}

canvas {display:none;text-align:center;width:100%;}
#_editlayout_source {padding-top:5px;padding-bottom:5px;}
img.disp-formula{vertical-align: top; height: 100%; /* width:100%; */}
img.inline-formula{width:100%;}
.formulaui-buttons {margin-top: -10px;text-align: right;padding-right: 20px;}
.figure-chunk{width: 100%;}
.figure-template-chunk{width: 100%;vertical-align:baseline;}
.author-figure-chunk{width: 100%;}

.show-guidebook-area {margin-top:15px;}
#_guide_content .wrapper{font-size:14px;font-weight:bold;padding-top:5px;padding-bottom:5px;}
#show_corrects_area{margin: 5; margin-left: 10px; height: 100%;margin-top:20px;}
.correct-tag{border-bottom: 1px solid red;background: bisque;cursor: pointer;}
.correct-tag1{border-bottom: 1px solid red;background: greenyellow;cursor: pointer;}
.correct-tag2{border-bottom: 1px solid red;background: aquamarine;cursor: pointer;}
.correct-tag4{border-bottom: 1px solid red;background: #ffb9d1;cursor: pointer;}
/*单词拼写*/
.correct-panel-title{font-size: 14px;background: bisque;padding: 5px;font-weight: bold;padding-left: 15px;}
/*英文校对检查时间*/
#en_validate_time{font-size: 12px;font-weight: normal;color: #ee1919;padding-left: 10px;}
/*英文校对重新加载图标*/
.reload-en-validate-icon{vertical-align: middle;padding-left: 10px;cursor: pointer;}
/*敏感词 */
.correct-panel-title1{font-size: 14px;background: greenyellow;padding: 5px;font-weight: bold;padding-left: 15px;}
/*自定义错别字 */
.correct-panel-title4{font-size: 14px;background: #ffb9d1;padding: 5px;font-weight: bold;padding-left: 15px;}
/*错别字词 */
.correct-panel-title2{font-size: 14px;background: aquamarine;padding: 5px;font-weight: bold;padding-left: 15px;}
.correct-panel-title5{font-size: 14px;background: #b1deff;padding: 5px;font-weight: bold;padding-left: 15px;}

#correctresults_loaddiv{text-align:center;padding-top:30px;}
.correct-error-part{font-weight: bold;}
#validate_results_area{border:0;margin:-5px;display:none;}
.correctresults-p{padding-left: 10px; font-size: 14px;}
.locate-correct-result-area{border: 1px dashed red;margin-right: 5px;padding: 2px;}
.ending-article{padding-top:1px;margin-top: -600px;}


#articleOutline .autocomplete {
    position: relative;
    display: inline-block;
}
#articleOutline .autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    width: 90%;
    top: 80%;
}
#articleOutline .autocomplete-items div {
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 5px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
#articleOutline .autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
#articleOutline .autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

#editlocPic .autocomplete,#editlocTable .autocomplete {
    position: relative;
    display: inline-block;
}
#editlocPic .autocomplete-items,#editlocTable .autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    width: 50%;
}
#editlocPic .autocomplete-items div,#editlocTable .autocomplete-items div {
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 5px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
#editlocPic .autocomplete-items div:hover,#editlocTable .autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
#editlocPic .autocomplete-active,#editlocTable .autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

#onlineSplitPicArea {margin-top: 10px; margin-left: 10px;}
#onlineSplitPicArea .edit-title{padding-top:15px;}
#onlineSplitPicArea .td-input{margin: 5px 0;width: 95%;}

#_source_area .autocomplete {
  position: relative;
  display: inline-block;
}
#_source_area .autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  width: 22%;
  max-height: 300px;
  overflow-y: auto;
  /* top: 100%; */
}
#_source_area .autocomplete-items div {
  padding: 10px;
  padding-top: 0px;
    padding-bottom: 0px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
#_source_area .autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
#_source_area .autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

#articleMeta_area{margin-top:20px;line-height:2em;}
#articleMeta_area .titleCn{font-size: 16px;font-weight:bold;margin-bottom:10px;}
#articleMeta_area .titleEn{font-size: 16px;font-weight:bold;margin-bottom:10px;margin-top:20px;}
#articleMeta_area .authorCn{font-size: 14px;margin-bottom:10px;}
#articleMeta_area .authorEn{font-size: 14px;margin-bottom:10px;}
#articleMeta_area .affCn{font-size: 14px;margin-bottom:10px;}
#articleMeta_area .affEn{font-size: 14px;margin-bottom:10px;}
#articleMeta_area .keywordCn,#articleMeta_area .keywordEn{font-size: 14px;margin-bottom:10px;}
#articleMeta_area .fundsCn,#articleMeta_area .fundsEn{font-size: 14px;margin-bottom:10px;}
#articleMeta_area .doi{font-size: 14px;margin-bottom:10px;}
#articleMeta_area sup {top:-0.2em;}

.online-edit-pic-area td{width: 60px;font-size: 14px;line-height: 1.2em;}
.imgonline-edittype{color:darkgoldenrod !important;}

a.cke_button_disabled .cke_button_icon, a.cke_button_disabled .cke_button_arrow {
    opacity: 1;
}

.command-para-tip{font-weight: 550; color: black; font-size: 15px; padding:4px 2px;background-color:#edf1f2;margin-top:10px;padding-left:8px;}
.command-para-tip-detail{line-height:1.6em;}

#_rhhz_contextmenu_tr, #_rhhz_contextmenu_td{display: none;}

.page-bottom-redline{position:absolute;width:100%;display:none;}

.select-area div.span-pdfchunk{background-color: yellow !important;}
.select-area div.pdf-chunk{background-color: yellow !important;}
.pdf-area[class*="pdf-sub-area select-area"]{background-color: yellow !important;}

.scale-page{
    position: absolute;
    right: 20px;
    border-right-width: 0;
    margin-right: 10px;
    bottom: 10px;
    display: block;
}

.edit-layer-area {
	position: absolute;
    overflow-y: auto;
    overflow-x: hidden;
}
.edit-layer-area::-webkit-scrollbar {width: 0;}
.edit-layer-area::-webkit-scrollbar {
  -webkit-appearance: none;
}

.edit-layer-area inline-formula{display: none;}

.edit-layer-div sup {vertical-align: super;}
.edit-layer-div sub {vertical-align: sub;}

overline{text-decoration:overline;}

.editor-formula-label {    
	display: inline;
    position: absolute;
    left: 20px;
    color: red;
    font-size: 14px;
    font-weight: bold;
}

div.pdf-area[xmlid*="_background_"] {z-index:-999;}
div.pdf-area[xmlid^="background_"] {z-index:-999;}


div[xmlid^="author"] div[style*="rise-type:super"] {line-height: var(--rhfontsize)}
div[style*="rise-type:sub"] {line-height: var(--rhfontsize)}

div.pdf-chunk[xmlid="abstractfig"] {margin-top:0pt !important;}
.ace_search_options span.checked {background: aliceblue;}
#_guide_content {overflow-x: auto;}

div.pdf-chunk[style*="text-decoration-style:double"]{display:inline-flex;text-underline-offset:4.5pt !important;}
div.pdf-chunk[style*="border-bottom-style:"][style*="dashed"]{padding-bottom:0pt !important;border-width:2pt !important;}
div.pdf-chunk[style*="text-decoration-style:wavy"]{display:inline-flex;}
div.pdf-chunk[xmlid^="Table"][xmlid$="_right"]{margin-top:-4pt;}
div.pdf-chunk[xmlid^="Suppl-Table"][xmlid$="_right"]{margin-top:-4pt;}
div.pdf-chunk[xmlid^="Table"][xmlid$="_right"]{margin-top:-4pt;}
div.pdf-chunk[xmlid^="Suppl-Table"][xmlid$="_right"]{margin-top:-4pt;}
div.pdf-chunk[xmlid^="TableContent_"][xmlid$="_right"]{margin-top: 0pt;}
div.pdf-chunk[xmlid^="TableContent_"][xmlid$="_left"]{margin-top: 0pt;}

div.pdf-chunk[style*="boxed:true"]{border: 1px solid black;}

/* 编辑器中附加样式 */
span.formula>img{margin-bottom:5pt;}

boxed{border:1px solid black;}
.referto-error {background-color:lightpink;}


div.pdf-chunk[chunktype="disp-formula"][style*="background:red"]>img.disp-formula{width:var(--rhformulawidth) !important;}

#view_userlog_area {
	vertical-align: top;
	/* float:right; 
	*/
	padding-left:10px;
	width: 200px;
	display: inline-block;
    padding-top:20px;
    /* margin-left:10px; */
}

#view_userlog_area .scroll-container {  
    position: absolute;  
    overflow: hidden;  
    height: 66px; /* 设置滚动容器的高度 */ 
    max-width: 350px;
    top: 25px; 
    text-align: left;
    padding-right: 20px;
}  

#view_userlog_area .typeset_user_operate {  
    position: absolute;  
    overflow: hidden;  
    height: 20px;
    max-width: 350px;
    top: 5px; 
    text-align: left;
    padding-right: 20px;
}  
  
#view_userlog_area .list {  
    list-style: none;  
    padding: 0;  
    margin: 0;  
    position: relative;  
    top: 0;  
    left: 0;  
    transition: top 0.5s ease-in-out; /* 平滑滚动效果 */  
}  
  
#view_userlog_area .list li {  
    padding: 2px;  
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
}


p.modifyrecords-content-area table {
	width:100%;
	border: 1px solid #999 !important;
}

p.modifyrecords-content-area td {
    border: 1px solid #999 !important;
    word-break: break-all; 
}











#author_editor_toolbar {
	display: inline-block;
	padding:5px;
	/* border: 1px solid #e7e4e0;;
    border-radius: 5px; */
    margin: 10px 5px 14px 3%;
	/* margin-left:0px; */
	/* margin-left: -200px; */
	border-right: 1px solid #e5e0e0;
}

#author_knowledge_toolbar button {/*font-weight: bold;*/background-color: #e4e4e4;}

#author_knowledge_toolbar {
	vertical-align: top;
	max-height:60px;
	overflow-y:auto;
	text-align:center;
	display: inline-block;
	padding:5px;
    padding-top:2px;
    margin: 15px;
    margin-top:10px;
    margin-bottom: 0px;
    margin-left:0px;
    line-height:40px;
    margin-right: 27%;
}

#author_knowledge_toolbar li{
	line-height: 1.6em;
    /* padding-left: 10px; */
    min-width: 120px;
}


#author_knowledge_toolbar .pull-right-xs {
    float: right !important;
  }
  
#author_knowledge_toolbar .bg-danger {
    color: #ffffff;
    background-color: #f05050;
}

#author_knowledge_toolbar .badge.up {
    position: relative;
    top: -10px;
    margin-left: -10px;
    margin-right: -5px;
}

#author_knowledge_toolbar .badge-sm {
    padding: 2px 5px !important;
    font-size: 85%;
}

#author_knowledge_toolbar .badge {
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#author_knowledge_toolbar .badge {
    display: inline-block;
    min-width: 10px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 10px;
}

#_page_type_validate_area p:hover {
      background-color: #f0f0f0;
      transition: background-color 0.2s;
}
   
.r6o-editor {text-align-last: auto !important;}

.r6o-tag {display: none;}


svg.a9s-annotationlayer .a9s-selection .a9s-outer, 
svg.a9s-annotationlayer .a9s-annotation .a9s-outer {
    display:none;
}
svg.a9s-annotationlayer .a9s-handle .a9s-handle-outer {
    display:none;
}
/* 虚线边框 */
  svg.a9s-annotationlayer .a9s-selection .a9s-inner,
  svg.a9s-annotationlayer .a9s-annotation .a9s-inner  {
    stroke-width:1;
    stroke:red;
    stroke-dasharray:5;
  }


/* 每个标签可配不同背景色 */
.rh-highlight-city { background: #ffc17d; }
.rh-highlight-postal-code { background: #f5d9f0; }
.rh-highlight-country { background: #f59e3e; }
.rh-highlight-institution { background: #ffe8d2; }
.rh-highlight-dept { background: #f2e3b9; }
.rh-highlight-state { background: #ffb15c; }
.rh-highlight-person-group { background: #cdf4ff; }
.rh-highlight-article-title { background: #ffdaf0; }
.rh-highlight-source { background: #e2dbfe; }
.rh-highlight-year { background: #b0f4aa; }
.rh-highlight-volume { background: #baf3b6; }
.rh-highlight-issue { background: #c8f6d9; }
.rh-highlight-fpage { background: #c4edc8; }
.rh-highlight-lpage { background: #c4edc8; }
.rh-highlight-month { background: #c7f5c3; }
.rh-highlight-publisher-loc { background: #ffc17d; }
.rh-highlight-publisher-name { background: #ffe8d2; }
.rh-highlight-conf-name { background: #ffe8d2; }
.rh-highlight-funding-source { background: #e3f9f6; }
.rh-highlight-award-id { background: #f5eabf; }
/* 隐藏标签本身（仅渲染层） */
.rh-hidden-tag { color: transparent !important; text-shadow: none !important; background: none !important; }













































/* ===== 开始 ： 多级响应式缩放（互斥断点，避免叠加） ===== */

/* 默认情况下（窗口宽度 > 1600px）不做缩放 */
#pdf_view_toolbar .top-manuscript-info {
  font-size: 100%;
  padding-top: 20px;
}

/* 默认样式（>1600px） */
.scale-page {
  position: absolute;
  right: 20px;
  border-right-width: 0;
  margin-right: 10px;
  bottom: 10px;
  display: block;
}

.scale-page img {
  width: 30px;
  height: auto;
}

/* ===== 第一级：窗口宽度 1401px ~ 1600px ===== */
@media screen and (min-width: 1401px) and (max-width: 1600px) {
  #xmleditor_toolbar,#author_editor_toolbar {
    zoom: 0.9;
  }
  
  #_only_find_area,#knowledge_toolbar,#author_knowledge_toolbar {
    zoom: 0.9;
  }
  
  .layout-panel-west {
    font-size: 88% !important;
  }
  .layout-panel-west * {
    font-size: inherit !important;
  }

  .layout-panel-east {
    font-size: 88% !important;
  }
  .layout-panel-east * {
    font-size: inherit !important;
  }

  .layout-panel-south {
    font-size: 88% !important;
  }
  .layout-panel-south * {
    font-size: inherit !important;
  }

  .scale-page {
    right: 18px !important;
    margin-right: 9px !important;
    bottom: 9px !important;
  }

  .scale-page img {
    width: 27px !important;
    height: auto;
  }
  
  #_tableEditWin{
  	height: 520px !important;
  }
  
}


/* ===== 第二级：窗口宽度 1201px ~ 1400px ===== */
@media screen and (min-width: 1201px) and (max-width: 1400px) {

  #pdf_view_toolbar .top-manuscript-info {
    font-size: 90% !important;
    padding-top: 18px !important;
  }
  
  #pdf_view_toolbar {
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 6px 0;
    margin: 0;
    box-sizing: border-box;
  }

  .layout-panel-west {
    font-size: 78% !important;
  }
  .layout-panel-west * {
    font-size: inherit !important;
  }

  .layout-panel-east {
    font-size: 78% !important;
  }
  .layout-panel-east * {
    font-size: inherit !important;
  }

  .layout-panel-south {
    font-size: 78% !important;
  }
  .layout-panel-south * {
    font-size: inherit !important;
  }

  .scale-page {
    right: 16px !important;
    margin-right: 8px !important;
    bottom: 8px !important;
  }

  .scale-page img {
    width: 24px !important;
    height: auto;
  }

  #xmleditor_toolbar,#author_editor_toolbar {
    zoom: 0.8;
  }

  #_only_find_area,#knowledge_toolbar,#author_knowledge_toolbar {
    zoom: 0.8;
  }
  
  #_tableEditWin{
  	height: 450px !important;
  }

}


/* ===== 第三级：窗口宽度 1025px ~ 1200px ===== */
@media screen and (min-width: 1025px) and (max-width: 1200px) {

  #pdf_view_toolbar .top-manuscript-info {
    font-size: 80% !important;
    padding-top: 16px !important;
  }
  
  #pdf_view_toolbar {
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 4px 0;
    margin: 0;
    box-sizing: border-box;
  }

  .layout-panel-west {
    font-size: 70% !important;
  }
  .layout-panel-west * {
    font-size: inherit !important;
  }

  .layout-panel-east {
    font-size: 70% !important;
  }
  .layout-panel-east * {
    font-size: inherit !important;
  }

  .layout-panel-south {
    font-size: 70% !important;
  }
  .layout-panel-south * {
    font-size: inherit !important;
  }

  .scale-page {
    right: 14px !important;
    margin-right: 7px !important;
    bottom: 7px !important;
  }

  .scale-page img {
    width: 21px !important;
    height: auto;
  }

  #xmleditor_toolbar,#author_editor_toolbar {
    zoom: 0.7;
  }

  #_only_find_area,#knowledge_toolbar,#author_knowledge_toolbar {
    zoom: 0.7;
  }
  
  #_tableEditWin{
  	height: 430px !important;
  }

}


/* ===== 第四级：窗口宽度 769px ~ 1024px ===== */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  #pdf_view_toolbar .top-manuscript-info {
    font-size: 72% !important;
    padding-top: 14px !important;
  }
  
  #pdf_view_toolbar {
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 3px 0;
    margin: 0;
    box-sizing: border-box;
  }

  .layout-panel-west {
    font-size: 62% !important;
  }
  .layout-panel-west * {
    font-size: inherit !important;
  }

  .layout-panel-east {
    font-size: 62% !important;
  }
  .layout-panel-east * {
    font-size: inherit !important;
  }

  .layout-panel-south {
    font-size: 62% !important;
  }
  .layout-panel-south * {
    font-size: inherit !important;
  }

  .scale-page {
    right: 12px !important;
    margin-right: 6px !important;
    bottom: 6px !important;
  }

  .scale-page img {
    width: 18px !important;
    height: auto;
  }

  #xmleditor_toolbar,#author_editor_toolbar {
    zoom: 0.6;
  }

  #_only_find_area,#knowledge_toolbar,#author_knowledge_toolbar {
    zoom: 0.6;
  }
  
  #_tableEditWin{
  	height: 440px !important;
  }

}

/* ===== 第五级：窗口宽度 0px ~ 768px ===== */
@media screen and (max-width: 768px) {

  #pdf_view_toolbar .top-manuscript-info {
    font-size: 65% !important;
    padding-top: 13px !important;
  }
  
  #pdf_view_toolbar {
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 2px 0;
    margin: 0;
    box-sizing: border-box;
  }

  .layout-panel-west {
    font-size: 55% !important;
  }
  .layout-panel-west * {
    font-size: inherit !important;
  }

  .layout-panel-east {
    font-size: 55% !important;
  }
  .layout-panel-east * {
    font-size: inherit !important;
  }

  .layout-panel-south {
    font-size: 55% !important;
  }
  .layout-panel-south * {
    font-size: inherit !important;
  }

  .scale-page {
    right: 10px !important;
    margin-right: 5px !important;
    bottom: 5px !important;
  }

  .scale-page img {
    width: 15px !important;
    height: auto;
  }

  #xmleditor_toolbar,#author_editor_toolbar {
    zoom: 0.5;
  }

  #_only_find_area,#knowledge_toolbar,#author_knowledge_toolbar {
    zoom: 0.5;
  }
  
  #_tableEditWin{
  	height: 410px !important;
  }

}


/* ===== 结束 ： 多级响应式缩放 ===== */


/* ========== 新格式规范性校验页面（newFormatvalidate.html，nfv = newFormatvalidate 简写） ========== */
/* 全局容器（高度由 toolbar.js 设置） */
.nfv-page { padding: 10px; font-family: "Microsoft YaHei", sans-serif; font-size: 13px; box-sizing: border-box; }

/* 可滚动外层（高度为父容器减去工具栏高度，内容超出时右侧出现滚动条） */
.nfv-scroll-area { height: calc(100% - 60px); overflow: auto; }
.nfv-scroll-area::-webkit-scrollbar {
    -webkit-appearance: none;
}
.nfv-scroll-area::-webkit-scrollbar:vertical {
    width: 17px;
}

/* 顶部工具栏（在滚动区域外，始终固定显示） */
.nfv-toolbar { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin-bottom: 10px; padding: 4px 0; }
.nfv-toolbar-link { cursor: pointer; color: #0eb3e3; }
.nfv-toolbar-link:hover { color: #1a8aad; }
.nfv-toolbar-revalidate { color: #e74c3c; }
.nfv-toolbar-revalidate:hover { color: #c0392b; }
.nfv-toolbar .nfv-validate-time { flex-basis: 100%; display: inline-flex; align-items: center; font-size: 12px; color: red; white-space: nowrap; }

/* 一级折叠面板 */
.nfv-panel { margin-bottom: 8px; border: 1px solid #d0d0d0; border-radius: 5px; overflow: hidden; }
.nfv-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 14px; cursor: pointer; user-select: none;
    font-size: 14px; font-weight: bold; border-bottom: 1px solid transparent;
    transition: background .2s;
}
.nfv-panel-header:hover { filter: brightness(0.96); }
/* 名称区可收缩并截断，计数区不收缩且强制单行：
   英文大类名（如 ChapterAndFormuladata validation）过长时若任其折行，会出现有的面板一行、有的两行，右侧计数徽章高低不齐 */
.nfv-panel-header .nfv-left { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; }
/* 标题文本必须包成自己的元素才能用 ellipsis 截断：裸文本节点作为匿名 flex item 不受 overflow 控制 */
.nfv-panel-header .nfv-name, .nfv-sub-header .nfv-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nfv-panel-header .nfv-arrow {
    display: inline-block; width: 18px; text-align: center;
    transition: transform .25s; font-size: 12px;
}
.nfv-panel-header .nfv-arrow.open { transform: rotate(90deg); }
.nfv-cat-icon {
    display: inline-block; width: 20px; text-align: center; flex: none;
    font-size: 14px; line-height: 1; color: #4a77b0;
}
.nfv-cat-icon.nfv-cat-icon-fail { color: #e74c3c; }
.nfv-panel-header .nfv-count {
    margin-left: auto; font-size: 12px; font-weight: normal; color: #666;
    background: rgba(255,255,255,.65); border-radius: 10px; padding: 1px 9px;
    /* min-width 使长短计数（3 小类 / 12 Sub-categories）保持统一观感，过长时只偷名称区的宽度，自右缘对齐不变 */
    flex: none; white-space: nowrap; min-width: 4.5em; text-align: center;
}
/* 交替底色 */
.nfv-panel:nth-child(odd)  .nfv-panel-header { background: #dceefb; }
.nfv-panel:nth-child(even) .nfv-panel-header { background: #ececec; }
.nfv-panel.nfv-open .nfv-panel-header { border-bottom-color: #d0d0d0; }

.nfv-panel-body { display: none; padding: 6px 10px 10px; background: #fafafa; }
.nfv-panel.nfv-open .nfv-panel-body { display: block; }
.nfv-static-section.nfv-open .nfv-panel-body { display: block; }

/* 二级折叠面板 */
.nfv-sub { margin: 6px 0; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.nfv-sub-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 12px; cursor: pointer; user-select: none;
    background: #f5f9fc; font-size: 13px; font-weight: 600; color: #333;
    transition: background .2s;
}
.nfv-sub-header:hover { background: #eaf3fa; }
.nfv-sub-header .nfv-left { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.nfv-sub-header .nfv-arrow { display: inline-block; font-size: 11px; margin-right: 6px; flex: none; transition: transform .25s; }
.nfv-sub-header .nfv-arrow.open { transform: rotate(90deg); }
.nfv-sub-header .nfv-count {
    margin-left: auto; font-size: 11px; font-weight: normal; color: #888;
    flex: none; white-space: nowrap;
}
.nfv-fail-count { color: #ff0000; margin-right: 3px; }
.nfv-success-count { color: #28a745; }
.nfv-sub-body { display: none; padding: 4px 8px 8px; background: #fff; }
.nfv-sub.nfv-open .nfv-sub-body { display: block; }
.nfv-item .nfv-sub-body { display: block; padding: 2px 0; font-size: 12px; line-height: 1.85; }

/* 链接样式 */
.nfv-card-link { cursor: pointer; color: #31b0d5; }
.nfv-card-link:hover { color: #1a8aad; }

/* 可点击项 */
.nfv-clickable { cursor: pointer; }

/* 加载指示 */
.nfv-loading-wrapper { text-align: center; display: none; margin: 20px; }
.nfv-loading-container { padding: 8px; }
.nfv-loading-img { width: 50px; padding-left: 10px; }
.nfv-loading-text { padding-top: 10px; }

/* 展开/收起详情按钮 */
.nfv-toggle-btn { font-size: 18px; font-weight: bold; color: blue; cursor: pointer; }

/* 详情内容 */
.nfv-detail-content { color: black; }

/* 机构校验建议 */
.nfv-suggest { color: #27ae60; }
.nfv-ignore-link { cursor: pointer; color: #31b0d5; }

/* 三级校验项行内显示 */
.nfv-item-inline { display: inline; margin: 0; padding: 0; border: none; background: none; border-radius: 0; word-break: break-all; }
.nfv-item-inline.nfv-pass { color: #0f100f; }
.nfv-item-inline.nfv-fail { color: #ff0000; }

/* 空提示 */
.nfv-empty { padding: 8px 12px; color: #999; font-style: italic; font-size: 12px; }

/* PDF / 字体 / 公式 / 敏感词 区块 */
.nfv-static-section { margin-bottom: 8px; border: 1px solid #d0d0d0; border-radius: 5px; overflow: hidden; }
.nfv-static-section .nfv-panel-header { font-size: 13px; }
.nfv-static-section:nth-child(odd)  .nfv-panel-header { background: #dceefb; }
.nfv-static-section:nth-child(even) .nfv-panel-header { background: #ececec; }

/* 静态区校验项：每条独占一行，红色 */
.nfv-static-item { display: block; color: red; margin-bottom: 4px; word-break: break-all; font-size: 12px; line-height: 1.85; }
/* 静态区无问题提示：字体与校验明细一致，颜色为默认黑色 */
.nfv-static-tip { display: block; margin-bottom: 4px; word-break: break-all; font-size: 12px; line-height: 1.85; }

/* ========== 重复语句：新版卡片 ========== */
.nfv-dup-card { display: block; margin: 6px 0; padding: 6px 10px; border: 1px solid #f0c4c4; border-left: 3px solid #ff0000; border-radius: 4px; background: #fff8f8; color: #ff0000; font-size: 12px; line-height: 1.85; word-break: break-all; }
.nfv-dup-head { display: flex; align-items: center; }
.nfv-dup-title { font-weight: 600; color: #ff0000; }
.nfv-dup-head .nfv-toggle-btn { margin-left: 6px; }
.nfv-dup-body { margin-top: 2px; }
.nfv-dup-pos { color: #444; }
/* 位置行只有占位符生成的片段（句序号、段落预览）可点击，观感与旧版 .nfv-card-link 一致；整行不再做链接态提示 */
.nfv-dup-link { cursor: pointer; color: #31b0d5; }
.nfv-dup-link:hover { color: #1a8aad; }
.nfv-dup-actions { margin-top: 4px; }
.nfv-dup-btn { display: inline; color: #5bc0de; cursor: pointer; font-size: 12px; line-height: 20px; }
.nfv-dup-btn:hover { opacity: .75; }
/* 查看/忽略/取消忽略：仅文字着色（无外框、无底色）浅蓝 / 淡红 / 黄 */
.nfv-dup-btn-view { color: #5bc0de; }
.nfv-dup-btn-ignore { color: #d9534f; }
.nfv-dup-btn-unignore { color: #f0ad4e; }

/* ========== 重复语句：左右对比弹窗 ========== */
.nfv-dup-modal-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: transparent; pointer-events: none; z-index: 19891099; display: flex; align-items: center; justify-content: center; }
.nfv-dup-modal { width: 860px; max-width: 94%; max-height: 60vh; display: flex; flex-direction: column; background: #fff; border: 1px solid #d0d0d0; border-radius: 6px; box-shadow: 0 6px 28px rgba(0,0,0,.28); overflow: hidden; color: #333; pointer-events: auto; }
.nfv-dup-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: #f5f9fc; border-bottom: 1px solid #e0e0e0; font-size: 14px; font-weight: 600; cursor: move; -webkit-user-select: none; user-select: none; }
.nfv-dup-modal-close { cursor: pointer; font-size: 20px; line-height: 1; color: #888; }
.nfv-dup-modal-close:hover { color: #333; }
.nfv-dup-modal-body { padding: 12px 16px; overflow-y: auto; }
.nfv-dup-repeat { margin-bottom: 10px; padding: 6px 10px; background: #fff8f8; border: 1px solid #f0c4c4; border-radius: 4px; color: #ff0000; font-size: 13px; word-break: break-all; }
.nfv-dup-cols { display: flex; gap: 12px; }
.nfv-dup-col { flex: 1 1 0; min-width: 0; border: 1px solid #e0e0e0; border-radius: 4px; padding: 8px 10px; }
/* 弹窗左右列可点击定位到正文 */
.nfv-dup-col-click { cursor: pointer; transition: background .15s, border-color .15s; }
.nfv-dup-col-click:hover { background: #f5faff; border-color: #5bc0de; }
.nfv-dup-col-title { font-size: 12px; font-weight: 600; color: #666; margin-bottom: 6px; }
.nfv-dup-col-text { font-size: 13px; line-height: 1.9; color: #333; word-break: break-all; }
.nfv-dup-modal-footer { display: flex; justify-content: flex-end; padding: 10px 16px; border-top: 1px solid #e0e0e0; background: #fafafa; }

/* 高亮：左侧淡蓝，右侧淡粉 */
.nfv-dup-mark-blue { background: #cfe6ff; color: #08477f; padding: 0 1px; border-radius: 2px; }
.nfv-dup-mark-pink { background: #ffd0e0; color: #8a0f4b; padding: 0 1px; border-radius: 2px; }
.nfv-dup-empty { color: #999; font-style: italic; }
/* ========== 新格式规范性校验页面样式结束 ========== */

/* ========== 字数悬浮提示（不含文献） ========== */
.wc-tip-wrap { position: relative; cursor: default; }
.wc-tip {
    display: none;
    position: fixed;
    bottom: 26px;
    right: 30px;
    padding: 2px 8px;
    white-space: nowrap;
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    color: #333;
    font-size: inherit;
    font-family: inherit;
    line-height: 1.4;
    z-index: 19891015;
    pointer-events: none;
}
.wc-tip-wrap:hover .wc-tip { display: block; }


