/* Mobile-first detail pass */
@media(max-width:767px){
.kb-user{overflow-x:clip}.kb-user #app{min-width:0}.kb-user .mobile-layout{min-width:0}.kb-user .m-header{padding:calc(12px + env(safe-area-inset-top)) 14px 14px!important;border-radius:0 0 18px 18px;box-shadow:0 4px 18px #1b75e51a}.kb-mobile-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.kb-user .kb-mobile-title-row .m-title{margin:0!important;font-size:20px!important}.kb-user .kb-mobile-account{color:white!important;background:#ffffff1a!important;border:1px solid #ffffff45!important;min-height:32px!important;border-radius:18px!important;padding:5px 12px!important;font-size:11px}.kb-user .kb-mobile-search{display:flex;gap:0!important;align-items:stretch;padding:0!important;overflow:hidden;border-radius:9px!important;background:white!important;min-height:40px}.kb-mobile-search .el-input{min-width:0;flex:1}.kb-user .kb-mobile-search .el-input__wrapper{border:0;box-shadow:none!important;border-radius:9px 0 0 9px!important;background:transparent!important;padding:2px 12px!important;min-height:40px!important}.kb-user .kb-mobile-search>.el-button{margin:0!important;min-width:62px;min-height:40px!important;border-radius:0 9px 9px 0!important;background:#076bea;border:0;font-size:13px}.kb-user .m-content{padding:14px 12px calc(92px + env(safe-area-inset-bottom))!important}.kb-user .m-tabbar{padding:8px 0 calc(8px + env(safe-area-inset-bottom))!important;min-height:60px;align-items:center;backdrop-filter:blur(18px);background:#ffffffed!important}.kb-user .m-tab{min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px!important}.kb-user .m-tab.active{font-weight:600}.kb-user .m-tab .el-icon{font-size:21px!important}.ref-hero{padding:22px 18px!important;min-height:170px;gap:0}.ref-hero h1{font-size:22px;line-height:1.5;letter-spacing:0}.ref-hero-copy>p{font-size:12px;max-width:270px;line-height:1.9}.ref-features{font-size:10px;gap:8px 14px;padding-top:12px;margin-top:14px}.ref-services{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px}.ref-service{padding:14px 3px!important;text-align:center;border-radius:10px!important;min-width:0}.ref-service-icon{width:36px;height:39px;font-size:20px;border-radius:10px;margin:auto}.ref-service h2{font-size:11px;margin:10px 0 0;white-space:nowrap}.ref-service p,.ref-service strong{display:none}.ref-literature{padding:16px 12px!important;border-radius:12px}.ref-section-head{gap:10px;align-items:center}.ref-section-head h2{font-size:17px!important;min-width:0}.ref-section-head>button{font-size:11px;white-space:nowrap}.ref-subjects{gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:14px 0}.ref-subjects::-webkit-scrollbar{display:none}.ref-subjects button{flex-shrink:0;padding:5px 11px;min-height:32px;font-size:11px}.ref-side-card{padding:16px;border-radius:12px}.ref-hot{min-height:48px;font-size:12px}.ref-join{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px}.ref-join h3{font-size:17px}.ref-join p{font-size:12px;margin:0}.ref-join button{margin-left:auto;min-height:34px;white-space:nowrap}.ref-breadcrumb{font-size:11px;line-height:1.7;padding-bottom:12px}.ref-detail-head{padding:16px!important;align-items:flex-start}.ref-document-cover{width:76px;min-width:76px;min-height:122px;padding:8px}.ref-document-cover strong{font-size:9px}.ref-document-cover b{font-size:15px}.ref-document-cover small{font-size:5px}.ref-detail-heading h1{font-size:16px;line-height:1.6}.ref-detail-tags span{font-size:9px;padding:3px 6px}.ref-detail-heading p{font-size:11px;line-height:1.8;overflow-wrap:anywhere}.ref-detail-head{display:block}.ref-document-cover{float:left;margin:0 14px 10px 0}.ref-detail-heading{display:contents}.ref-detail-actions{clear:both;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.ref-detail-actions .el-button{min-width:0;margin:0!important;padding:10px 5px!important;font-size:12px!important}.ref-detail-tabs{gap:24px;overflow-x:auto;white-space:nowrap}.ref-detail-tabs button{font-size:12px;min-height:42px}.ref-detail-section p{line-height:1.95}.ref-detail iframe{height:65vh!important;min-height:330px}.kb-user .login-page{min-height:100svh!important;align-items:flex-start!important;padding:calc(40px + env(safe-area-inset-top)) 16px 30px!important}.kb-user .login-card{border-radius:16px!important}.kb-user .login-card .el-card__body{padding:26px 20px!important}.kb-user .login-card h2{font-size:23px;margin-top:0}.kb-user .login-card .code-row .el-input{min-width:0;flex:1}.kb-user .login-card .code-row .el-button{min-width:96px;padding:9px 10px!important;letter-spacing:0}.kb-user .login-card form>.el-button{height:44px}.kb-user .account-layout{margin:12px auto!important;padding:0 12px!important}.kb-user .account-layout>.side{padding:6px!important;gap:4px;scrollbar-width:none}.kb-user .account-layout>.side::-webkit-scrollbar{display:none}.kb-user .account-layout .side a{font-size:11px!important;padding:9px 12px!important;min-height:36px}.kb-user .account-layout>.content{padding:16px 12px!important;min-height:65vh}.kb-user .account-layout>.content h2{font-size:18px}.kb-user .el-form-item__label{font-size:12px!important}.kb-user .el-dialog__body{padding:16px!important}.kb-user .el-dialog{margin-top:8vh!important;max-height:84vh;overflow-y:auto}.kb-user .el-dialog__footer{position:sticky;bottom:0;background:white}.kb-user .el-pagination button,.kb-user .el-pager li{min-width:32px!important;min-height:32px!important}.kb-user .actions .el-button{flex:1}.kb-user .el-col:has(.video-card){max-width:100%!important;flex:0 0 100%!important}.kb-user .video-card .cover{max-height:210px}.kb-user .video-card .el-card__body{padding:14px!important}.kb-user .el-message{max-width:calc(100vw - 24px)!important;font-size:12px;top:16px!important}.kb-user .el-message__content{line-height:1.7!important}.kb-search-form .el-button{min-height:40px}.kb-user .ref-literature .el-table__header-wrapper{display:none}.kb-user .ref-literature .el-table__body,.kb-user .ref-literature .el-table tbody{display:block!important;width:100%!important;min-width:0!important}.kb-user .ref-literature .el-table colgroup{display:none}.kb-user .ref-literature .el-table .el-scrollbar__view{display:block!important;width:100%!important;min-width:0!important}.kb-user .ref-literature .el-table tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) 76px;gap:4px 8px;border-bottom:1px solid #edf2f8;padding:14px 0}.kb-user .ref-literature .el-table tbody td{display:block!important;width:auto!important;height:auto!important;border:0!important;padding:1px 0!important;min-width:0!important;background:transparent!important}.kb-user .ref-literature .el-table td .cell{padding:0 4px!important;line-height:1.65;font-size:11px;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.kb-user .ref-literature .el-table td:first-child{grid-column:1;grid-row:1}.kb-user .ref-literature .el-table td:first-child .cell{font-size:13px;font-weight:500;color:#283f5c}.kb-user .ref-literature .el-table td:nth-child(2){grid-column:1;grid-row:2;color:#8c9bb0}.kb-user .ref-literature .el-table td:nth-child(3){grid-column:1;grid-row:3;color:#8c9bb0}.kb-user .ref-literature .el-table td:nth-child(4){grid-column:1;grid-row:4;color:#8c9bb0}.kb-user .ref-literature .el-table td:last-child{grid-column:2;grid-row:1 / 5;align-self:center;justify-self:end}.kb-user .ref-literature .el-table td:last-child .el-button{min-height:32px!important;max-width:76px;padding:6px 9px!important;margin:3px 0!important;font-size:11px}.kb-user .ref-literature .el-table::before,.kb-user .ref-literature .el-table__inner-wrapper::before{display:none}.kb-user .ref-literature .el-table__empty-block{min-height:140px;width:100%!important}.kb-user .ref-literature .el-table__empty-text{font-size:12px}
}
@media(max-width:359px){.ref-hero h1{font-size:19px}.ref-service h2{font-size:10px}.ref-service-icon{width:32px;height:35px}.kb-user .m-content{padding-left:9px!important;padding-right:9px!important}.kb-user .login-card .code-row .el-button{min-width:86px;font-size:11px}}
