/* Readable data views: independent panel sizing, no whole-screen shrinking. */
.full-dashboard-mobile,.mobile-table-hint{display:none}.health-dashboard-bar{min-height:240px}.health-dashboard-pie{min-height:220px}
@media(max-width:768px){
.gms-school-workspace .page-content:has(.health-dashboard){padding:8px}.health-dashboard{padding:16px 12px!important;border-radius:18px;min-width:0}.health-dashboard-filters{gap:10px!important}.health-dashboard-filters .el-radio-group{display:flex;flex-wrap:wrap;gap:4px}.health-dashboard-filters>.el-select{width:100%!important}.health-dashboard-filters>span{color:#aab8cd!important}.health-dashboard-filters>div[style*="flex:1"]{display:none}.health-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.health-dashboard-metrics>div{min-width:0;padding:14px 10px!important;border:1px solid #ffffff0c;border-radius:12px!important}.health-dashboard-metrics>div>div{min-width:0}.health-dashboard-metrics>div>div>div:first-child{font-size:12px!important;color:#b9c7d9!important}.health-dashboard-metrics>div>div>div:nth-child(2){font-size:25px!important;line-height:1.5!important;overflow-wrap:anywhere}.health-dashboard-metrics>div>div>div:nth-child(3){color:#95a8bf!important;font-size:11px!important}.health-dashboard-panels{display:flex!important;flex-direction:column;gap:14px!important}.health-dashboard-panels>div{min-height:240px;flex:none!important;border-radius:12px!important;padding:16px 10px!important;min-width:0}.health-dashboard-bar{height:280px!important;min-height:280px!important;flex:none!important;width:100%}.health-dashboard-pie{height:220px!important;min-height:220px!important;width:100%!important}.health-dashboard-panels>div:has(.health-dashboard-pie)>div:last-child{display:flex!important;flex-direction:column!important;height:auto!important}.health-dashboard-pie+div{width:100%!important;padding:8px!important;gap:12px!important}.health-dashboard-pie+div>div{display:grid!important;grid-template-columns:10px 45px 1fr 1fr;gap:8px!important;font-size:13px!important}.health-dashboard-panels>div>div[style*="overflow-y:auto"]{max-height:460px;overflow-y:auto!important;flex:none!important}.health-dashboard-panels>div>div[style*="overflow-y:auto"]>div{flex-wrap:wrap;row-gap:8px!important;padding:10px 6px!important;min-height:44px}.health-dashboard-panels>div>div[style*="overflow-y:auto"]>div>span:first-child{width:100%!important;font-size:13px!important;white-space:normal!important}.health-dashboard-panels>div>div[style*="overflow-y:auto"]>div>span{font-size:12px!important}.health-dashboard-panels>div>div[style*="font-size:15px"]{font-size:14px!important;line-height:1.6}
.mobile-table-hint{display:block;font-size:11px;color:#9299a6;background:#f7f8fb;border-radius:8px;padding:9px 11px;margin-bottom:10px}.mobile-data-filters{gap:10px 0;align-items:stretch!important}.mobile-data-filters>.el-col{flex:0 0 50%!important;max-width:50%!important;min-width:0}.mobile-data-filters>.el-col:has(.el-date-editor),.mobile-data-filters>.el-col:last-child{flex-basis:100%!important;max-width:100%!important;flex-wrap:wrap!important;gap:8px!important}.mobile-data-filters .el-select{width:100%}.mobile-data-filters .el-button+.el-button{margin-left:0}.mobile-data-filters .el-date-editor{width:100%!important;min-width:0!important}.mobile-data-page>.el-card:first-child .el-card__body>div:not(.el-row){flex-wrap:wrap!important;gap:8px!important}.mobile-data-page>.el-card:first-child .el-input,.mobile-data-page>.el-card:first-child .el-select{max-width:100%;min-width:0}.mobile-data-page>.el-card:first-child .el-button+.el-button{margin-left:0}.mobile-data-page .el-table td.el-table-fixed-column--right,.mobile-data-page .el-table th.el-table-fixed-column--right{position:static!important;right:auto!important}.mobile-data-page .el-table .el-table-fixed-column--right:before{display:none!important}.mobile-data-page .el-table .el-scrollbar__bar.is-horizontal,.teacher-data-page .el-table .el-scrollbar__bar.is-horizontal{height:7px;opacity:1!important}.mobile-data-page .el-table__body-wrapper,.teacher-data-page .el-table__body-wrapper{touch-action:pan-x pan-y}
.teacher-data-page>.el-card:first-child .el-select,.teacher-data-page>.el-card:first-child .el-input{width:100%!important;max-width:100%;min-width:0}.teacher-data-page>.el-row>.el-col{margin-bottom:10px}.teacher-data-page .ts-stat{padding:15px 12px!important}.teacher-data-page .ts-num{font-size:24px!important}.teacher-data-page .ts-chart{width:100%;min-width:0;min-height:300px}.teacher-data-page .el-tabs__nav-wrap{max-width:100%}.bop-data-dashboard .el-row>.el-col{margin-bottom:14px;min-width:0}.bop-data-dashboard .el-card__header>div{flex-wrap:wrap;gap:10px}.bop-data-dashboard .el-radio-group{max-width:100%;display:flex;flex-wrap:wrap;gap:5px}.bop-data-dashboard .el-card__body>div[style*="display:flex"]{flex-wrap:wrap!important;gap:16px!important}.bop-data-dashboard .el-card__body>div[style*="display:flex"]>div{min-width:70px}.bop-data-dashboard .el-card__body>div[style*="repeat(3"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.full-dashboard-shell{height:100vh;height:100dvh;overflow:auto;background:#101b32;overscroll-behavior:contain}.full-dashboard-desktop{display:none!important}.full-dashboard-mobile{display:block;color:#d8e2ef;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;padding-bottom:env(safe-area-inset-bottom)}.full-dashboard-mobile>header{position:sticky;top:0;z-index:5;background:#13203a;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:16px;border-bottom:1px solid #ffffff0c}.full-dashboard-mobile>header>a{color:#86d6cf;font-size:13px;text-decoration:none;min-height:28px;display:flex;align-items:center}.full-dashboard-mobile>header>span{font-size:16px;font-weight:650}.full-dashboard-mobile>header>small{width:100%;text-align:right;color:#8798b3;font-size:11px}.mobile-screen-content{padding:20px 14px}.mobile-screen-content h1{font-size:20px;line-height:1.55;color:#fff;overflow-wrap:anywhere}.mobile-screen-subtitle{font-size:12px;color:#91a4c2;margin:7px 0 20px}.mobile-screen-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.mobile-screen-rates>div{background:#1a2b46;border:1px solid #ffffff08;border-radius:14px;padding:16px 12px;display:flex;flex-direction:column;gap:10px;min-width:0}.mobile-screen-rates span{font-size:12px;color:#a7b8cf}.mobile-screen-rates strong{font-size:27px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.mobile-screen-rates small{font-size:13px;margin-left:3px}.mobile-screen-panel{padding:18px 14px;background:#172740;border:1px solid #ffffff09;border-radius:16px;margin-bottom:16px}.mobile-screen-panel h2{font-size:16px;font-weight:600;color:#e7f4ff;line-height:1.6;margin-bottom:17px}.mobile-screen-panel h2 small{display:block;font-size:11px;font-weight:400;color:#8298b6;margin-top:5px}.mobile-screen-rank{margin-bottom:19px}.mobile-screen-rank:last-child{margin-bottom:0}.mobile-screen-rank>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;font-size:12px}.mobile-screen-rank span{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.6}.mobile-screen-rank strong{font-size:12px;color:#b4e2e0;flex-shrink:0}.mobile-screen-track{height:8px;border-radius:10px;background:#ffffff09;overflow:hidden}.mobile-screen-track>i{display:block;height:100%;background:#57c4b7;border-radius:10px}.mobile-screen-item{padding:15px 0;border-bottom:1px solid #ffffff0b}.mobile-screen-item:first-of-type{padding-top:0}.mobile-screen-item:last-child{border:0;padding-bottom:0}.mobile-screen-item h3{font-size:14px;color:#dceeff;margin-bottom:12px}.mobile-screen-item>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px;font-size:11px;color:#9bafc8}.mobile-screen-item b{color:#b0dce7;font-size:14px;margin-left:4px}.mobile-screen-student{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #ffffff09;font-size:13px}.mobile-screen-student>div{min-width:0;display:flex;flex-direction:column;gap:7px}.mobile-screen-student>div>span{font-size:11px;color:#97acc5;overflow-wrap:anywhere}.mobile-screen-student>b{font-size:13px;color:#ffae93;white-space:nowrap}.mobile-screen-empty,.mobile-screen-footer{font-size:12px;color:#8a9eba;text-align:center;padding:20px 0;line-height:1.7}
}
.mobile-score-view-switch,.mobile-score-cards{display:none}
@media(max-width:768px){
.mobile-score-view-switch{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;color:#535c6b;font-size:12px}.mobile-score-view-switch button{min-height:36px;padding:7px 11px;border:1px solid #ffddcc;border-radius:20px;background:#fff5ee;color:#bd562b;font:inherit;font-size:11px}.mobile-score-cards{display:grid;gap:12px}.mobile-score-cards.is-hidden,.mobile-table-collapsed{display:none!important}.mobile-score-card{padding:16px 13px;border:1px solid #edf0f5;border-radius:16px;background:linear-gradient(145deg,#fffcf8,#fff 55%)}.mobile-score-card header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid #eff1f5}.mobile-score-card header>div{display:flex;flex-direction:column;gap:7px;min-width:0}.mobile-score-card header strong{font-size:16px;color:#313744;overflow-wrap:anywhere}.mobile-score-card header span{font-size:11px;color:#959daa}.mobile-score-card .mobile-score-value{align-items:flex-end;flex-shrink:0}.mobile-score-value b{font-size:24px;color:#e97438}.mobile-score-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px;padding-top:14px}.mobile-score-card dt{font-size:10px;color:#9ba2ae;margin-bottom:6px}.mobile-score-card dd{font-size:12px;line-height:1.6;color:#545f71;overflow-wrap:anywhere;margin:0}.mobile-score-empty{padding:32px 0;text-align:center;color:#9ca5b2;font-size:12px}.mobile-data-page .filter-bar .el-date-editor{grid-column:1/-1;width:100%!important;min-width:0}.mobile-data-page .el-table .el-table-fixed-column--left{position:static!important;left:auto!important}.mobile-data-page .el-table .el-table-fixed-column--left:before{display:none!important}
}
.race-mobile-reader{display:none}
@media(max-width:768px){.rs-screen{display:block!important;overflow:auto!important;background:#101b32!important;overscroll-behavior:contain}.rs-screen>:not(.race-mobile-reader){display:none!important}.race-mobile-reader{display:block;padding:16px 14px max(20px,env(safe-area-inset-bottom));color:#d8e2ef;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}.race-mobile-reader>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px;font-size:14px}.race-mobile-reader>header a{color:#8bd8d0;text-decoration:none;padding:8px 0}.race-mobile-reader>h1{font-size:23px;line-height:1.5;color:#f4f8ff}.mobile-race-winner{display:flex;gap:13px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #ffffff0b}.mobile-race-winner>img{width:56px;height:70px;object-fit:cover;border-radius:10px;flex-shrink:0}.mobile-race-winner>div{display:flex;flex-direction:column;gap:8px;min-width:0}.mobile-race-winner strong{font-size:15px;color:#ebf6ff}.mobile-race-winner span{font-size:12px;color:#98afc9;line-height:1.6;overflow-wrap:anywhere}.mobile-race-winner b{color:#f9c97a;font-size:13px}}
@media(max-width:768px){.mobile-dashboard-ai{z-index:2100!important}.mobile-dashboard-ai>div{width:100vw!important;height:100dvh!important;max-height:100dvh;border-radius:0!important}.mobile-dashboard-ai>div>div:first-child{flex-wrap:wrap;gap:6px;padding:12px!important}.mobile-dashboard-ai>div>div:nth-child(2){flex-direction:column}.mobile-dashboard-ai>div>div:nth-child(2)>div:first-child{width:100%!important;max-height:110px;overflow-y:auto;flex-shrink:0!important;border-right:0!important;border-bottom:1px solid #ffffff15}.mobile-dashboard-ai>div>div:nth-child(2)>div:last-child{min-height:0;min-width:0}.mobile-dashboard-ai .el-textarea{min-width:0}.mobile-dashboard-ai .el-input__inner,.mobile-dashboard-ai .el-textarea__inner{font-size:16px}}
