/* Mobile ergonomics; desktop component layouts remain governed by their styles. */
.dc-camera-row{display:none}.dc-image-preview{display:block;max-width:100%;max-height:230px;object-fit:contain;margin:12px auto}.dc-image-preview[hidden],.dc-upload-progress[hidden]{display:none}.dc-upload-progress{display:block;width:100%;height:10px;margin-top:18px;accent-color:#6264cf;border:0;border-radius:20px;overflow:hidden}.dc-upload-progress::-webkit-progress-bar{background:#e9edf6}.dc-upload-progress::-webkit-progress-value{background:#6264cf;border-radius:20px}
@media(max-width:860px){
 .workspace-content{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
 .workspace-shell .workspace-mobile-nav{inset-inline:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:6px;gap:2px;border-radius:19px}
 .workspace-mobile-nav button{min-width:0;min-height:53px;font-family:inherit;font-size:11px;line-height:1.5;touch-action:manipulation}
 .workspace-mobile-nav button>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .workspace-mobile-nav svg{width:22px;height:22px}
 .workspace-topbar{padding-top:env(safe-area-inset-top,0px)}
 .workspace-menu,.workspace-chat-shortcut,.nc-toggle{min-width:44px;min-height:44px}
 .workspace-sidebar-close{min-width:40px;min-height:40px}
 .workspace-menu-open .workspace-sidebar{padding-top:calc(58px + env(safe-area-inset-top,0px));height:var(--workspace-viewport-height,100dvh);top:var(--workspace-viewport-top,0px)}
 .workspace-menu-open .workspace-nav-item{min-height:45px;font-size:13px}
 .workspace-keyboard-open .workspace-mobile-nav,.workspace-keyboard-open .student-discussion-launcher{display:none!important}
 .workspace-page-content{min-width:0}.workspace-page-content table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
}
@media(max-width:680px){
 body:has(.student-discussion-window.contact-window:not(.hidden)){overflow:hidden;overscroll-behavior:none}
 input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select{font-size:16px!important}
 button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
 button,input[type=submit]{touch-action:manipulation}
 .workspace-content{padding-inline:max(14px,env(safe-area-inset-left,0px)) max(14px,env(safe-area-inset-right,0px))}
 .workspace-top-actions{gap:7px}.workspace-breadcrumb{min-width:0;gap:6px}.workspace-section-name{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
 .workspace-shell .student-dashboard-welcome p:last-child,.workspace-shell .student-next-copy p,.workspace-shell .student-update-body,.workspace-shell .student-video-description{font-size:14px;line-height:1.9}
 .workspace-shell .student-next-button,.workspace-shell .video-watch-button,.workspace-shell .student-university-actions a{min-height:44px;font-size:13px;display:inline-flex;align-items:center;justify-content:center}
 .workspace-shell .student-university-facts{gap:8px}.workspace-shell .student-university-facts>span{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
 .workspace-shell .package-item,.workspace-shell .package-stage-item{font-size:14px;line-height:1.9}
 .workspace-shell .package-stage-content p,.workspace-shell .package-stage-content label{font-size:14px;line-height:1.9;color:#3b4b63}
 .workspace-shell .package-stage-content label{min-height:46px;display:flex;align-items:center;gap:10px;padding:10px 12px}
 .workspace-shell input[type=checkbox],.workspace-shell input[type=radio]{width:21px;height:21px;flex-shrink:0}
 .dc-help,.dc-note p,.dc-info,.dc-sub,.rq-note p,.rq-muted,.meet-body,.ap-description{font-size:13px;line-height:1.9}
 .dc-btn,.rq-button,.meet-btn,.ap-button{min-height:44px;font-size:13px}
 .dc-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;max-width:100%}.dc-tab{flex-shrink:0;min-height:44px}
 .dc-card-name{min-width:0}.dc-card-name h4,.dc-file-meta>span{overflow-wrap:anywhere}
 .dc-camera-row{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:14px 0}.dc-camera-row small{font-size:12px;line-height:1.8;color:#5e6e87;flex:1 1 180px}
 .dc-upload-zone{padding:20px 13px}.dc-upload-zone input{font-size:13px;min-width:0}
 .dc-dialog,.rq-dialog,.meet-dialog,.ap-dialog,.nc-panel{position:fixed;inset-inline:0;inset-block-start:calc(var(--workspace-viewport-top,0px) + 12px);inset-block-end:auto;margin:0 auto;width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(var(--workspace-viewport-height,100dvh) - 24px);border-radius:19px;overscroll-behavior:contain}
 .nc-panel-inner{max-height:calc(var(--workspace-viewport-height,100dvh) - 24px)}
 .nc-open strong,.nc-subject{font-size:13px}.nc-detail{font-size:12px;color:#62738a}.nc-mark{min-width:30px;min-height:30px}.nc-item{grid-template-columns:31px minmax(0,1fr) 30px}
 .nc-close,.dc-close,.rq-close{min-width:40px;min-height:40px}
 .nc-tabs button,.nc-summary button{min-height:42px;font-size:12px}
 .workspace-shell .student-discussion-window.contact-window{position:fixed;inset-inline:0;top:var(--workspace-viewport-top,0px);bottom:auto;width:100%;height:var(--workspace-viewport-height,100dvh);min-height:0;max-height:none;border:0;border-radius:0;grid-template-rows:calc(68px + env(safe-area-inset-top,0px)) minmax(0,1fr);z-index:120}
 .contact-window .student-discussion-window-header{height:auto;min-height:68px;padding:calc(10px + env(safe-area-inset-top,0px)) 14px 10px}
 .contact-window .student-discussion-window-header h3{font-size:15px!important}.contact-window .student-discussion-window-header p{font-size:12px!important}
 .contact-window .discussion-window-close,.contact-window .cc-icon-button{min-width:38px;min-height:38px}
 .contact-window .discussion-contact-option-copy small{font-size:13px}.contact-window .discussion-contact-option-copy strong{font-size:15px}
 .contact-window .discussion-contact-choices{min-height:0}.contact-window .cc-message-list{min-height:0;overscroll-behavior:contain}
 .cc-message-content{font-size:14px!important;line-height:1.8!important}.cc-sender-name{font-size:11px}.cc-bubble{overflow-wrap:anywhere}.cc-attachment audio{max-width:100%;width:220px}
 .contact-window .cc-composer{padding:10px 9px calc(10px + env(safe-area-inset-bottom,0px))!important}
 .cc-composer .discussion-composer-input-row{gap:5px}.cc-composer .discussion-tool-button{width:36px;min-width:36px;min-height:40px;flex-basis:36px}
 .cc-composer button[type=submit]{min-width:40px;min-height:40px}.cc-composer textarea{max-height:100px;min-height:40px}
 body:has(.student-discussion-window.contact-window:not(.hidden)) .workspace-mobile-nav,body:has(.student-discussion-window.contact-window:not(.hidden)) .student-discussion-launcher{display:none!important}
 .contact-admin #adminPrivateChatView.cc-inbox-layout{height:calc(var(--workspace-viewport-height,100dvh) - 145px);min-height:270px}
 .cc-thread-item{min-height:76px}.cc-thread-person h4{font-size:14px}.cc-thread-snippet{font-size:13px}
 .workspace-shell .student-discussion-launcher{bottom:calc(88px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){.workspace-sidebar{transition:none}}
