/* V16.701: responsive presentation only. */
@media screen {
.bk-admin main,.bk-student main,.bk-parent main{width:100%;min-width:0}
.bk-admin main>*,.bk-admin .view,.bk-student main>*,.bk-parent main>*,.bk-public .card{min-width:0}
.bk-admin .card,.bk-student .card,.bk-parent .panel{overflow-wrap:anywhere}
.bk-admin header>div:nth-child(2),.bk-student header>div:nth-child(2),.bk-parent header>div{min-width:0;overflow-wrap:anywhere}
.bk-admin header .logo,.bk-student header .logo,.bk-parent header .brand,.bk-public .logo{flex-shrink:0}
.bk-admin :is(input,select,textarea),.bk-student :is(input,select,textarea),.bk-parent :is(input,select),.bk-public :is(input,select){max-width:100%;min-width:0}
.bk-admin .tablewrap{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
.bk-admin .tablewrap:focus-visible{outline:3px solid #7250ab;outline-offset:2px}
.bk-admin .filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}
.bk-admin .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.bk-admin .report-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr))}
.bk-student .student-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))}
.bk-student .dash-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr))}
.bk-student #examOptions{grid-template-columns:1fr}
.bk-student #examOptions .student-tile{min-height:56px;overflow-wrap:anywhere;white-space:pre-wrap}
.bk-student #examQuestion{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.bk-student #pdfCanvas{max-width:100%;height:auto}
.bk-admin button,.bk-student button,.bk-parent button,.bk-public button{max-width:100%;overflow-wrap:anywhere;touch-action:manipulation}
.bk-admin :is(button,input,select,textarea,a):focus-visible,.bk-student :is(button,input,select,textarea,a):focus-visible{outline:3px solid #9c7cc9;outline-offset:2px}
.bk-public .brand,.bk-public .brand>span:last-child,.bk-public .exam,.bk-public .option,.bk-public .filters label,.bk-public .registration label{min-width:0;overflow-wrap:anywhere}
.bk-public .passage{overflow-wrap:anywhere}
.bk-public .option img{max-width:100%;object-fit:contain}
.bk-public .reg-check input{flex:none;min-width:20px;min-height:20px}
.bk-home .level-copy,.bk-home .panel>span:not(.panel-icon):not(.arrow),.bk-home .welcome>div,.bk-home .section-head>*{min-width:0;overflow-wrap:anywhere}
}
@media screen and (max-width:800px){
.bk-admin main,.bk-student main,.bk-parent main{margin:16px auto;padding:0 12px}
.bk-admin header,.bk-student header,.bk-parent header{padding:12px;gap:10px;flex-wrap:wrap}
.bk-admin header>div:nth-child(2),.bk-student header>div:nth-child(2),.bk-parent header>div{flex:1 1 145px}
.bk-admin header button,.bk-student header button,.bk-parent header button{margin-left:auto;flex:none;min-height:44px}
.bk-admin #panel nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:8px}
.bk-admin #panel nav button{min-height:46px;text-align:center;padding:9px 8px}
.bk-admin button,.bk-student button,.bk-parent button{min-height:44px}
.bk-admin .actions,.bk-student .actions{gap:8px}
.bk-admin .actions>button,.bk-student .actions>button{flex:1 1 140px}
.bk-admin .tablewrap td button{margin:3px 2px;min-height:44px}
.bk-admin .tablewrap table{min-width:520px}
.bk-admin .login,.bk-student .login,.bk-parent .login{margin:20px auto 16px}
.bk-admin .login form button,.bk-student .login form button,.bk-parent .login form button{width:100%}
.bk-student #examPlayer .actions>button{min-height:48px}
.bk-student .dash-panel .actions h2{flex:1 1 100%}
.bk-parent .controls>select{flex:1 1 180px;min-width:0;min-height:44px}
.bk-public .navigator button{min-height:44px;min-width:44px}
.bk-home nav a,.bk-home nav button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 10px}
.bk-home nav button[hidden]{display:none!important}
}
@media screen and (max-width:520px){
.bk-home .bar{flex-wrap:wrap;padding-block:10px;gap:7px}
.bk-home .bar .brand{width:100%}
.bk-home .bar nav{width:100%;gap:6px;display:flex;flex-wrap:wrap}
.bk-home .bar nav a,.bk-home .bar nav button{display:inline-flex;flex:1 1 auto;min-height:44px;font-size:.82rem;border-radius:9px;background:#f3eef9;color:#54377f;text-align:center}
.bk-home .welcome-art{width:55px;height:42px}
.bk-home .level p,.bk-home .feature p,.bk-home .panel small{font-size:.78rem;line-height:1.4}
.bk-home .level h3,.bk-home .feature h3,.bk-home .panel strong{font-size:.92rem}
.bk-home .level,.bk-home .feature{padding:10px 8px;min-height:90px}
.bk-home .panel{min-height:58px;padding:10px 12px}
.bk-home .section-head{flex-wrap:wrap}
.bk-home .section-head p{font-size:.76rem}
.bk-admin .card,.bk-student .card,.bk-parent .panel,.bk-public .card{padding:14px;border-radius:12px}
.bk-admin h1,.bk-student h1,.bk-parent h1{font-size:clamp(1.3rem,5vw,1.65rem);line-height:1.25}
.bk-admin .filters{grid-template-columns:1fr}
.bk-admin .stats b{font-size:25px}
.bk-student .dash-grid,.bk-student .student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.bk-student #examOptions{grid-template-columns:1fr}
.bk-parent .controls>*{width:100%;flex:1 1 100%}
.bk-public .top{gap:8px}
.bk-public .top>a:not(.brand){display:inline-flex;align-items:center;min-height:44px}
.bk-public .heading>*{min-width:0;overflow-wrap:anywhere}
.bk-public .actions>button{flex:1 1 125px}
.bk-public #challenge{min-width:0;max-width:100%}
}
@media screen and (max-width:360px){
.bk-home .levels,.bk-home .features{grid-template-columns:1fr}
.bk-home .level,.bk-home .feature{min-height:70px}
.bk-student .student-grid,.bk-student .dash-grid,.bk-admin .stats,.bk-admin .report-stats{grid-template-columns:1fr}
.bk-admin #panel nav{grid-template-columns:repeat(2,minmax(0,1fr))}
.bk-public .shell{padding-inline:9px}
.bk-public .card{padding:12px}
.bk-public #challenge{margin-inline:-8px}
}
