@media(max-width:760px){
 .wrap{padding:10px!important;max-width:100%}
 #main>.card,.card{padding:14px!important;border-radius:14px}
 input,select,textarea,#pane-make input,#pane-make select,#pane-make textarea{font-size:16px!important;min-height:44px;max-width:100%}
 button,.btn,.btn.sm,.tab{min-height:44px;touch-action:manipulation}
 .row{gap:10px!important}.row>div{min-width:130px!important;max-width:100%}
 #main .tabs{position:sticky;top:0;z-index:20;background:white;padding:5px 0;overflow-x:auto}
 .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery img{height:150px}
 .gallery figcaption{flex-wrap:wrap;gap:8px}.gallery video{max-width:100%}
 .scen,#pane-make .scen{grid-template-columns:repeat(2,minmax(0,1fr))}
 .card{min-width:0}#login{max-width:440px;margin:30px auto}
 #pane-host #hs-cards{grid-template-columns:1fr}
 #main>.card:first-child{gap:8px;flex-wrap:wrap}
 #mobile-task-panel{padding:12px;background:#f0f4ff;border-radius:12px;margin-bottom:12px}
 #mobile-task-panel summary{padding:8px;cursor:pointer;font-weight:600}
 .mobile-task{background:white;border-radius:10px;padding:12px;margin:8px 0;overflow-wrap:anywhere}
 .mobile-task a{display:inline-block;padding:12px;color:#245bdb}
 .mobile-table-scroll{overflow-x:auto;max-width:100%}
 body.cvfull #pane-canvas>h2{max-height:135px;overflow:auto;flex-wrap:wrap}
 body.cvfull #cv{margin-top:140px}
}
#mobile-task-panel{border:1px solid #dce5fb;padding:12px;border-radius:12px;margin:12px 0}
.mobile-task{border-bottom:1px solid #ddd;padding:10px;overflow-wrap:anywhere}
.mobile-task a{display:inline-block;margin:8px}
#cv,#cv canvas,#lg-frame{touch-action:none}
@media(max-width:760px){
 body.cvfull #pane-canvas>h2{position:relative!important;left:auto!important;right:auto!important;top:auto!important;flex-shrink:0;max-height:30dvh;margin:6px!important;gap:5px!important}
 body.cvfull #cv{margin-top:0!important;min-height:0}
 body.cvfull #pane-canvas>h2 button{font-size:12px;padding:6px 9px;min-height:40px}
}
