/* Legacy .newversion_box starts at zero height; reviews size the card to its content. */
#review-tools .hyperTranslate_content{position:fixed;z-index:10010;height:auto;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px)}
#review-tools .cssNewScrollBox{max-height:calc(100vh - 160px);overflow:auto}
#review-tools .cssWordBoxContant{z-index:10000;top:71px;height:calc(100% - 71px)}
/* Match the legacy review toolbar's bottom alignment. */
#review-tools .cssWordBoxContant .icon_box{right:205px;top:auto;bottom:0}
/* Review shells share the footer, but do not show its consultation/WeChat group. */
.sentence-review-page .exam-quick-tools .exam-quick-group{display:none}
#review-tools .cssVocabularyBox{box-shadow:none}
#review-tools[data-word-box="0"] .icon_vocabularyBox{display:none}
/* The legacy toolbar has font-size:0 and positions notes using old page classes. */
#review-tools .note-show{position:fixed;top:auto;bottom:24px;right:73px;width:330px;max-width:calc(100vw - 97px);max-height:calc(100vh - 48px);overflow-y:auto;box-sizing:border-box;z-index:10010;font-size:14px;color:#494949}
#review-tools .note-show .note-title input,#review-tools .note-show .note-text textarea{box-sizing:border-box;font:14px/1.43 Arial,"Microsoft YaHei",sans-serif;color:#494949;background:#fff}
#review-tools .note-show .note-text textarea{display:block;max-height:calc(100vh - 250px);min-height:60px}
#review-tools .note-show .word-count{padding-left:0;text-align:right}
#review-tools .note-show .note-save .yes-btn{background:#ff6d00;cursor:pointer}
#review-tools .cssNewWordArea,#review-tools .cssDifficultWordArea{position:static;height:auto;max-height:none}
#review-tools .cssNewWordTitle,#review-tools .cssDifficultWordTitle,#review-tools .cssNewWordRadio,#review-tools .cssDifficultWordRadio{position:static}
#review-tools .cssScrollBox{overflow:auto;height:calc(100% - 45px)}
#review-tools .cssNewWordArea{min-height:214px}
#review-tools .cssLearnWord{box-sizing:border-box;padding:0;line-height:45px}
.sr-columns .review-pointword{font-weight:700}
.sr-columns.review-hide-pointwords .review-pointword{font-weight:inherit}

/* The review script supplies the labels; suppress the legacy CSS-generated copies. */
#review-tools .nohyperTranslate_text .no_txt::before,#review-tools .nohyperTranslate_text .no_btn::before{content:none}
#review-tools .nohyperTranslate_text .no_txt,#review-tools .nohyperTranslate_text .no_btn{text-align:center}

/* Keep saved vocabulary visible in every review shell, independent of legacy page selectors. */
.sr-columns [data-review-material] .review-newword{font-style:normal;background-color:#fff2cc;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.sr-columns.review-hide-newwords [data-review-material] .review-newword{background-color:transparent}
