.ant-modal-root{display: none;}
.ant-modal-root.active{display: block;/*animation: scaleFadeIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);*/}
.ant-modal-mask, .ant-modal-wrap{position: fixed;top: 0;right: 0;bottom: 0;left: 0;z-index: 9999;}
.ant-modal-mask{height: 100%;background-color: rgba(0, 0, 0, .45);filter: alpha(opacity = 50);}
.ant-modal-wrap{overflow: auto;outline: 0;-webkit-overflow-scrolling: touch;}
.ant-modal-centered{text-align: center;}
.ant-modal-centered:before{display: inline-block;width: 0;height: 100%;vertical-align: middle;content: "";}
.ant-modal{box-sizing: border-box;margin: 0;padding: 0;color: rgba(0, 0, 0, .65);font-size: 14px;font-variant: tabular-nums;line-height: 1.5;list-style: none;-webkit-font-feature-settings: "tnum";-moz-font-feature-settings: "tnum";font-feature-settings: "tnum";position: relative;top: 100px;width: auto;margin: 0 auto;padding-bottom: 24px;pointer-events: none;}
.ant-modal-centered .ant-modal{top: 0;display: inline-block;text-align: left;vertical-align: middle;}
.state-modal .ant-modal{padding-bottom: 0;}
.protocol-modal .ant-modal {width: 800px;}
.ant-modal-dt{width: 0px; height: 0px; overflow: hidden;}
.ant-modal-content{position: relative;background-color: #fff;background-clip: padding-box;border: 0;border-radius: 4px;box-shadow: 0 4px 12px rgba(0, 0, 0, .15);pointer-events: auto;}
.modal-bg .ant-modal .ant-modal-content{background: #fff var(--bg-img-popup) left -1px top -1px no-repeat;}
.state-modal .ant-modal .ant-modal-content{background: #ffffff;padding: 20px 24px 20px 32px;box-shadow: 0 8px 32px 0 rgba(0, 0, 0, .16);border-radius: 12px;}
.ant-modal-header{padding: 16px 24px;color: rgba(0, 0, 0, .65);background: #fff;border-bottom: 1px solid #e8e8e8;border-radius: 4px 4px 0 0;}
.modal-bg .ant-modal .ant-modal-header{padding: 16px 24px 16px 0;background: transparent;border-color: rgba(0, 0, 0, .1);}
.state-modal .ant-modal .ant-modal-content .ant-modal-header{padding-top: 0;}
.ant-modal-title{margin: 0;color: rgba(0, 0, 0, .85);font-weight: 500;font-size: 16px;line-height: 22px;word-wrap: break-word;}
.modal-bg .ant-modal .ant-modal-header .ant-modal-title{position: relative;color: #000;font-size: 24px;}
.ant-modal-body{padding: 24px;font-size: 14px;line-height: 1.5;word-wrap: break-word;}
.protocol-modal .ant-modal .ant-modal-body {height: 400px;overflow-y: auto;}
.state-modal .ant-modal .ant-modal-content .ant-modal-body{padding: 16px 0 0;}
.state-modal .ant-modal .ant-modal-content .main-body{padding-right: 8px;}
.state-modal .ant-modal .ant-modal-content .main-body .content{text-align: justify;}
.state-modal .ant-modal .ant-modal-content .content p{margin-top: 12px;font-size: 16px;line-height: 1.8;}
.pb-4{padding-bottom: 1rem;}
.pt-3{padding-top: .75rem;}
.modal-dt-som{text-align: center;}
.ant-checkbox-wrapper{display: inline-flex;align-items: center;cursor: pointer;}
.ant-checkbox{position: relative;white-space: nowrap;outline: none;line-height: 1;}
.ant-checkbox-input{position: absolute;top: 0;left: 0;bottom: 0;right: 0;opacity: 0;width: 100%;height: 100%;cursor: pointer;}
.ant-checkbox-inner{position: relative;top: 0;left: 0;display: block;width: 16px;height: 16px;background-color: #fff;border: 1px solid #d9d9d9;border-radius: 2px;transition: all .3s;}
.ant-checkbox-input:checked + .ant-checkbox-inner{background-color: #1658a0;border-color: #1658a0;}
.ant-checkbox-input:checked + .ant-checkbox-inner:after{position: absolute;top: -10%;left: 20%;display: block;width: 8px;height: 12px;border: 2px solid #fff;border-top: 0;border-left: 0;content: ' ';transform: rotate(45deg) scale(1);opacity: 1;transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);}
.ant-checkbox+span{padding-right: 8px;padding-left: 8px;}
.ant-checkbox-input:disabled + .ant-checkbox-inner{background-color: #f5f5f5;border-color: #d9d9d9;cursor: not-allowed;}
.ant-checkbox-wrapper:hover .ant-checkbox-inner{border-color: #1658a0;}
.warning-color{color: #f08c5c;}
.ant-modal-footer{padding: 10px 16px;text-align: right;background: transparent;border-top: 1px solid #e8e8e8;border-radius: 0 0 4px 4px;}
.modal-bg .ant-modal .ant-modal-footer{padding: 10px 0;}
.state-modal .ant-modal .ant-modal-footer{text-align: center;padding-bottom: 0;}
.flex-between{-webkit-box-pack: justify;-webkit-justify-content: space-between;-ms-flex-pack: justify;justify-content: space-between;}
.flex-between, .flex-right{display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;}
.align-center{-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;}
.mr-2{margin-right: .5rem;}
.active-color{color: #f08c5c;}
.ant-btn{line-height: 1.499;position: relative;display: inline-block;font-weight: 400;white-space: nowrap;text-align: center;background-image: none;border: 1px solid transparent;box-shadow: 0 2px 0 rgba(0, 0, 0, .015);cursor: pointer;-webkit-transition: all .3s cubic-bezier(.645,.045,.355,1);transition: all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;-ms-touch-action: manipulation;touch-action: manipulation;height: 32px;padding: 0 15px;font-size: 14px;border-radius: 4px;color: rgba(0, 0, 0, .65);background-color: #fff;border-color: #d9d9d9;}
.ant-btn-lg{height: 40px;padding: 0 15px;font-size: 16px;border-radius: 4px;}
.ant-btn-primary{color: #fff;background-color: #1658a0;border-color: #1658a0;text-shadow: 0 -1px 0 rgba(0, 0, 0, .12);box-shadow: 0 2px 0 rgba(0, 0, 0, .045);}
.ant-btn-primary[disabled]{color: rgba(0, 0, 0, .25);background-color: #f5f5f5;border-color: #d9d9d9;text-shadow: none;box-shadow: none;}
.ant-btn>i, .ant-btn>span{display: inline-block;-webkit-transition: margin-left .3s cubic-bezier(.645,.045,.355,1);transition: margin-left .3s cubic-bezier(.645,.045,.355,1);pointer-events: none;}
.ant-btn.disabled>*, .ant-btn[disabled]>*{pointer-events: none;}
.ant-modal-toms{width: 0px; height: 0px; overflow: hidden;}
.protocol-modal .ant-modal .ant-modal-body::-webkit-scrollbar{-webkit-appearance: none;height: 6px;width: 6px;}
.protocol-modal .ant-modal .ant-modal-body::-webkit-scrollbar-thumb{border-radius: 6px;background-color: rgba(94, 114, 135, .2);}
.protocol-modal .ant-modal .ant-modal-body::-webkit-scrollbar-track, .protocol-modal .ant-modal .ant-modal-body::-webkit-scrollbar-track-piece{background-color: transparent;}
.protocol-modal .ant-modal .ant-modal-body::selection{color: #fff;background: #1658a0;}
.xzqh.sm{margin-top: 40px;}
.title a{width: 314px;}
.title>div{width: 484px;}
.dtgk.znwd .title a{background: url(../images/znwd_ns.png) no-repeat center;}
.chat-container{width: 100%;margin: 0 auto;background: white;border-radius: 20px;overflow: hidden;box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);}
.layout::after{content: "";display: table;clear: both;}
.sidebar{float: left;width: 269px;padding: 50px 40px;background: #fafbff;border-right: 1px solid #edf0f5;text-align: left;}
.main-content{float: right;width: 950px;}
.logotb{display: inline-block;width: 48px;height: 48px;line-height: 48px;text-align: center;background: linear-gradient(150deg, #1658a0, #007bc8, #0d6aad);border-radius: 14px;margin-bottom: 24px;}
.ai-icon .icon{font-size: 38px;color: #ffffff;}
.intro-title{font-size: 24px;font-weight: 700;color: #1e293b;margin-bottom: 20px;letter-spacing: -0.4px;}
.intro-content{font-size: 15px;color: #475569;line-height: 1.8;}
.intro-content p{margin-bottom: 16px;}
.features{margin: 24px 0;}
.feature-item{display: block;margin-bottom: 16px;zoom: 1;}
.feature-icon{color: #1658a0;font-weight: bold;font-size: 18px;margin-right: 12px;margin-top: -5px;float: left;}
.feature-text{color: #334155;font-size: 14px;overflow: hidden;}
.header{padding: 26px 30px 22px;border-bottom: 1px solid #edf0f5;zoom: 1;}
.header h1{font-size: 20px;font-weight: 600;color: #1e293b;position: relative;padding-left: 24px;text-align: left;}
.header h1::before{width: 10px;height: 10px;content: "";position: absolute;left: 0;top: 50%;margin-top: -5px;background: #1658a0;border-radius: 50%;}
.chat-area{height: 400px;padding: 26px 30px;overflow-y: auto;background: #ffffff;}
.message{max-width: 82%;margin-bottom: 24px;word-wrap: break-word;font-size: 15px;line-height: 1.6;clear: both;}
.bot-message{float: left;clear: both;text-align: left;}
.user-message{float: right;clear: both;}
.bot-bubble, .user-bubble{padding: 16px 20px;border-radius: 18px;position: relative;box-shadow: 0 2px 6px rgba(0,0,0,0.03);display: inline-block;}
.bot-bubble{background: #f1f5ff;border: 1px solid #e4e9f7;border-bottom-left-radius: 6px;}
.user-bubble{background: #eef7ff;border: 1px solid #d0e3ff;border-bottom-right-radius: 6px;}
.message p, .message pre, .message code, .message img{margin: 8px 0;}
.message pre{background: #f8fafc;padding: 14px;border-radius: 10px;font-family: Consolas, monospace;font-size: 14px;overflow-x: auto;border: 1px solid #eef2f9;margin: 10px 0;white-space: pre-wrap;}
.message code{background: #edf2f7;padding: 3px 6px;border-radius: 4px;font-family: Consolas, monospace;color: #1e3a8a;}
.message img{max-width: 100%;border-radius: 10px;margin: 12px 0;border: 1px solid #eef2f9;box-shadow: 0 2px 8px rgba(0,0,0,0.05);}
.message a{color: #4361ee;text-decoration: none;}
.message a:hover{text-decoration: underline;}
.input-area{padding: 24px 30px;background: #ffffff;border-top: 1px solid #edf0f5;zoom: 1;}
.input-wrapper{text-align: left;}
#question-input{width: calc(100% - 180px);padding: 14px 20px;font-size: 15px;border: 1px solid #dde5f0;border-radius: 28px;outline: none;background: #fafbff;display: inline-block;vertical-align: middle;}
#ask-button{width: 110px;padding: 14px 24px;font-size: 15px;font-weight: 500;background: #1658a0;margin-left: 10px;color: white;border: none;border-radius: 28px;cursor: pointer;display: inline-block;vertical-align: middle;min-width: 90px;text-align: center;}
#ask-button:hover{opacity: 0.95;}
#ask-button:disabled{opacity: 0.6;cursor: not-allowed;}
.thinking{color: #64748b;font-style: italic;font-size: 14px;}
.loading-dots{display: inline-block;margin-left: 10px;vertical-align: middle;font-family: Consolas, monospace;}
.loading-dots::after{content: " . . .";opacity: 0.6;}
.dot{display: none !important;}
.chat-area::-webkit-scrollbar{-webkit-appearance: none;height: 6px;width: 6px;}
.chat-area::-webkit-scrollbar-thumb{border-radius: 6px;background-color: rgba(94, 114, 135, .2);}
.chat-area::-webkit-scrollbar-track, .chat-area::-webkit-scrollbar-track-piece{background-color: transparent;}
.chat-area::selection{color: #fff;background: #1658a0;}

@keyframes scaleFadeIn{
    0%{transform: translate(-50%, -50%) scale(0.3);opacity: 0;}
    50%{transform: translate(-50%, -50%) scale(1.1);opacity: 0.8;}
    100%{transform: translate(-50%, -50%) scale(1);opacity: 1;}
}

@media screen and (max-width:1340px){
	.title>div{width: 434px;}
    .sidebar{width: 319px;padding: 40px 30px;}
    .main-content{width: 820px;}
}

@media screen and (max-width:1240px){
	.title>div{width: 334px;}
	.sidebar{width: 289px;padding: 30px 20px;}
    .main-content{width: 670px;}
    .intro-title{font-size: 22px;}
    .header h1{font-size: 18px;}
}

@media screen and (max-width:1000px){
	.ant-checkbox-input:checked + .ant-checkbox-inner:after{top: -15%;}
	.dtgk{padding-top: 20px;}
	.title a{width: 200px;}
	.title>div{width: calc((100% - 216px) / 2);}
	.chat-container{max-width: 95%;}
    .layout::after{display: none;}
    .sidebar, .main-content{width: 100%;float: none;}
    .sidebar{border-right: none;border-bottom: 1px solid #edf0f5;padding: 30px 20px;}
    .main-content{padding-top: 0;}
    .chat-area{height: 380px;}
    .intro-title{font-size: 20px;}
    .header h1{font-size: 18px;}
	#question-input{width: calc(100% - 130px);}
}

@media screen and (max-width:750px){
	.ant-modal{max-width: calc(100vw - 16px);margin: 8px auto;}
	.ant-modal-centered .ant-modal{-webkit-box-flex: 1;-webkit-flex: 1;-ms-flex: 1;flex: 1;}
	.pop-title-color{font-size: 20px;}
	.ant-btn-lg{height: 35px;font-size: 14px;padding: 0 10px;}
    .ai-icon{width: 40px;height: 40px;font-size: 18px;margin-bottom: inherit;}
	.ai-icon .icon{font-size: 28px;}
	.dtgk{padding-top: 10px;}
	.chat-container{border-radius: 16px;box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);}
    .layout::after{display: none;}
    .sidebar, .main-content{width: 100%;float: none;}
    .sidebar{border-right: none;border-bottom: 1px solid #edf0f5;padding: 24px 16px;background: white;}
    .logotb{width: 40px;height: 40px;line-height: 40px;margin-bottom: 16px;}
    .intro-title{font-size: 20px;margin-bottom: 16px;}
    .intro-content{font-size: 14px;}
    .feature-item{margin-bottom: 12px;}
    .feature-icon{font-size: 16px;margin-right: 8px;}
    .feature-text{font-size: 13px;}
    .header{padding: 20px 16px 16px;}
    .header h1{font-size: 18px;padding-left: 20px;}
    .header h1::before{width: 8px;height: 8px;margin-top: -4px;}
    .chat-area{height: 320px;padding: 16px;font-size: 14px;}
    .message{max-width: 90%;margin-bottom: 16px;}
    .bot-bubble, .user-bubble{padding: 12px 16px;border-radius: 16px;}
    .input-area{padding: 16px;}
    #question-input{width: calc(100% - 130px);padding: 12px 16px;font-size: 14px;border-radius: 24px;}
    #ask-button{width: 110px;padding: 12px 20px;font-size: 14px;border-radius: 24px;}
}

@media screen and (max-width:480px){
	.chat-container{margin: 0 8px;border-radius: 12px;}
    .sidebar{padding: 20px 12px;}
    .intro-title{font-size: 18px;}
    .intro-content p{margin-bottom: 12px;}
    .chat-area{height: 280px;padding: 12px;}
    .message{max-width: 94%;}
    .bot-bubble, .user-bubble{padding: 10px 14px;}
    #question-input, #ask-button{width: 100%;border-radius: 20px;box-sizing: border-box;}
    #ask-button{margin-top: 8px;padding: 12px;margin-left: 0;}
}

@media screen and (max-width:420px){
	.dtgk{padding-top: 0;}
	.dtgk.znwd .xzqh.sm{margin-top: 5px;}
}

@media screen and (max-width:375px){
	.title a{width: 160px;}
	.title>div{width: calc((100% - 176px) / 2);}
}

@media screen and (max-width:320px){
	.chat-container{margin: 0 4px;border-radius: 8px;}
    .sidebar{padding: 16px 8px;}
    .intro-title{font-size: 16px;}
    .intro-content{font-size: 13px;}
    .feature-text{font-size: 12px;}
    .header h1{font-size: 16px;padding-left: 16px;}
    .header h1::before{width: 6px;height: 6px;margin-top: -3px;}
    .chat-area{height: 240px;padding: 8px;font-size: 13px;}
    .bot-bubble, .user-bubble{padding: 8px 12px;border-radius: 14px;}
    #question-input, #ask-button{padding: 10px;font-size: 13px;border-radius: 18px;}
}