
/*! BSCRS KEYWORD CHIP + UTF8 FIX - v20260830keywords */
html body.fascrs-reference-mode .keyword-chip-field .keyword-chip-box{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    flex-wrap:wrap!important;
    min-height:54px!important;
    border:1px solid #d9e6f3!important;
    background:#fff!important;
    border-radius:16px!important;
    padding:10px!important;
    box-shadow:0 8px 20px rgba(7,20,63,.04)!important;
}
html body.fascrs-reference-mode .keyword-chip-field .keyword-chip-box:focus-within{
    border-color:#10b9c9!important;
    box-shadow:0 0 0 4px rgba(16,185,201,.12)!important;
}
html body.fascrs-reference-mode .keyword-chips{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
}
html body.fascrs-reference-mode .keyword-chip,
html body.fascrs-reference-mode .article-keyword-chips a{
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    border:1px solid #bfe9f0!important;
    background:#ecfeff!important;
    color:#0f4f60!important;
    border-radius:999px!important;
    padding:7px 10px!important;
    font-weight:900!important;
    text-decoration:none!important;
    cursor:pointer!important;
    transition:transform .18s ease,border-color .18s ease,background .18s ease!important;
}
html body.fascrs-reference-mode .keyword-chip:hover,
html body.fascrs-reference-mode .article-keyword-chips a:hover{
    transform:translateY(-2px)!important;
    background:#dffaff!important;
    border-color:#10b9c9!important;
}
html body.fascrs-reference-mode .keyword-chip b{
    font-size:15px!important;
    color:#0d4fa3!important;
}
html body.fascrs-reference-mode #keywordInput{
    flex:1 1 260px!important;
    border:0!important;
    outline:0!important;
    padding:9px!important;
    min-width:220px!important;
    box-shadow:none!important;
    background:transparent!important;
}
html body.fascrs-reference-mode .keyword-suggestion-row{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    margin-top:10px!important;
}
html body.fascrs-reference-mode .keyword-suggestion-row button{
    border:1px solid #d9e6f3!important;
    background:#f8fbff!important;
    color:#0d4fa3!important;
    border-radius:999px!important;
    padding:7px 10px!important;
    font-weight:850!important;
    cursor:pointer!important;
}
html body.fascrs-reference-mode .keyword-suggestion-row button:hover{
    background:#eef7ff!important;
    border-color:#10b9c9!important;
}
html body.fascrs-reference-mode .article-keyword-chips{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
}
html body.fascrs-reference-mode .article-keyword-chips.small a{
    padding:5px 8px!important;
    font-size:12px!important;
}
html body.fascrs-reference-mode .related-keyword-papers .related-paper-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;
    gap:12px!important;
}
html body.fascrs-reference-mode .related-keyword-papers .related-paper-grid a{
    display:grid!important;
    gap:7px!important;
    padding:15px!important;
    background:#f8fbff!important;
    border:1px solid #d9e6f3!important;
    border-radius:16px!important;
    text-decoration:none!important;
    transition:transform .18s ease,border-color .18s ease!important;
}
html body.fascrs-reference-mode .related-keyword-papers .related-paper-grid a:hover{
    transform:translateY(-3px)!important;
    border-color:#10b9c9!important;
}
html body.fascrs-reference-mode .related-keyword-papers strong{
    color:#07143f!important;
}
html body.fascrs-reference-mode .related-keyword-papers span,
html body.fascrs-reference-mode .related-keyword-papers small{
    color:#52627a!important;
}
@media(max-width:680px){
    html body.fascrs-reference-mode #keywordInput{
        flex-basis:100%!important;
        min-width:0!important;
    }
}
