body{
    /* background-image: url(/images/bg.png); */
    background-image: url(/images/bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
::-webkit-scrollbar {
    display: none;
}
ul,li{
    list-style: none;
}
i{
    margin-right: 0.12rem;
}
.titlestyle{
    color: #007BFF;
    cursor: pointer;
    font-size: 0.24rem;
    margin-left: 1.54rem;
    line-height: 0.6rem;
}
.loginstyle{
    /* background-image: url(/images/loginbg.png); */
    background-image: url(/images/loginbg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.annv{
    font-size: 0.14rem;
}
.annvzu{
    margin-right: 1.12rem;
}
.annvzu button{
    margin-left: 0.63rem;
}
.fg{
    height: 0.2rem;
}
.nav-links {
    height: 0.6rem;
    position: relative;
    margin-right: auto;
    margin-left: 0.52rem;
}
.nav-links li {
    margin: 0 0.33rem;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.16rem;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
    line-height: 0.6rem;
    vertical-align: top;
}
.nav-links a:hover {
    color: #007BFF;
}
.nav-links a.active {
    color: #007BFF;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.05rem;
    background: #007BFF;
    border-radius: 0.5rem;
    transition: width 0.3s ease;
}
.nav-links a.active::after {
    width: 100%;
}
/* 首页 */
.containers{
    display: none;
    width: 66%;
    margin: auto;
}
.containers.active{
    display: block;
}
.homepic{
    width: 5.83rem;
    height: 3.27rem;
    margin-top: 0.73rem;
}
.homepic img{
    width: 100%;
    height: 100%;
    display: block;
}
.wenben{
    font-size: 0.3rem;
    margin: 0.64rem 0;
}
.wenj{
    font-size: 0.14rem;
}
.wenj text{
    line-height: 0.45rem;
}
.homelist{
    margin: auto;
    margin-top: 0.99rem;
}
.homeitem{
    width: 4rem;
    height: 2.4rem;
    border-radius: 0.08rem;
    background: rgba(229, 238, 255, 0.29);
    border: 1px solid #E6EEFC;
    padding: 0.28rem 0.32rem 0;
    vertical-align: top;
}
.hangatitle{
    font-size: 0.18rem;
}
.hangatitle div{
    width: 0.25rem;
    height: 0.25rem;
    font-size: 0.15rem;
    border-radius: 50%;
    background: #E6EEFC;
    color: #007BFF;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-right: 0.12rem;
}
.hangatitle div i{
    margin-right: 0;
}
.tybtn{
    width: 1.06rem;
    height: 0.28rem;
    border-radius: 0.16rem;
    background: #6C7F99;
	font-size: 0.12rem;
    line-height: 0.28rem;
    color: #ffffff;
    text-align: center;
    font-weight: 400;
    cursor: pointer;
}
.tybtn a{
    text-align: center;
}
.tybtn a i {
    margin-left: 0.1rem;
    margin-right: 0;
}
.hangb{
    font-size: 0.12rem;
    line-height: 0.4rem;
    margin-top: 0.32rem;
}
.white_bg{
    background-color: #ffffff;
}
/* 知识库 */
.zhishititle{
    font-size: 0.3rem;
    margin: 0.37rem 0;
}
.kuang{
    padding: 0.46rem 0.74rem;
}
.bbt{
    margin-bottom: 0.3rem!important;
}
.titles{
    font-size: 0.14rem;
    margin-right: 0.26rem;
}
.upbtn{
    width: 1.5rem;
    height: 0.36rem;
    border-radius: 0.04rem;
    font-size: 0.14rem;
    text-align: center;
}
.tishi{
    margin-top: 0;
    font-size: 0.12rem;
    margin-left: 0.2rem;
}
/* 文献综述/辅助工具 */
/* 初次进入 */
.use-container{
    width: 3.5rem;
    height: 91.5vh;
    position: relative;
    display: none;
}
.use-container img{
    width: 100%;
    height: 100%;
    display: block;
}
.use-container img.closedico{
    width: 0.2rem;
    height: 0.2rem;
    display: block;
    position: absolute;
    top: 0.08rem;
    right: 0.09rem;
    z-index: 1;
    cursor: pointer;
}
/* 左侧面板样式 */
.sidebar {
    width: 2.6rem;
    background-color: #FAFBFD;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border-right: 1px solid  #E6EEFC;
}
.sidebar.collapsed {
    width: 0.6rem;
}
.sidebar-header {
    padding: 0.1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}
.sidebar-header h2 {
    font-size: 0.14rem;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 0.14rem;
}
.sidebar.collapsed .sidebar-header h2 {
    display: none;
}
.toggle-btn {
    background: none;
    border: none;
    font-size: 0.18rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0.05rem 0.1rem;
    transition: all 0.2s;
}
.toggle-btn:hover {
    background-color: #e9ecef;
    color: #495057;
}
.history-item {
    padding: 0.12rem 0.24rem 0.12rem 0.14rem;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.14rem;
    display: flex;
    flex-direction: column;
}
.sidebar.collapsed .history-item {
    text-align: center;
}
.sidebar.collapsed .history-item span {
    display: none;
}
.history-item:hover {
    background-color: #f8f9fa;
}
.history-item.active {
    background-color: #e3f2fd;
    border-left: 3px solid #2196f3;
}
.history-list {
    height: 85vh;
    overflow: hidden;
    overflow-y: scroll;
    padding: 0  0 0.1rem;
}
/* 中间问答区域样式 */
/* .chat-container {
    width: 16.6rem;
    height: 90vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
    padding: 0.22rem 4.42rem 0;
} */
.chat-container {
    /* 最大宽度（可按需调整） */
    height: 8.6rem;
    /* PC端默认高度 */
    max-height: calc(100vh - 40px);
    background-color: #fff;
    position: relative;
    z-index: 1;
}
.chat-header{
    width: 100%;
    font-size: 0.18rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.27rem;
    background-color: #fff;
}
.chat-messages {
    flex: 1;
    overflow-y: scroll;
    background-color: #fafbfc;
}
.message {
    display: flex;
}
.user-message {
    justify-content: flex-end;
}
.ai-message {
    justify-content: flex-start;
}
.message-bubble {
    max-width: 80%;
    border-radius: 0.12rem 0.12rem 0 0.12rem;
    font-size: 0.16rem;
    padding: 0.16rem 0.28rem 0.16rem 0.16rem;
}
.user-message .message-bubble {
    background-color: #007bff;
    color: white;
    border-radius: 0.12rem 0.12rem 0 0.12rem;
    margin-top: 0.52rem;
}
.ai-message .message-bubble {
    margin-top: 0.25rem;
    padding-bottom: 0;
}
.answer-actions{
    margin-top: 0.16rem;
}
.action-btn{
    width: 69px;
    height: 25px;
    border-radius: 4px;
    font-size: 10px;
    color: #007BFF;
    background: #E6EEFC;
    border: 1px solid #AACCF0;
}
.quick-questions {
    padding: 0.15rem 0;
}
.quick-questions h3 {
    font-size: 0.14rem;
    margin-bottom: 0.1rem;
    color: #6c757d;
}
.question-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.08rem;
}
.question-btn {
    padding: 0.08rem 0.12rem;
    background: #E6EEFC;
    border-radius: 0.06rem;
    font-size: 0.13rem;
    cursor: pointer;
    transition: all 0.2s;
}
.question-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}
.chat-input {
    height: 1.2rem;
    padding: 0.11rem 0.22rem;
    border: 1px solid #D8D8D8;
    border-radius: 0.24rem;
    display: flex;
    gap: 0.1rem;
}
.chat-input textarea {
    flex: 1;
    font-size: 0.14rem;
    outline: none;
    transition: border-color 0.2s;
}
.send-btn {
    width: 0.25rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    transition: background-color 0.2s;
}
.send-btn img{
    width: 0.25rem;
    height: 0.25rem;
    display: block;
}
/* 右侧结果区域样式 */
.result-panel {
    width: 10.6rem;
    height: 90vh;
    background-color: #fff;
    border-left: 1px solid #D8D8D8;
    display: flex;
    flex-direction: column;
}
.result-header {
    height: 0.63rem;
    border-bottom: 1px solid #D8D8D8;
    background-color: #fff!important;
}
.result-header h2 {
    font-size: 0.18rem;
    color: #111827;
    font-weight: bold;
    line-height: 0.63rem;
    margin-left: 0.44rem;
}
.result-header text{
    font-size: 0.12rem;
    margin-right: auto;
    margin-left: 0.24rem;
    line-height: 0.63rem;
}
.yulanbtn{
    width: 1.28rem;
    height: 0.28rem;
    border-radius: 0.04rem;
    font-size: 0.14rem;
    padding: 0;
    line-height: 0.28rem;
    margin-top: 0.175rem;
    margin-right: 0.41rem;
    background: #007BFF;
    color: #ffffff;
}
.result-content {
    padding: 0 0.4rem 0.25rem 0.44rem;
    overflow: hidden;
    overflow-y: scroll;
}
.result-item {
    padding-top: 0.18rem;
}
.result-item h3 {
    font-size: 0.16rem;
    margin-bottom: 0.16rem;
    color: #3D3D3D;
}
.result-item p {
    font-size: 0.14rem;
    color: #3D3D3D;
    border: 1px solid #E6EEFC;
    padding: 0.14rem 0.11rem 0.14rem 0.16rem;
    border-radius: 0.08rem;
    margin-bottom: 0.2rem;
}
/* 预览word */
.step-content{
    background-color: #ffffff;
    zoom: .2;
    padding-top: 0.64rem;
    padding-left: 17.5%;
    padding-right: 17.5%;
}
.btnkstyle button{
    margin: 0 1rem;
}
.jy{
    font-size: 0.8rem!important;
    margin-left: 0.4rem;
}
.coz-input .coze-chat-sdk-semi-input-prefix, .coz-input .coze-chat-sdk-semi-input-suffix{
    font-size: 0.15rem!important;
}
/* 笔记本 (1024px - 1366px) */
@media (min-width: 768px) and (max-width: 1366px){
    .titlestyle{
        font-size: 0.3rem;
    }
    .nav-links a{
        font-size: 0.22rem;
    }
    .annv{
        font-size: 0.2rem;
    }
    .wenben{
        font-size: 0.36rem;
    }
    .wenj{
        font-size: 0.2rem;
    }
    .hangatitle{
        font-size: 0.24rem;
    }
    .tybtn{
        width: 1.36rem;
        height: 0.34rem;
        font-size: 0.18rem;
        line-height: 0.34rem;
    }
    .hangb{
        font-size: 0.18rem;
    }
    #zhishi{
        zoom: 1.3;
    }
    .sidebar-header h2{
        font-size: 0.22rem!important;
    }
    #coze-new-conversation-btn{
        font-size: 0.2rem!important;
    }
    #coze-current-conversation-title{
        font-size: 0.22rem!important;
    }
    #coze-user-input{
        font-size: 0.2rem!important;
    }
    .chat-container {
        height: 11rem;
        max-height: calc(100vh - 58px);
    }
    .coze-conversation-title{
        font-size: 0.2rem!important;
    }
    .coze-message-content{
        font-size: 0.2rem!important;
    }
    .coze-typing-indicator{
        font-size: 0.2rem!important;
    }
    .coze-message-time{
        font-size: 0.17rem!important;
    }
    .result-header h2{
        font-size: 0.22rem!important;
    }
    .result-header-tip{
        font-size: 0.18rem!important;
    }
    .btn-reload{
        font-size: 0.19rem!important;
    }
    .literature-review .review-section h3{
        font-size: 0.22rem!important;
    }
    .literature-review .review-title{
        font-size: 0.26rem!important;
    }
    .literature-review *{
        font-size: 0.2rem!important;
    }
    .wzxqk{
        zoom: 1.2;
    }
    .wjdz{
        font-size: 0.2rem!important;
    }
    .ckan{
        font-size: 1.2rem!important;
    }
    .custom-select{
        font-size: 0.2rem!important;
    }
}