/* Content stays quiet; material is reserved for the floating navigation layer. */
.question-map{padding-left:25px;border-left:1px solid var(--line)}
.question-map h2{font-size:11px;color:var(--secondary);font-weight:600;margin:3px 10px 13px}
.question-list{display:grid;gap:3px}
.question-link{display:flex;align-items:center;gap:10px;min-height:53px;padding:9px 10px;text-align:left;border:0;border-radius:9px;color:var(--secondary);background:transparent;outline:none}
.question-link:hover{background:var(--hover)}
.question-link.current{color:var(--text);background:var(--surface2)}
.question-link:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.question-number{font-size:12px;font-variant-numeric:tabular-nums;width:17px;text-align:center;flex-shrink:0;color:var(--dim)}
.question-link.current .question-number{color:var(--accent);font-weight:600}
.question-link-copy{flex:1;min-width:0}.question-link-copy strong{font-size:12px;font-weight:500;display:block}.question-link-copy small{display:block;font-size:10px;color:var(--secondary);margin-top:4px;line-height:1.4}
.question-link-state{width:13px;flex-shrink:0;display:grid;place-items:center;color:var(--secondary)}.question-link-state svg{width:11px;height:13px}.question-link.current .question-link-state{color:var(--accent)}
.question-map>p{padding:17px 10px;margin:8px 0 0;color:var(--dim);font-size:10px}
.question-map>.text-link{font-size:11px;line-height:1.7;text-align:left;margin:8px 10px;min-height:32px}
.question-map>.leave-quiz{color:var(--secondary);font-size:10px}
.quiz-layout{grid-template-columns:minmax(0,1fr) 206px;gap:44px;max-width:1040px;margin:0 auto}
.quiz-heading{max-width:1040px;margin:0 auto 30px;align-items:center}.quiz-heading h1{font-size:22px;letter-spacing:-.55px}.quiz-timer{background:none;padding:7px 0;color:var(--secondary);font-size:12px;gap:6px}.quiz-timer svg{width:13px;height:13px}
.quiz-breadcrumb{max-width:1040px;margin:0 auto 27px}
.question-meta{padding:0 0 17px;border:0;font-size:11px}.flag-question{font-size:11px;min-height:32px;gap:7px}.flag-question svg{width:11px;height:14px}
.question-fieldset{padding:0}.question-fieldset legend{font-size:23px;font-weight:550;line-height:1.4;letter-spacing:-.55px;margin-bottom:12px}.question-title:focus{outline:none}
.answer-hint{font-size:12px;margin-bottom:25px}
.answer-group{background:var(--surface2);border-radius:12px;overflow:hidden}
.answer-option{margin:0;min-height:58px;border:0;border-radius:0;padding:17px 18px;gap:13px;position:relative;font-size:13px;line-height:1.55;background:transparent}
.answer-option+.answer-option:before{content:'';height:.5px;position:absolute;left:48px;right:0;top:0;background:var(--line)}
.answer-option.chosen{background:transparent;border:0;color:var(--text)}
.answer-option:hover{background:var(--hover)}.answer-option:has(input:focus-visible){box-shadow:inset 0 0 0 2px var(--focus-ring)}
.answer-option input{width:17px;height:17px;accent-color:var(--brand)}.answer-option input:focus-visible{outline:none}
.answer-save-note{display:flex;align-items:center;gap:6px;color:var(--dim);font-size:10px;margin-top:17px}.answer-save-note svg{width:11px;height:11px;color:var(--secondary)}
.question-footer{justify-content:space-between;margin-top:30px;padding-top:0;border:0}.question-footer>.button{min-width:90px}
.quiz-intro{max-width:620px;text-align:left;margin:0 auto;padding:20px 0 35px}.quiz-hero-icon{display:none}.quiz-intro h2{font-size:21px;letter-spacing:-.45px}.quiz-intro>p:not(.quiet-note){margin:0;max-width:550px}.quiz-facts{margin:30px 0;padding:22px 0;text-align:left;gap:18px}.quiz-facts>div+div{border:0}.quiz-facts strong{font-size:20px}.quiz-facts span{font-size:11px}.quiz-intro>.button{min-width:150px}
.sheet-grabber{display:none}.sheet-question-list{padding:10px 18px 22px}.question-sheet .dialog-footer{gap:10px}.question-sheet .dialog-top{padding-top:25px}
#mobile-chrome{display:none}.event-dot{display:none}
@media(max-width:1100px) and (min-width:901px){.quiz-layout{gap:25px;grid-template-columns:minmax(0,1fr) 174px}.question-map{padding-left:15px}.question-fieldset legend{font-size:21px}.answer-option{font-size:13px}.quiz-heading h1{font-size:21px}}
/* Phone layout: full-width content, safe-area toolbar and thumb-level actions. */
@media(max-width:900px){
 :root{--phone-bottom:82px;--phone-pad:20px}
 html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{font-size:16px;background:var(--surface);overscroll-behavior:none}
 .ambient{display:none}.workspace,.sidebar-hidden .workspace{height:var(--visible-height,100dvh);margin:0;transition:none}
 .toolbar{height:calc(62px + env(safe-area-inset-top));min-height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;gap:10px;background:var(--surface);z-index:22}
 .toolbar-left{font-size:15px;gap:9px}.toolbar-left>span{max-width:calc(100vw - 162px)}
 .tool,.tool-group .tool{width:44px;height:44px;min-width:44px}.tool svg{width:19px;height:19px}.tool-group{padding:0;gap:0}.toolbar .tool-group:has(.toolbar-search){background:none;border:0;box-shadow:none;backdrop-filter:none}.toolbar .tool-group .tool{width:44px;height:44px}.toolbar-actions{gap:3px}.toolbar .sidebar-toggle{background:none;box-shadow:none;border:0}
 .work-body{padding:0;gap:0;padding-bottom:calc(var(--phone-bottom) + env(safe-area-inset-bottom))}
 main{border:0;border-radius:0;scroll-padding-top:12px;scroll-padding-bottom:25px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .main-content{padding:20px var(--phone-pad) 28px;min-height:100%;overflow-wrap:break-word}.focused-view .main-content{max-width:none}
 .statusbar{display:none}
 .page-head{margin-bottom:25px;gap:12px;flex-wrap:wrap}.page-head h1,h1{font-size:28px;letter-spacing:-.65px;line-height:1.18}.page-head .subtitle,.subtitle{font-size:14px;line-height:1.6}.eyebrow{font-size:12px}.source-course{font-size:12px;min-height:44px;padding:10px 15px}
 .button{min-height:44px;padding:11px 18px;font-size:15px;line-height:1.4;white-space:normal}.button svg{width:15px;height:15px}.text-link{min-height:44px;align-items:center;font-size:14px}.tool:active,.button:active{transform:scale(.98)}
 .segments{box-shadow:none;background:var(--surface2);border:0;backdrop-filter:none;padding:3px;gap:1px;min-height:44px}.segments button{font-size:12px;min-height:38px;padding:8px;flex:1}.segment-wrap{margin-bottom:22px}.course-legend{font-size:11px;gap:6px 15px;line-height:1.5}.course-module summary{font-size:14px;min-height:56px;gap:10px;padding:18px 0}.module-number{font-size:11px}.module-content{padding:0 0 10px}.lesson-heading{margin:16px 0 5px;gap:8px}.lesson-heading h3{font-size:12px}.lesson-code{font-size:11px}.lesson-block .task-row,.task-row{padding:14px 8px;min-height:68px;gap:12px}.task-copy strong{font-size:15px;line-height:1.45}.task-copy small{font-size:12px;line-height:1.5}.task-trailing{max-width:78px;font-size:12px}.review-label{font-size:11px}.row-symbol{width:22px}.row-symbol svg{width:20px;height:22px}.global-group>h2{font-size:14px;line-height:1.5;margin-left:0}.global-group>h2>span{font-size:12px}.course-row{min-height:76px;padding:16px 0;gap:14px}.course-row strong{font-size:16px}.course-row small{font-size:12px}.course-row>svg{width:23px;height:23px;margin:0}.material-row{padding:16px 0;min-height:64px}.material-row strong{font-size:14px}.material-row small{font-size:12px}.not-imported{font-size:12px;padding:9px 0}.list-bottom,.quiet-note{font-size:12px;line-height:1.6}.empty{font-size:14px}
 .sidebar,.sidebar-hidden .sidebar{inset:8px 8px calc(8px + env(safe-area-inset-bottom)) 8px;width:auto;max-width:380px;transform:translateX(-110%);visibility:hidden;padding:18px 16px 12px;display:block;overflow-y:auto;overscroll-behavior:contain;z-index:70;transition:transform .2s ease;border-radius:24px}
 .sidebar.open,.sidebar-hidden .sidebar.open{visibility:visible;transform:none}.scrim.open{z-index:69;background:#0005}.sidebar-head{padding:0 1px 15px}.sidebar-head .tool{width:44px;height:44px}.sidebar-head strong{font-size:21px}.university-brand>div>span{font-size:11px}.sidebar-search{width:100%;margin:0 0 22px;height:44px;min-height:44px;font-size:16px;padding:0 15px}.sidebar-search svg{width:17px;height:17px}.sidebar-search kbd{display:none}.nav-label{font-size:12px}.nav-row{min-height:48px;font-size:16px;padding:12px;gap:13px}.nav-row svg{width:21px;height:21px}.nav-row .count{font-size:13px}.sidebar-section{font-size:12px;padding-top:25px}.course-nav{overflow:visible;min-height:0;flex:none}.course-nav .nav-row{font-size:14px;min-height:48px;padding:12px;align-items:center}.course-nav .nav-row svg{width:19px;height:19px}.course-nav .nav-row span{white-space:normal}.sidebar-foot{padding-top:18px}.profile{min-height:44px;font-size:14px}.profile small{font-size:11px}.avatar{width:34px;height:34px;font-size:12px}
 #mobile-chrome{display:block;position:fixed;z-index:35;left:12px;right:12px;bottom:calc(8px + env(safe-area-inset-bottom));max-width:560px;margin:0 auto}
 .mobile-tabbar{display:flex;align-items:center;padding:5px 6px;border-radius:30px;gap:2px;background:var(--glass)}.mobile-tabbar button{flex:1;min-width:0;min-height:54px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border-radius:24px;font-size:10px;font-weight:500;color:var(--secondary)}.mobile-tabbar button svg{width:21px;height:21px}.mobile-tabbar button[aria-current=page]{background:var(--selected-glass);color:var(--accent)}
 .mobile-quiz-controls{display:flex;align-items:center;padding:7px;border-radius:32px;gap:7px}.mobile-quiz-controls>.button{margin-left:auto;min-width:112px;padding:11px 17px;white-space:nowrap}.mobile-quiz-controls>.tool{color:var(--text)}.question-picker{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 10px;font-size:14px;font-variant-numeric:tabular-nums}.question-picker svg{width:16px;height:16px;color:var(--secondary)}
 .quiz-breadcrumb{margin:0 0 20px;gap:10px;font-size:12px;min-height:44px}.quiz-breadcrumb .text-link{font-size:14px;white-space:nowrap}.quiz-breadcrumb>span:not(.demo-pill){display:none}.demo-pill{font-size:11px;padding:5px 9px}.quiz-heading{margin:0 0 25px;gap:12px;flex-wrap:wrap;align-items:center}.quiz-heading h1{font-size:24px;line-height:1.3;letter-spacing:-.5px;flex:1;min-width:170px}.quiz-timer{font-size:13px;padding:0}.quiz-timer svg{width:14px;height:14px}
 .quiz-layout{display:block}.question-map{display:none}.question-meta{padding-bottom:14px;font-size:13px}.flag-question{min-height:44px;padding:0 4px;font-size:13px;gap:7px}.flag-question svg{width:12px;height:16px}.question-fieldset legend{font-size:24px;line-height:1.3;letter-spacing:-.45px;margin-bottom:12px}.answer-hint{font-size:14px;line-height:1.6;margin-bottom:22px}.answer-group{border-radius:14px}.answer-option{font-size:16px;min-height:60px;padding:17px 15px;line-height:1.5;gap:13px}.answer-option input{width:20px;height:20px}.answer-option+.answer-option:before{left:48px}.answer-save-note{font-size:12px;margin-top:17px;line-height:1.5}.question-footer{display:none}.short-answer{font-size:17px;min-height:50px;padding:14px;border-radius:12px}.quiz-active .main-content{padding-bottom:30px}
 .quiz-intro{padding:0 0 20px}.quiz-intro h2{font-size:21px;line-height:1.35}.quiz-intro>p:not(.quiet-note){font-size:15px;line-height:1.6}.quiz-facts{gap:12px;margin:27px 0;padding:20px 0}.quiz-facts strong{font-size:20px}.quiz-facts span{font-size:12px;line-height:1.5}.quiz-intro>.button{width:100%;min-height:50px}.quiz-intro .quiet-note{font-size:12px;margin-top:14px}.quiz-intro .resume-note{font-size:13px!important}.quiz-result{padding-top:12px}.quiz-result>p{font-size:14px;line-height:1.6}.result-actions{display:grid;grid-template-columns:1fr;width:100%;gap:10px}.result-actions .button{min-height:48px}.answer-review>h2{font-size:16px}.answer-review summary{font-size:14px;min-height:48px}.answer-review summary small{font-size:11px}.answer-review p{font-size:14px;margin-left:24px}
 .modal-backdrop{padding:0;align-items:flex-end;background:#0005}.dialog{width:100%;max-width:100%;border-radius:26px 26px 0 0;max-height:calc(var(--visible-height,100dvh) - env(safe-area-inset-top) - 12px);padding-bottom:env(safe-area-inset-bottom);overscroll-behavior:contain}.dialog-close{top:13px;right:12px;width:44px;height:44px;background:none}.dialog-close svg{width:15px;height:15px}.dialog-top{padding:26px 22px 20px}.dialog h2{font-size:22px;padding-right:30px}.dialog-body{padding:22px}.dialog-body p{font-size:15px}.dialog-footer{padding:16px 20px;flex-wrap:wrap;gap:10px}.dialog-footer .button{flex:1;font-size:14px;min-height:44px}.dialog-footer small{font-size:12px}.sheet-grabber{display:block;width:34px;height:5px;background:var(--dim);opacity:.4;border-radius:999px;margin:9px auto 0}.question-sheet .dialog-top{padding-top:19px}.sheet-question-list{padding:7px 12px 22px}.question-link{min-height:64px;padding:12px 14px;gap:15px;border-radius:12px}.question-number{font-size:16px;width:24px}.question-link-copy strong{font-size:16px}.question-link-copy small{font-size:12px}.question-link-state{width:20px}.question-link-state svg{width:15px;height:17px}.question-sheet .dialog-footer .button{font-size:14px}.question-sheet .dialog-top .subtitle{margin-top:6px}
 .search-dialog{align-self:flex-start;margin:calc(8px + env(safe-area-inset-top)) 8px 0;max-width:calc(100% - 16px);border-radius:25px}.search-header{padding:14px 55px 14px 15px}.search-capsule{padding:0 13px;min-height:46px}.search-dialog .search-capsule input{font-size:16px;padding:12px 0}.search-capsule>.key{display:none}.search-dialog .dialog-close{top:15px;right:8px}.search-result{min-height:62px;padding:12px;gap:12px}.search-result strong{font-size:15px}.search-result small{font-size:12px}.search-results{max-height:calc(var(--visible-height,100dvh) - 180px);padding:0 9px 9px}.search-caption{font-size:12px;margin:8px 12px}.search-dialog .dialog-footer{display:none}
 .inspector.mobile-open{position:fixed;z-index:60;left:0;right:0;top:auto;bottom:0;width:100%;max-height:calc(var(--visible-height,100dvh) - 75px);border-radius:26px 26px 0 0;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -20px 100px #0005}.inspector-top{padding:12px 20px 0;font-size:13px}.inspector-top .tool{width:44px;height:44px}.inspector-content{padding:15px 24px 28px}.inspector h2{font-size:22px}.inspector-course{font-size:14px}.detail-fields>div{font-size:14px;gap:15px}.detail-fields dd{max-width:60%}.inspector-label{font-size:15px}.description{font-size:15px}.file-item{min-height:54px}.file-item strong{font-size:14px}.file-item small{font-size:12px}.plain-status{font-size:13px}
 .section-heading{align-items:flex-start;flex-wrap:wrap;gap:13px}.section-heading h2{font-size:16px}.section-heading select{max-width:100%;width:100%;font-size:16px;min-height:46px;padding:10px 34px 10px 12px}.grade-summary>strong{font-size:23px}.grade-summary>span,.grade-summary>small{font-size:13px;line-height:1.6}.grade-table strong{font-size:14px}.grade-table small{font-size:12px}.grade-table>button{gap:13px;padding:16px 0}.grade-table>button>span:last-child{font-size:16px;white-space:normal;min-width:74px}.grade-table-head{font-size:12px;padding:12px 0}
 .calendar-month{flex-wrap:wrap;gap:12px;margin-bottom:18px}.calendar-month h2{font-size:19px}.calendar-month>div{gap:2px}.calendar-month .button{font-size:14px;padding:10px 13px}.calendar-grid{margin:0 -14px;border:0;gap:0;border-radius:0}.weekday{font-size:12px;border:0;padding:12px 0}.calendar-cell{min-height:52px;height:52px;border:0;padding:4px;background:none;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;border-radius:0}.calendar-cell.other{background:none}.date-number{width:34px;height:34px;font-size:15px}.calendar-cell.selected-date{background:none;box-shadow:none}.calendar-cell.selected-date .date-number{background:var(--accent);color:white;border-radius:50%}.calendar-cell.today:not(.selected-date) .date-number{background:none;color:var(--accent);font-weight:600}.calendar-event{display:none}.event-dot{display:block;width:4px;height:4px;border-radius:50%;background:var(--secondary)}.local-event{padding:14px 0}.local-event strong{font-size:15px;line-height:1.5}.local-event small{font-size:12px}.form-input,textarea{font-size:16px;min-height:48px}.dialog-label{font-size:14px}.form-columns{gap:12px;flex-wrap:wrap}.form-columns label{font-size:14px;min-width:120px}.form-columns input{min-width:0;max-width:100%;font-size:16px}.rating-row button{min-height:48px;font-size:16px}
 .pdf-dialog{height:calc(var(--visible-height,100dvh) - env(safe-area-inset-top) - 10px);max-height:calc(var(--visible-height,100dvh) - env(safe-area-inset-top) - 10px);border-radius:22px 22px 0 0}.pdf-dialog h2{font-size:17px;overflow-wrap:anywhere}.pdf-dialog .dialog-top{padding:22px 60px 18px 20px}.pdf-dialog .dialog-footer{flex-wrap:nowrap;padding:12px 15px}.pdf-dialog .dialog-footer .button{flex:none;font-size:13px}.pdf-pages{padding:6px}.pdf-pages img{min-width:100%}.pdf-navigation{font-size:13px;gap:5px}.pdf-navigation .tool{min-width:44px}.personal-files .material-row>span{min-width:0}.personal-files .material-row strong{overflow-wrap:anywhere}
 .editing-field #mobile-chrome{display:none}.editing-field .work-body{padding-bottom:0}.toast{bottom:calc(95px + env(safe-area-inset-bottom));font-size:14px;width:max-content;max-width:calc(100% - 32px)}
}
@media(max-width:360px){:root{--phone-pad:16px}.main-content{padding-left:16px;padding-right:16px}.calendar-grid{margin:0 -10px}.quiz-facts strong{font-size:18px}.quiz-facts span{font-size:11px}.quiz-heading h1{font-size:22px}.question-fieldset legend{font-size:22px}.question-picker{gap:6px;padding:0 5px}.mobile-quiz-controls>.button{min-width:105px}.form-columns{display:block}.form-columns label{display:block;margin-top:14px}.question-sheet .dialog-footer{padding:14px 12px}.question-sheet .dialog-footer .button{font-size:13px;padding:11px 12px}}
@media(prefers-reduced-transparency:reduce){.mobile-tabbar,.mobile-quiz-controls{background:var(--surface2);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-contrast:more){.answer-option+.answer-option:before{height:1px}.question-link.current{box-shadow:inset 3px 0 0 var(--accent)}.answer-save-note,.question-link-copy small{color:var(--text)}}
@media(max-width:360px){.segments button{padding:8px 4px;font-size:11px;flex:1 1 auto;min-width:0}.calendar-grid{margin-left:-16px;margin-right:-16px}}
@media(max-width:900px) and (max-height:500px){:root{--phone-bottom:66px}.toolbar{height:52px;min-height:52px}.mobile-tabbar{padding:2px 5px}.mobile-tabbar button{min-height:46px;flex-direction:row;gap:7px;font-size:12px}.mobile-quiz-controls{padding:3px 6px}.main-content{padding-top:12px}.quiz-breadcrumb{margin-bottom:8px}.quiz-heading{margin-bottom:14px}.question-sheet .question-link{min-height:48px;padding:8px 12px}.question-sheet .dialog-top{padding:15px 22px 10px}.question-sheet .dialog-footer{padding:10px 16px}.sheet-question-list{padding-bottom:10px}}

/* v6 — One navigation model per size; a consistent university concept accent. */
:root{--brand:#3f67aa;--accent:#3f67aa;--selection:#e9eff9;--focus-ring:#3f67aa66;--on-accent:#fff}
:root[data-theme=dark]{--accent:#91b4eb;--selection:#2b3c56;--focus-ring:#91b4eb88}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--accent:#91b4eb;--selection:#2b3c56;--focus-ring:#91b4eb88}}
[hidden]{display:none!important}
.ambient{background:radial-gradient(ellipse at 0% 0%,#9bb1d429,transparent 40%)}
.university-mark{background:none;box-shadow:none}
.nav-row.active,.nav-row.active:hover{background:var(--brand);color:var(--on-accent);box-shadow:none}
.nav-row.active svg,.nav-row.active .count{color:var(--on-accent)}
.button.primary{background:var(--brand);color:var(--on-accent)}
.button.primary:hover{background:color-mix(in srgb,var(--brand) 90%,black)}
.task-row.selected{background:var(--brand);color:var(--on-accent)}
.task-row.selected :is(small,svg,.row-symbol,.review-label){color:var(--on-accent)}
.question-link.current{background:var(--brand);color:var(--on-accent)}
.question-link.current :is(.question-number,.question-link-state,small){color:var(--on-accent)}
.answer-option.chosen{background:var(--brand);color:var(--on-accent)}
.answer-option input{accent-color:var(--brand)}.answer-option.chosen input{accent-color:white}
.answer-option:has(input:focus-visible){box-shadow:inset 0 0 0 2px var(--focus-ring)}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible,.question-link:focus-visible{outline-color:var(--focus-ring)}
.question-title:focus{outline:none}.search-capsule:focus-within{outline-color:var(--focus-ring)}
.short-answer:focus,.form-input:focus{border-color:var(--accent);outline-color:var(--focus-ring)}
.calendar-cell.selected-date .date-number{background:var(--brand)}
.empty-inspector .inspector:not(.mobile-open){display:none}
.mobile-brand{display:none}
/* The content itself scrolls; glass sheets never show an opaque native gutter. */
.search-dialog{display:flex;flex-direction:column;overflow:hidden;max-height:calc(var(--visible-height,100dvh) - 80px)}
.search-header,.search-dialog .dialog-footer{flex-shrink:0}
.search-results{flex:1;min-height:0;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:auto}
.search-results,.dialog,main,.inspector{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--secondary) 40%,transparent) transparent}
.search-results::-webkit-scrollbar,.dialog::-webkit-scrollbar,main::-webkit-scrollbar,.inspector::-webkit-scrollbar{width:7px;height:7px;background:transparent}
.search-results::-webkit-scrollbar-track,.dialog::-webkit-scrollbar-track,main::-webkit-scrollbar-track,.inspector::-webkit-scrollbar-track{background:transparent}
.search-results::-webkit-scrollbar-thumb,.dialog::-webkit-scrollbar-thumb,main::-webkit-scrollbar-thumb,.inspector::-webkit-scrollbar-thumb{border-radius:99px;background:color-mix(in srgb,var(--secondary) 40%,transparent);border:2px solid transparent;background-clip:padding-box}
.search-results::-webkit-scrollbar-corner{background:transparent}
.search-result:hover,.search-result:focus-visible{background:var(--brand);color:var(--on-accent)}
.search-result:hover :is(svg,small),.search-result:focus-visible :is(svg,small){color:var(--on-accent)}
.tests-controls{display:flex;align-items:flex-end;gap:20px;justify-content:space-between;flex-wrap:wrap;margin-top:30px}
.course-filter{display:flex;flex-direction:column;gap:8px;min-width:0;max-width:100%;flex:1 1 250px}
.course-filter>span{font-size:11px;color:var(--secondary);font-weight:500}
.course-filter select{font:inherit;color:var(--text);background:var(--surface2);border:1px solid var(--line);border-radius:9px;padding:9px 12px;min-height:38px;max-width:100%;width:100%;text-overflow:ellipsis;outline-color:var(--focus-ring)}
.tests-status{flex-shrink:0;box-shadow:none;border:0;background:var(--surface2);padding:3px;min-height:38px;backdrop-filter:none}
.tests-status button{min-height:32px;padding:7px 11px;font-size:11px;white-space:nowrap}.tests-status button span{margin-left:5px;font-size:10px;opacity:.7;font-variant-numeric:tabular-nums}
.tests-status button.active{background:var(--brand);color:var(--on-accent);box-shadow:none}
.tests-context{font-size:10px;color:var(--dim);margin:12px 0 26px}
.test-subject{margin-bottom:32px}.test-subject-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.test-subject-heading>svg{width:18px;height:18px;color:var(--accent)}.test-subject-heading h2{font-size:15px;font-weight:600;line-height:1.4}.test-subject-heading>span{margin-left:auto;color:var(--secondary);font-size:11px;font-variant-numeric:tabular-nums}
.test-rows{border:1px solid var(--line);border-radius:13px;overflow:hidden}.test-row{display:flex;align-items:center;justify-content:space-between;width:100%;gap:20px;padding:17px 18px;text-align:left;min-height:94px}.test-row+.test-row{border-top:.5px solid var(--line)}.test-row:hover{background:var(--hover)}.test-row:focus-visible{outline-offset:-3px}.test-row-copy{min-width:0}.test-row strong{display:block;font-size:13px;font-weight:550;line-height:1.5}.test-row small{display:block;color:var(--secondary);font-size:11px;margin-top:4px;line-height:1.5}.test-state{display:flex;align-items:center;gap:5px;color:var(--dim);font-size:10px;margin-top:9px}.test-state svg{width:11px;height:11px}.test-state.progress{color:var(--accent)}.test-state.done{color:var(--green)}
.test-row-action{flex-shrink:0;display:flex;align-items:center;gap:10px;color:var(--accent);font-size:11px}.test-row-action svg{width:6px;height:9px;color:var(--dim)}
.test-expand{min-height:40px;display:flex;align-items:center;gap:8px;color:var(--accent);font-size:12px;padding:8px 1px}.test-expand svg{width:6px;height:9px}.tests-empty>svg{width:32px;height:32px;margin-bottom:18px;color:var(--secondary)}.tests-empty h2{font-size:19px;margin-bottom:10px}.tests-empty p{max-width:400px;margin:0 auto 20px;line-height:1.7}
.cabinet-profile{display:flex;gap:16px;align-items:center;margin:4px 0 36px}.cabinet-profile>.avatar{width:56px;height:56px;font-size:20px;background:var(--selection);color:var(--accent)}.cabinet-profile h2{font-size:20px;margin-bottom:6px}.cabinet-profile p{font-size:13px;color:var(--secondary)}.cabinet-profile small{display:block;font-size:11px;color:var(--dim);margin-top:5px}.cabinet-label{font-size:12px;color:var(--secondary);margin:25px 0 10px 12px}.cabinet-list{background:var(--surface2);border-radius:13px;overflow:hidden}.cabinet-list>button{display:flex;align-items:center;gap:14px;min-height:52px;padding:13px 16px;width:100%;text-align:left}.cabinet-list>button+button{border-top:.5px solid var(--line)}.cabinet-list>button>svg:first-child{color:var(--accent)}.cabinet-list>button>.chevron{margin-left:auto;width:7px;height:11px;color:var(--dim)}.cabinet-list>button:hover{background:var(--hover)}
@media(min-width:901px){.main-content:has(.test-catalog){max-width:1020px;margin:auto}.sidebar-head>.tool{display:none}.toolbar .sidebar-toggle{display:inline-flex}.sidebar-hidden .toolbar .sidebar-toggle{display:inline-flex}}
@media(max-width:900px){
 .toolbar .sidebar-toggle,.toolbar #inspector-toggle{display:none!important}
 .toolbar-left>#toolbar-title{display:none}.toolbar-left>.mobile-brand{display:flex;align-items:center;gap:9px;max-width:none;font-size:17px;letter-spacing:-.5px;color:var(--text)}.mobile-brand img{width:30px;height:27px;object-fit:contain}.mobile-brand b{font-weight:650}.toolbar-left{padding-left:6px}.toolbar-actions .tool-group{border:0;box-shadow:none}
 .mobile-tabbar button[aria-current=page]{background:var(--selection);color:var(--accent)}
 .tests-controls{display:block;margin-top:24px}.course-filter{width:100%;margin-bottom:15px;gap:7px}.course-filter>span{font-size:12px}.course-filter select{font-size:16px;min-height:46px;border-radius:11px;padding:10px 8px}.tests-status{width:100%;min-height:44px}.tests-status button{font-size:11px;min-width:0;padding:8px 6px;min-height:38px;flex:1;white-space:normal}.tests-status button span{display:none}.tests-context{font-size:11px;line-height:1.5;margin:12px 0 26px}
 .test-subject{margin-bottom:26px}.test-subject-heading{gap:9px;margin-bottom:12px}.test-subject-heading h2{font-size:16px}.test-subject-heading>span{font-size:12px}.test-subject-heading>svg{width:20px;height:20px}.test-row{padding:15px 14px;min-height:108px;gap:12px}.test-row strong{font-size:15px;line-height:1.4}.test-row small{font-size:12px;line-height:1.5}.test-state{font-size:11px;line-height:1.5;margin-top:9px}.test-row-action{font-size:0;gap:0}.test-row-action svg{width:7px;height:11px}.test-expand{font-size:14px;min-height:44px;padding-left:3px}.test-expand svg{width:7px;height:11px}
 .cabinet-profile{margin:0 0 30px;gap:13px}.cabinet-profile h2{font-size:19px}.cabinet-profile p{font-size:13px}.cabinet-profile small{font-size:12px;line-height:1.5}.cabinet-profile .avatar{width:50px;height:50px;font-size:18px}.cabinet-label{font-size:13px}.cabinet-list>button{min-height:56px;font-size:16px}
 .search-dialog{max-height:calc(var(--visible-height,100dvh) - 16px - env(safe-area-inset-top))}.search-results{max-height:none;padding-bottom:14px}.search-dialog .search-header{padding-bottom:18px}
}
@media(max-width:360px){.tests-status button{font-size:10px;padding:7px 3px}.test-row{padding:14px 12px}.test-row strong{font-size:14px}}
.university-mark .owl-logo{width:43px;height:36px;color:var(--accent)}.mobile-brand .owl-logo{width:30px;height:27px;color:var(--accent)}.test-expand .turned{transform:rotate(-90deg)}
@media(max-width:1170px) and (min-width:901px){.university-mark .owl-logo{width:35px;height:30px}}
/* v7: contextual popup choices and explicit child navigation. */
.course-filter{flex:0 1 auto;min-width:200px;max-width:100%}
.course-picker-button{display:inline-flex;align-items:center;gap:12px;max-width:100%;min-width:0;min-height:36px;padding:8px 14px;border:0;border-radius:10px;background:var(--surface2);box-shadow:inset 0 .5px 0 color-mix(in srgb,var(--text) 5%,transparent);text-align:left;font-size:13px;line-height:1.4}
.course-picker-button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-picker-button small{font-size:11px;color:var(--secondary);font-variant-numeric:tabular-nums}.course-picker-button .picker-chevron{width:8px;height:12px;color:var(--secondary);margin-left:auto;flex-shrink:0}.course-picker-button:hover,.course-picker-button[aria-expanded=true]{background:var(--button)}
.course-picker-menu{position:fixed;inset:auto;margin:0;padding:6px;border:1px solid var(--edge);border-radius:16px;background:var(--glass);backdrop-filter:blur(30px) saturate(1.35);-webkit-backdrop-filter:blur(30px) saturate(1.35);box-shadow:var(--glass-shadow),0 16px 50px #0003;color:var(--text);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--dim) transparent}
.course-picker-menu::backdrop{background:transparent}.course-picker-scroll>button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border-radius:9px;min-height:36px;padding:9px 12px 9px 8px;font-size:13px;line-height:1.4}.course-picker-scroll>button:hover,.course-picker-scroll>button:focus{background:var(--brand);color:var(--on-accent);outline:none}.course-picker-menu .menu-check{width:14px;min-width:14px;display:flex;align-items:center;justify-content:center}.menu-check svg{width:11px;height:11px}.menu-title{flex:1;min-width:0}.course-picker-menu small{font-size:11px;color:var(--secondary);min-width:16px;text-align:right}.course-picker-scroll>button:hover small,.course-picker-scroll>button:focus small{color:inherit}
.cabinet-back{display:none}
@media(max-width:900px){
 .course-filter{width:auto;max-width:100%;display:flex;align-items:flex-start;margin-bottom:18px}.course-filter>span{font-size:12px}
 .course-picker-button{min-height:44px;padding:11px 16px;font-size:15px;gap:12px;border-radius:12px;max-width:100%}.course-picker-button small{font-size:12px}.course-picker-button .picker-chevron{width:9px;height:13px;margin-left:3px}
 .section-heading:has(.course-picker-button){display:flex;flex-direction:column;align-items:flex-start;gap:12px}.section-heading .course-picker-button{width:auto;max-width:100%}
 .course-picker-scroll>button{min-height:44px;font-size:15px;padding:12px 12px 12px 9px;gap:11px}.course-picker-menu small{font-size:12px}.course-picker-menu{border-radius:18px;padding:6px}
 .cabinet-child .toolbar-left>.mobile-brand{display:none}.cabinet-child .cabinet-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:17px;font-weight:400;color:var(--accent);padding:0 9px 0 0}.cabinet-back svg{width:12px;height:20px}.cabinet-child .toolbar-left{padding-left:4px}
 .inspector-content{padding-top:22px}.inspector-content>.eyebrow{margin-top:0}
}
@media(prefers-reduced-transparency:reduce){.course-picker-menu{background:var(--surface2);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* v8: the scroll track belongs to an inset list, not the rounded glass shell. */
.course-picker-menu{padding:10px;overflow:hidden;scrollbar-width:none}
.course-picker-menu:popover-open{display:flex;flex-direction:column}
.course-picker-scroll{position:relative;min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border-radius:9px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--secondary) 50%,transparent) transparent}
.course-picker-scroll::-webkit-scrollbar{width:6px;background:transparent}
.course-picker-scroll::-webkit-scrollbar-track{background:transparent}
.course-picker-scroll::-webkit-scrollbar-thumb{border-radius:999px;background:color-mix(in srgb,var(--secondary) 50%,transparent)}
.course-picker-scroll::-webkit-scrollbar-corner{background:transparent}

/* v9: route fades never enlarge scroll bounds; filters update without replaying entry. */
main{scrollbar-gutter:stable}
/* v10 — a deadline is independent of submission and grading state. */
:root{--overdue:#b63532;--overdue-fill:#fbefed;--due-today:#936113}
:root[data-theme=dark]{--overdue:#ff9690;--overdue-fill:#402d2d;--due-today:#e1bb74}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--overdue:#ff9690;--overdue-fill:#402d2d;--due-today:#e1bb74}}
.main-content:has(.deadline-groups){max-width:1050px;margin:auto}
.deadline-mode-note{display:flex;align-items:flex-start;gap:10px;background:var(--surface2);border-radius:12px;padding:13px 15px;font-size:11px;color:var(--secondary);line-height:1.6;margin-bottom:24px}.deadline-mode-note>svg{width:15px;height:15px;margin-top:2px}.deadline-mode-note>span{flex:1;min-width:0}.deadline-mode-note strong{display:block;color:var(--text);font-size:12px;margin-bottom:2px}.deadline-mode-note .text-link{margin-left:0;white-space:nowrap;min-height:32px;font-size:11px}
.deadline-overview{display:flex;align-items:center;gap:34px;padding:0 0 24px;margin-bottom:23px;border-bottom:1px solid var(--line)}.deadline-overview>button{text-align:left;display:flex;align-items:baseline;gap:9px;min-height:44px}.deadline-overview strong{font-size:29px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-1px}.deadline-overview>button>span{font-size:12px;color:var(--secondary)}.deadline-overview .has-overdue strong{color:var(--overdue)}.deadline-overview-note{margin-left:auto;max-width:215px;color:var(--dim);font-size:11px;line-height:1.6}
.deadline-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:30px}.deadline-filters{background:var(--surface2);box-shadow:none;border:0;backdrop-filter:none}.deadline-filters button{font-size:11px;padding:8px 11px;min-height:32px}.deadline-filters button>span{margin-left:6px;font-size:10px;opacity:.7}.deadline-filters button.active{background:var(--brand);color:white;box-shadow:none}
.deadline-group{margin-bottom:28px}.deadline-group>h2{display:flex;align-items:center;gap:7px;font-size:14px;margin:0 1px 11px}.deadline-group>h2>span{margin-left:auto;font-size:11px;font-weight:400;color:var(--dim)}.deadline-group.overdue>h2{color:var(--overdue)}.deadline-group>h2>svg{width:14px;height:14px}.deadline-list{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.deadline-row{display:flex;align-items:center;width:100%;gap:14px;min-height:95px;padding:17px 18px;text-align:left}.deadline-row+.deadline-row{border-top:.5px solid var(--line)}.deadline-row:hover{background:var(--hover)}.deadline-row:focus-visible{outline-offset:-3px}.deadline-row-icon{width:20px;flex-shrink:0;color:var(--secondary)}.deadline-row-icon svg{width:19px;height:20px}.deadline-row-copy{flex:1;min-width:0}.deadline-row-copy>small{font-size:10px;color:var(--secondary);display:block;line-height:1.5;margin-bottom:5px}.deadline-row-copy>strong{display:block;font-size:13px;line-height:1.5}.deadline-state{display:flex;align-items:center;gap:5px;margin-top:7px;color:var(--secondary);font-size:10px;line-height:1.5}.deadline-state svg{width:11px;height:11px}.deadline-state.revision{color:var(--due-today)}.deadline-state.done{color:var(--green)}.deadline-state.review{color:var(--accent)}
.deadline-when{display:flex;flex-direction:column;text-align:right;min-width:164px;max-width:200px;gap:6px}.deadline-when>strong{font-size:12px;font-weight:500;line-height:1.4}.deadline-when>small{color:var(--dim);font-size:10px;line-height:1.5}.deadline-row.overdue .deadline-when>strong,.deadline-row.overdue .deadline-when>small,.deadline-row.overdue .deadline-row-icon{color:var(--overdue)}.deadline-row.today .deadline-when>small{color:var(--due-today)}.deadline-chevron{width:6px;height:10px;color:var(--dim)}
.deadline-detail .deadline-detail-status{display:flex;gap:8px;align-items:center;font-size:15px;font-weight:600;color:var(--text);margin-bottom:18px}.deadline-detail .deadline-detail-status.overdue{color:var(--overdue)}.deadline-detail .detail-fields{margin-bottom:20px}.deadline-detail .detail-fields dd{max-width:70%}.deadline-detail .quiet-note{margin-top:20px}.deadline-actions{justify-content:flex-end;flex-wrap:wrap}.deadline-actions .button{font-size:12px}.calendar-deadlines{margin-bottom:20px}
.item-deadline-hint{display:block;font-size:10px;line-height:1.5;color:var(--secondary);margin-top:5px}.item-deadline-hint.overdue{color:var(--overdue)}.task-row.selected .item-deadline-hint{color:white}.inspector-deadline{padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0;font-size:12px;line-height:1.7}.inspector-deadline strong{display:block}.inspector-deadline small{display:block;color:var(--secondary)}.inspector-deadline.overdue strong{color:var(--overdue)}
@media(max-width:900px){
 .deadline-mode-note{font-size:12px;padding:13px;gap:8px;flex-wrap:wrap;margin-bottom:20px}.deadline-mode-note strong{font-size:12px}.deadline-mode-note .text-link{margin-left:23px;min-height:32px;font-size:13px}
 .deadline-overview{gap:25px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:20px}.deadline-overview strong{font-size:28px}.deadline-overview>button>span{font-size:12px}.deadline-overview-note{max-width:none;width:100%;margin:0;font-size:12px}.deadline-controls{display:flex;gap:14px;margin-bottom:26px}.deadline-filters{width:100%;order:1;min-height:44px}.deadline-filters button{font-size:11px;min-height:38px;padding:8px 6px;white-space:nowrap}.deadline-filters button>span{display:none}.deadline-controls>.course-picker-button{order:0}
 .deadline-group{margin-bottom:25px}.deadline-group>h2{font-size:16px;margin-bottom:12px}.deadline-group>h2>span{font-size:12px}.deadline-row{display:grid;grid-template-columns:minmax(0,1fr) 8px;gap:10px 12px;padding:16px;min-height:0}.deadline-row-icon{display:none}.deadline-row-copy{grid-column:1;grid-row:1}.deadline-row-copy>small{font-size:12px;line-height:1.5}.deadline-row-copy>strong{font-size:16px;line-height:1.45}.deadline-state{font-size:12px;gap:6px;margin-top:8px}.deadline-when{grid-column:1;grid-row:2;min-width:0;max-width:none;align-items:flex-start;text-align:left;gap:3px;padding-top:10px;border-top:.5px solid var(--line)}.deadline-when>strong{font-size:13px}.deadline-when>small{font-size:12px}.deadline-chevron{grid-column:2;grid-row:1/3;width:7px;height:11px}
 .deadline-actions{display:flex;flex-direction:column}.deadline-actions .button{width:100%;font-size:14px}.deadline-detail .deadline-detail-status{font-size:16px}.deadline-detail .detail-fields dd{font-size:14px}.item-deadline-hint{font-size:12px}.inspector-deadline{font-size:14px}
 .mobile-tabbar{gap:0;padding-left:3px;padding-right:3px}.mobile-tabbar button{font-size:9px}.mobile-tabbar button svg{width:20px;height:20px}
}
@media(max-width:900px){.deadline-mode-note{display:grid;grid-template-columns:15px minmax(0,1fr);column-gap:8px;row-gap:6px}.deadline-mode-note>span{grid-column:2}.deadline-mode-note .text-link{grid-column:2;justify-self:start;margin-left:0;min-height:30px}.deadline-mode-note strong{font-size:12px}.deadline-overview{gap:16px 25px}}

/* v11 — disclosure navigates to a task; grouped lists keep the content quiet. */
.deadline-mode-note{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:none;border-radius:0;padding:0;margin:0 0 22px;font-size:11px;line-height:1.5}.deadline-mode-note>span{flex:1}.deadline-mode-note .text-link{margin:0;min-height:32px}
.deadline-controls{margin-bottom:28px}.deadline-filters{border-radius:9px;padding:3px}.deadline-filters button{border-radius:7px}
.deadline-group{margin-bottom:25px}.deadline-group>h2{font-size:13px;color:var(--secondary);font-weight:600;margin:0 0 4px}.deadline-group.overdue>h2{color:var(--overdue)}.deadline-group>h2>span{margin-left:7px}
.deadline-list{border:0;border-radius:0;overflow:visible}.deadline-row{padding:14px 10px;gap:20px;min-height:88px;border-radius:7px}.deadline-row+.deadline-row{border-top:0;position:relative}.deadline-row+.deadline-row:before{content:'';position:absolute;top:0;left:10px;right:10px;height:.5px;background:var(--line)}.deadline-row-copy>small{font-size:11px;margin:0 0 3px}.deadline-row-copy>strong{font-size:14px;font-weight:500}.deadline-state{font-size:11px;margin-top:3px}.deadline-when{gap:4px}.deadline-when>strong{font-size:12px}.deadline-chevron{width:7px;flex:none;margin:0 3px 0 5px}
.main-content:has(.assignment-page){max-width:960px;margin:auto}.assignment-page{max-width:760px;margin:0 auto}.assignment-back{display:inline-flex;gap:6px;align-items:center;color:var(--accent);font-size:13px;min-height:40px;margin-bottom:16px}.assignment-back svg{width:10px;height:14px}.assignment-heading h1{font-size:28px;line-height:1.2;letter-spacing:-.65px;font-weight:650;margin:8px 0 16px}.assignment-title:focus{outline:none}.assignment-heading .eyebrow{font-size:12px;color:var(--secondary);line-height:1.5}.assignment-meta{display:flex;align-items:baseline;gap:8px 20px;flex-wrap:wrap;font-size:12px;line-height:1.5}.assignment-meta .overdue{color:var(--overdue)}.assignment-status{color:var(--secondary)}.assignment-heading{padding-bottom:25px}.assignment-section{border-top:.5px solid var(--line);padding:24px 0}.assignment-section h2{font-size:16px;font-weight:600;margin:0 0 12px}.assignment-section>p{font-size:13px;line-height:1.65;margin:0 0 12px}.assignment-section .assignment-source-note{font-size:12px;color:var(--secondary)}.assignment-source-note .text-link{font-size:inherit;margin-left:4px}.assignment-material{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 0;min-height:48px;max-width:100%;font-size:13px;color:var(--accent)}.assignment-material svg{width:20px;height:22px;flex:none}.assignment-material>span{min-width:0}.assignment-material strong{font-weight:500;display:block}.assignment-material small{font-size:11px;color:var(--secondary);display:block;margin-top:4px}.assignment-material>svg:last-child{width:7px;height:10px;margin-left:10px;color:var(--dim)}.answer-heading{display:flex;align-items:baseline;gap:15px;justify-content:space-between}.answer-heading>span{font-size:11px;color:var(--secondary)}.answer-help{color:var(--secondary)}.answer-section .button{border-radius:8px;min-height:34px;font-size:12px;padding:7px 13px}.attachment-button{display:inline-flex;gap:7px;align-items:center}.attachment-button svg{height:15px;width:15px}.answer-limit{font-size:11px;color:var(--dim);margin-left:12px}.answer-label{display:block;font-size:12px;margin:23px 0 8px}.answer-section textarea{width:100%;display:block;min-height:96px;resize:vertical;background:var(--surface2);border:1px solid var(--line);border-radius:8px;padding:11px 12px;color:var(--text);font:inherit;font-size:13px;line-height:1.5}.answer-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}.answer-section .assignment-local-note{font-size:11px;color:var(--dim);line-height:1.6;margin:18px 0 0;max-width:540px}.answer-file{display:flex;align-items:center;gap:10px;min-height:55px;padding:8px 0;border-bottom:.5px solid var(--line);margin-bottom:10px}.answer-file>svg{width:22px;height:24px;color:var(--secondary)}.answer-file>span{flex:1;min-width:0}.answer-file strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.answer-file small{display:block;font-size:11px;color:var(--secondary);margin-top:3px}.answer-file .tool{height:32px;width:32px}.answer-success{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:13px;margin:8px 0 16px}.answer-success svg{width:17px;height:17px}.submitted-text{white-space:pre-wrap;overflow-wrap:anywhere}.button:disabled{cursor:default;opacity:.45}
@media(max-width:900px){
 .deadline-mode-note{font-size:12px;gap:3px;margin-bottom:20px}.deadline-mode-note>span{flex-basis:100%}.deadline-mode-note .text-link{font-size:12px;min-height:32px}.deadline-controls{gap:12px;margin-bottom:25px}.deadline-group>h2{font-size:14px;margin-bottom:2px}.deadline-row{grid-template-columns:minmax(0,1fr) 8px;gap:6px 12px;padding:14px 0;border-radius:0}.deadline-row+.deadline-row:before{left:0;right:0}.deadline-row-copy>small{font-size:12px}.deadline-row-copy>strong{font-size:16px;font-weight:500;line-height:1.4}.deadline-state{font-size:12px;margin-top:3px}.deadline-when{border:0;padding:0;gap:0;display:block}.deadline-when>strong{font-size:12px;font-weight:400}.deadline-when>small{display:none}.deadline-chevron{margin:0;width:7px}.deadline-group{margin-bottom:22px}
 .assignment-back{font-size:15px;margin-bottom:10px;min-height:44px}.assignment-heading h1{font-size:26px;line-height:1.2}.assignment-heading .eyebrow{font-size:12px}.assignment-meta{font-size:13px;gap:6px;flex-direction:column}.assignment-section{padding:22px 0}.assignment-section h2{font-size:18px}.assignment-section>p{font-size:14px}.assignment-material{font-size:14px}.assignment-material small{font-size:12px}.answer-heading>span{font-size:12px}.answer-label{font-size:14px}.answer-section textarea{font-size:16px}.answer-section .button{min-height:44px;font-size:14px}.answer-limit{font-size:11px;margin-left:8px}.answer-section .assignment-local-note{font-size:12px}.answer-actions{gap:8px}.answer-file .tool{width:44px;height:44px}.answer-file strong{font-size:13px}.answer-file small{font-size:12px}
}

/* v12: month picker + agenda, timed tests, local teacher assignment flow. */
.study-calendar{display:grid;grid-template-columns:286px minmax(0,1fr);gap:36px;align-items:start}.month-picker{padding:0 0 16px;min-width:0}.month-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.month-picker-heading h2{font-size:15px;font-weight:600;text-transform:capitalize;margin:0}.month-picker-heading>div{display:flex;gap:4px}.month-picker-heading .tool{height:32px;width:30px}.month-picker-heading .tool svg{width:8px;height:12px}.month-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px 0}.month-weekday{text-align:center;font-size:11px;color:var(--secondary);padding:6px 0}.month-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:44px;width:100%;border:0;border-radius:10px;box-shadow:none;background:transparent;color:var(--text);padding:0;font-size:13px}.month-day>span{display:grid;place-items:center;height:31px;width:31px;border-radius:50%;font-variant-numeric:tabular-nums}.month-day:hover>span{background:var(--hover)}.month-day.selected>span{background:var(--brand);color:#fff}.month-day.today:not(.selected)>span{box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent);font-weight:600}.month-day>i{width:4px;height:4px;border-radius:50%;background:transparent}.month-day>i.has-events{background:var(--secondary)}.month-day:focus{outline:none}.month-day:focus-visible>span{outline:2px solid var(--focus-ring);outline-offset:3px}.month-picker-footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--secondary);margin-top:12px}.month-picker-footer>span{display:flex;gap:6px;align-items:center}.month-picker-footer i{display:block;width:4px;height:4px;border-radius:50%;background:var(--secondary)}.month-picker-footer .text-link{font-size:12px;min-height:32px}.day-agenda{min-width:0;border-left:.5px solid var(--line);padding-left:30px}.day-agenda>header{margin-bottom:20px}.day-agenda>header>p{font-size:12px;text-transform:capitalize;color:var(--secondary);margin:0 0 4px}.day-agenda>header>h2{font-size:25px;letter-spacing:-.5px;margin:0 0 7px}.day-agenda>header>span{font-size:11px;color:var(--dim)}.agenda-row{width:100%;display:flex;text-align:left;align-items:center;gap:14px;min-height:80px;border-top:.5px solid var(--line);padding:15px 0;color:var(--text)}button.agenda-row:hover{background:var(--hover)}.agenda-time{font-size:12px;align-self:flex-start;padding-top:3px;min-width:44px;max-width:55px;color:var(--secondary);font-variant-numeric:tabular-nums}.agenda-copy{flex:1;min-width:0}.agenda-copy small{display:block;font-size:11px;color:var(--secondary);line-height:1.5;margin-bottom:5px}.agenda-copy strong{display:block;font-size:14px;font-weight:500;line-height:1.4}.agenda-copy>span{display:block;font-size:11px;color:var(--dim);margin-top:5px}.agenda-row>svg{height:11px;width:7px;flex-shrink:0;color:var(--dim)}.agenda-empty{padding:14px 0}.agenda-empty h3{font-size:15px;font-weight:500}.agenda-empty p{font-size:12px;line-height:1.7;color:var(--secondary)}.agenda-empty .text-link{font-size:12px;gap:7px;margin:0;min-height:44px}.agenda-empty svg{width:7px;height:10px}
.test-access{display:flex;align-items:center;gap:5px;margin-top:8px;font-size:11px;line-height:1.5;color:var(--secondary)}.test-access svg{width:12px;height:12px;flex:none}.test-access.open{color:var(--accent)}.test-access.closed{color:var(--secondary)}.quiz-access-intro{max-width:650px;padding-top:5px}.quiz-access-intro h2{font-size:19px;letter-spacing:-.25px;margin:0 0 18px}.quiz-access-intro>p{font-size:13px;line-height:1.7;color:var(--secondary)}.quiz-access-facts{margin:0 0 20px}.quiz-access-facts>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:.5px solid var(--line);font-size:13px}.quiz-access-facts dt{color:var(--secondary)}.quiz-access-facts dd{margin:0;text-align:right}.quiz-access-actions{display:flex;gap:10px;flex-wrap:wrap;margin:23px 0 18px}.quiz-access-actions .button{border-radius:8px;font-size:13px;min-height:36px}.quiz-access-intro .quiet-note{font-size:11px}
.additional-notice{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:14px 0;margin-bottom:20px;border-top:.5px solid var(--line);border-bottom:.5px solid var(--line);color:var(--text)}.additional-notice>svg{width:19px;height:21px;flex:none;color:var(--accent)}.additional-notice>svg:last-child{width:7px;height:11px;color:var(--dim);margin-left:auto}.additional-notice>span{min-width:0}.additional-notice strong{display:block;font-size:13px;font-weight:500;margin-bottom:5px}.additional-notice small{display:block;font-size:11px;line-height:1.5;color:var(--secondary)}.additional-label{color:var(--secondary);flex-basis:100%;font-size:11px}.teacher-local-note{font-size:12px;color:var(--secondary);margin-bottom:24px}.teacher-form,.teacher-preview{max-width:640px}.teacher-form h2,.teacher-published h2{font-size:18px;margin:0 0 22px}.teacher-form>label{display:block;font-size:12px;margin:18px 0 8px}.teacher-form>input,.teacher-form>textarea,.teacher-form>select{display:block;width:100%;border:1px solid var(--line);background:var(--surface2);color:var(--text);border-radius:8px;padding:10px 12px;font:inherit;font-size:13px;min-height:40px}.teacher-form>select{appearance:none;background-image:none;padding-right:32px}.teacher-form textarea{resize:vertical;line-height:1.6}.teacher-form>input[type=datetime-local]{max-width:280px;color-scheme:light dark}.teacher-form>.teacher-required{display:flex;align-items:center;gap:8px;min-height:32px}.teacher-required input{accent-color:var(--brand);width:17px;height:17px}.teacher-form .quiet-note{margin:0 0 20px}.teacher-form .button,.teacher-preview .button{border-radius:8px;font-size:13px;min-height:38px}.teacher-preview h2{font-size:24px}.teacher-preview p{font-size:13px;line-height:1.7}.teacher-instructions{white-space:pre-wrap;padding:16px 0;border-top:.5px solid var(--line)}.teacher-published{margin-top:35px;max-width:760px}.teacher-assignment-row{display:flex;align-items:center;gap:20px;width:100%;text-align:left;padding:16px 0;border-top:.5px solid var(--line)}.teacher-assignment-row>span{flex:1}.teacher-assignment-row strong{font-size:13px;font-weight:500;display:block}.teacher-assignment-row small{font-size:11px;color:var(--secondary);display:block;line-height:1.5;margin-top:5px}.teacher-assignment-row svg{width:7px;height:11px;color:var(--dim)}
@media(max-width:1150px) and (min-width:901px){.study-calendar{grid-template-columns:260px minmax(0,1fr);gap:20px}.day-agenda{padding-left:20px}}
@media(max-width:900px){.study-calendar{display:block}.month-picker{max-width:420px;margin:0 auto 25px;padding:0}.month-picker-heading h2{font-size:18px}.month-picker-heading .tool{min-height:44px;min-width:40px}.month-days{gap:4px 0}.month-day{height:44px;font-size:16px}.month-day>span{height:33px;width:33px}.month-weekday{font-size:12px}.month-picker-footer{font-size:12px;margin-top:14px}.month-picker-footer .text-link{font-size:14px;min-height:44px}.day-agenda{border-left:0;padding:22px 0 0;border-top:.5px solid var(--line)}.day-agenda>header{margin-bottom:18px}.day-agenda>header>h2{font-size:26px}.day-agenda>header>p,.day-agenda>header>span{font-size:12px}.agenda-row{gap:12px;min-height:86px}.agenda-copy strong{font-size:16px}.agenda-copy small,.agenda-copy>span{font-size:12px}.agenda-time{font-size:13px;min-width:42px}.agenda-empty h3{font-size:17px}.agenda-empty p,.agenda-empty .text-link{font-size:14px}.test-access{font-size:12px}.quiz-access-intro h2{font-size:21px}.quiz-access-intro>p{font-size:14px}.quiz-access-facts>div{font-size:14px}.quiz-access-actions .button{min-height:44px;font-size:14px}.quiz-access-intro .quiet-note{font-size:12px}.additional-notice strong{font-size:14px}.additional-notice small{font-size:12px}.additional-label{font-size:12px}.teacher-form>label{font-size:14px}.teacher-form>input,.teacher-form>select,.teacher-form>textarea{min-height:44px;font-size:16px;max-width:100%}.teacher-form .button,.teacher-preview .button{min-height:44px;font-size:14px}.teacher-preview p{font-size:14px}.teacher-assignment-row strong{font-size:15px}.teacher-assignment-row small{font-size:12px}}
.teacher-select-wrap{display:block;position:relative}.teacher-select-wrap select{appearance:none;display:block;width:100%;min-height:40px;padding:10px 42px 10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface2);font:inherit;font-size:13px;color:var(--text)}.teacher-select-wrap>svg{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:10px;height:14px;color:var(--secondary);pointer-events:none}.assignment-section>p:first-of-type{white-space:pre-wrap}
@media(max-width:900px){.teacher-select-wrap select{font-size:16px;min-height:44px}}
.agenda-date-back{display:none}.day-agenda,.month-picker{scroll-margin-top:14px}
@media(max-width:900px){.agenda-date-back{display:inline-flex;align-items:center;gap:7px;min-height:44px;margin:0 0 12px;font-size:14px}.agenda-date-back svg{width:8px;height:12px}}

/* v13 — one entry point; account role controls the prototype workspace. */
body.signed-out>.sidebar,body.signed-out>.workspace,body.signed-out>#mobile-chrome,body.signed-out>.scrim,body.signed-out>.ambient{display:none!important}
#auth-root[hidden]{display:none!important}#auth-root{position:fixed;inset:0;overflow-y:auto;overscroll-behavior:contain;background:var(--bg);color:var(--text);scrollbar-width:thin}
.access-layout{min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto;max-width:1440px;margin:auto;padding:28px 42px 20px}.access-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.access-brand{display:flex;align-items:center;gap:11px}.access-brand-mark{display:flex;color:var(--accent);width:40px}.access-brand-mark .owl-logo{width:40px;height:35px}.access-brand strong{font-size:20px;font-weight:650;letter-spacing:-.5px}.access-brand small{display:block;font-size:11px;color:var(--secondary);margin-top:3px}.access-header-help{font-size:13px;color:var(--accent);min-height:40px;padding:0 10px;border-radius:20px}.access-header-help:hover{background:var(--hover)}.access-main{display:grid;place-items:center;padding:42px 0 50px;min-width:0}.access-panel{width:400px;max-width:100%;text-align:center}.access-identity{color:var(--accent);margin-bottom:22px}.access-identity .owl-logo{width:65px;height:52px}.access-panel h1{font-size:30px;line-height:1.17;letter-spacing:-.8px;font-weight:650;margin:0 0 13px}.access-panel h1:focus{outline:none}.access-intro{font-size:14px;line-height:1.5;color:var(--secondary);margin:0 0 28px}.access-fields{text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 1px 3px #00000003}.access-field{position:relative;display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;align-items:center;padding:0 16px;min-height:56px}.access-field+.access-field{border-top:.5px solid var(--line)}.access-field label{font-size:13px;color:var(--secondary)}.access-field input{border:0;outline:none;border-radius:0;box-shadow:none;background:transparent;padding:16px 0;width:100%;min-width:0;color:var(--text);font:inherit;font-size:14px;line-height:1.5}.access-field input::placeholder{color:var(--dim)}.access-field:focus-within{box-shadow:inset 0 0 0 2px var(--accent);border-radius:10px}.password-field{padding-right:48px}.password-field>button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:40px;display:grid;place-items:center;color:var(--secondary);border-radius:8px}.password-field>button svg{height:18px;width:20px}.access-submit{display:block;width:100%;border-radius:10px;padding:12px 20px;min-height:46px;background:var(--brand);color:#fff;font-size:15px;font-weight:550;margin-top:18px}.access-submit:hover{filter:brightness(1.07)}.access-help-link{font-size:13px;min-height:44px;color:var(--accent);margin-top:7px}.access-error{font-size:12px;text-align:left;line-height:1.6;color:var(--overdue);margin:12px 2px 0}.access-demo{border-top:.5px solid var(--line);margin-top:18px;padding-top:19px}.access-demo>p{font-size:11px;color:var(--secondary);line-height:1.6;margin:0 auto 12px;max-width:320px}.access-demo-profiles{display:flex;justify-content:center;gap:10px}.access-demo-profiles button{display:flex;align-items:center;gap:7px;min-height:38px;font-size:12px;color:var(--accent);padding:7px 12px;border-radius:8px;background:var(--surface2)}.access-demo-profiles button:hover{background:var(--hover)}.access-demo-profiles svg{width:16px;height:17px}.access-demo .access-demo-hint{min-height:18px;font-size:11px;margin:12px 0 0;max-width:none}.access-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:var(--dim);line-height:1.5}.access-footer a{color:var(--secondary);text-decoration:none;display:flex;align-items:center;gap:5px;min-height:36px}.access-footer svg{width:10px;height:10px}.help-panel{text-align:left;width:450px}.help-panel h1{font-size:28px}.access-back{display:flex;align-items:center;gap:6px;min-height:40px;color:var(--accent);font-size:13px;margin-bottom:18px}.access-back svg{width:8px;height:12px}.access-help-sections details{border-top:.5px solid var(--line);padding:0 0 14px}.access-help-sections summary{list-style:none;font-size:15px;font-weight:550;display:flex;align-items:center;justify-content:space-between;cursor:pointer;min-height:56px;gap:20px}.access-help-sections summary::-webkit-details-marker{display:none}.access-help-sections summary svg{width:7px;height:11px;color:var(--dim)}.access-help-sections details[open] summary svg{transform:rotate(90deg)}.access-help-sections p{font-size:13px;line-height:1.7;color:var(--secondary);margin:0 0 12px}.access-help-sections a{display:inline-flex;align-items:center;gap:6px;min-height:32px;font-size:13px;color:var(--accent);text-decoration:none}.access-help-sections a svg{width:10px;height:10px}.access-help-note{font-size:11px;line-height:1.6;color:var(--dim);margin:22px 0 0}.account-exit{margin-top:30px;padding-top:22px;border-top:.5px solid var(--line)}.account-exit .button{min-width:90px;border-radius:9px}.account-exit p{font-size:11px;line-height:1.6;color:var(--dim);margin-top:13px;max-width:380px}
@media(max-width:600px){.access-layout{padding:20px 24px calc(16px + env(safe-area-inset-bottom));min-height:100dvh}.access-brand strong{font-size:19px}.access-brand small{font-size:10px}.access-brand-mark,.access-brand-mark .owl-logo{width:33px}.access-header-help{font-size:14px;min-height:44px}.access-main{padding:38px 0 26px}.access-panel{width:370px}.access-identity{margin-bottom:18px}.access-identity .owl-logo{width:56px;height:45px}.access-panel h1{font-size:28px}.access-intro{font-size:14px;margin-bottom:25px}.access-field{grid-template-columns:59px minmax(0,1fr);padding-left:13px;gap:8px;min-height:58px}.access-field input{font-size:16px}.access-field label{font-size:13px}.access-submit{min-height:48px;font-size:16px}.access-demo>p{font-size:12px}.access-demo-profiles button{min-height:44px;font-size:13px}.access-demo .access-demo-hint{font-size:11px}.access-footer{font-size:10px;justify-content:center;flex-wrap:wrap;gap:0 16px}.access-footer a{min-height:44px}.access-help-sections p,.access-help-sections a{font-size:14px}.access-help-sections a{min-height:44px}.access-help-note{font-size:12px}.access-back{font-size:15px;min-height:44px}.account-exit p{font-size:12px}}
@media(max-height:720px){.access-main{padding-top:24px;padding-bottom:20px}.access-identity{margin-bottom:14px}.access-identity .owl-logo{height:40px}.access-panel h1{font-size:26px}.access-demo{margin-top:12px;padding-top:14px}}
#auth-root .access-main{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.access-layout{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}#auth-root .access-main{width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}.access-panel{min-width:0;justify-self:center}.access-fields,.access-field{min-width:0}

/* v14 — Campus: a real university backdrop and a quiet, legible sign-in surface. */
#auth-root{background:#243449;isolation:isolate}
.access-backdrop{position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(14,27,46,.56),rgba(17,32,51,.14) 65%),linear-gradient(0deg,rgba(10,22,39,.72),transparent 65%,rgba(13,28,46,.3)),url('assets/vyatsu-campus.jpg') center 52%/cover no-repeat;pointer-events:none}
.access-layout{max-width:1600px;padding:32px 48px 20px;gap:12px}
.access-header{color:#fff}.access-brand{gap:12px}.access-brand-mark,.access-brand-mark .owl-logo{color:#fff;width:39px;height:34px}.access-brand strong{font-size:22px;letter-spacing:-.65px}.access-brand strong>span{font-weight:400;opacity:.85;margin-left:7px}
.access-header-help{color:#fff;background:#ffffff18;border:1px solid #ffffff32;padding:0 18px;min-height:40px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.access-header-help:hover{background:#ffffff30}
#auth-root .access-main{grid-template-columns:minmax(0,1fr) minmax(0,430px);gap:60px;padding:40px 0;align-items:center}
.access-welcome{justify-self:start;align-self:end;color:#fff;padding:0 0 58px;text-shadow:0 2px 24px #10203950}.access-welcome>p{font-size:13px;font-weight:500;line-height:1.5;margin:0 0 14px;color:#ffffffe6}.access-welcome h2{font-size:clamp(54px,6vw,88px);line-height:1.02;font-weight:650;letter-spacing:-3.5px;margin:0 0 22px}.access-welcome>span{font-size:19px;line-height:1.55;color:#fffffff0;letter-spacing:-.25px}
.access-panel{width:430px;padding:38px 34px 24px;text-align:left;background:color-mix(in srgb,var(--bg) 90%,transparent);border:1px solid #ffffff80;border-radius:28px;box-shadow:0 20px 70px #0a172b30,inset 0 1px 0 #ffffff66;backdrop-filter:blur(32px) saturate(1.25);-webkit-backdrop-filter:blur(32px) saturate(1.25);color:var(--text)}
.access-panel h1{font-size:29px;letter-spacing:-.8px;margin-bottom:8px}.access-intro{font-size:13px;margin-bottom:28px}.access-fields{background:color-mix(in srgb,var(--surface) 75%,transparent);border-color:var(--line);border-radius:12px;box-shadow:0 1px 2px #00000003}.access-field{min-height:54px;grid-template-columns:60px minmax(0,1fr);padding-left:14px}.access-field input{font-size:14px}.access-submit{border-radius:12px;margin-top:18px;min-height:46px}.access-help-link{display:block;margin:6px auto 0}.access-demo{text-align:center;margin-top:14px;padding-top:18px}.access-demo>p{max-width:310px;font-size:11px}.access-demo-profiles{gap:8px}.access-demo-profiles button{background:color-mix(in srgb,var(--surface) 65%,transparent);color:var(--text);border:1px solid var(--line);border-radius:10px;flex:1;justify-content:center}.access-demo-profiles button:hover{background:var(--surface)}.access-demo-profiles svg{color:var(--secondary)}.access-demo-hint:empty{display:none}
.access-footer,.access-footer a{color:#ffffffde}.access-footer>span{display:flex;align-items:center;gap:4px}.access-footer>span>a{display:inline;text-decoration:underline;text-underline-offset:2px;min-height:0}.access-footer>a{gap:6px}.help-panel{padding-top:28px}.help-panel .access-back{margin-bottom:14px}.help-panel h1{font-size:26px}.access-help-note{color:var(--secondary)}
.mobile-campus-name{font-weight:400;opacity:.7;font-size:14px;margin-left:3px}
@media(min-width:1500px){#auth-root .access-main{padding-right:50px;padding-left:35px}}
@media(max-width:1000px){#auth-root .access-main{gap:28px;grid-template-columns:minmax(0,1fr) minmax(0,400px)}.access-layout{padding-left:30px;padding-right:30px}.access-panel{padding:32px 28px 24px}.access-welcome>span{font-size:17px}.access-welcome>p{max-width:200px}.access-welcome h2{font-size:56px}}
@media(max-width:740px){.access-layout{padding:20px 16px calc(12px + env(safe-area-inset-bottom));gap:0}.access-header{padding:0 5px}.access-brand strong{font-size:19px}.access-brand strong>span{margin-left:4px}.access-brand-mark,.access-brand-mark .owl-logo{width:31px;height:28px}.access-brand{gap:9px}.access-header-help{font-size:13px;min-height:44px;padding:0 14px}#auth-root .access-main{grid-template-columns:minmax(0,1fr);padding:40px 0 28px}.access-welcome{display:none}.access-panel{width:400px;padding:30px 24px 24px;border-radius:25px;background:color-mix(in srgb,var(--bg) 94%,transparent)}.access-panel h1{font-size:28px}.access-intro{font-size:14px;margin-bottom:25px}.access-field{grid-template-columns:54px minmax(0,1fr);gap:8px;padding-left:12px;min-height:56px}.access-field input{font-size:16px}.access-submit{min-height:48px;font-size:16px}.access-demo>p{font-size:12px}.access-demo-profiles button{font-size:12px;min-height:44px;padding-left:7px;padding-right:7px}.access-footer{font-size:10px;gap:0 14px}.access-backdrop{background-position:38% center}.help-panel h1{font-size:26px}.access-demo .access-demo-hint{font-size:11px;min-height:0;margin-bottom:0}.password-field>button{height:44px}}
@media(max-width:360px){.access-panel{padding-left:18px;padding-right:18px}.access-brand strong>span{font-size:16px}.access-brand{gap:6px}}
@media(prefers-reduced-transparency:reduce){.access-panel{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}.access-header-help{background:#293c54;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-contrast:more){.access-panel{background:var(--bg);border-color:var(--secondary)}.access-footer,.access-footer a{color:#fff}.access-backdrop{filter:brightness(.7)}}

/* v15 — clearer daylight, subject colours and a distinct teaching workspace. */
:root{--brand:#356ac3;--accent:#356ac3;--selection:#e8f0fe}
:root[data-theme=dark]{--accent:#9dc1ff;--selection:#2c4265}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--accent:#9dc1ff;--selection:#2c4265}}
.ambient{background:radial-gradient(ellipse at 0 0,#7aafff38,transparent 48%),radial-gradient(ellipse at 100% 100%,#ffc87815,transparent 40%)}
.access-backdrop{background-image:linear-gradient(90deg,rgba(10,27,48,.18),transparent 68%),linear-gradient(0deg,rgba(9,26,48,.67),transparent 54%,rgba(20,47,77,.13)),url('assets/vyatsu-campus.jpg')}
.access-panel{background:color-mix(in srgb,var(--surface) 87%,transparent);box-shadow:0 24px 70px #12356028,inset 0 1px 0 #fff9}.access-fields{background:color-mix(in srgb,var(--surface) 90%,transparent)}.access-submit{box-shadow:0 3px 9px #356ac325}.access-welcome>span{color:#fff}.access-header-help{background:#1d41663b}.course-row>svg:first-child{color:var(--subject-color,var(--accent))}.course-row:hover{background:color-mix(in srgb,var(--subject-color,var(--accent)) 7%,transparent)}
.teaching-workspace .course-nav,.teaching-workspace .sidebar-section{display:none}.teaching-workspace .main-content{max-width:1120px}.teaching-workspace .page-head h1{font-size:30px}.teaching-workspace .page-head .button{white-space:nowrap}.teaching-workspace .button{border-radius:10px;min-height:38px}.teaching-note{font-size:11px;line-height:1.6;color:var(--secondary);margin-top:30px;max-width:660px}.teaching-hero{display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;border-radius:22px;background:color-mix(in srgb,var(--accent) 9%,var(--surface));min-height:250px;margin:2px 0 24px}.teaching-hero>div:first-child{padding:30px 30px 28px;position:relative;z-index:1}.teaching-hero p{font-size:12px;color:var(--accent);font-weight:550;margin-bottom:15px}.teaching-hero h1{font-size:36px;letter-spacing:-1.1px;line-height:1.12;margin-bottom:12px}.teaching-hero span{font-size:13px;line-height:1.6;display:block;max-width:300px;color:var(--secondary)}.teaching-hero .button{margin-top:24px}.teaching-hero-photo{background:url('assets/vyatsu-campus.jpg') 40% center/cover;mask-image:linear-gradient(90deg,transparent,#000 16%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%)}
.teaching-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:32px}.teaching-shortcuts>button{display:grid;grid-template-columns:25px 1fr 8px;gap:5px 9px;text-align:left;padding:17px 18px;background:var(--surface2);border-radius:15px}.teaching-shortcuts>button>span{grid-row:1/3;align-self:center}.teaching-shortcuts strong{font-size:24px;font-weight:600;letter-spacing:-.5px}.teaching-shortcuts small{font-size:11px;color:var(--secondary);grid-column:2}.teaching-shortcuts>button>svg{grid-column:3;grid-row:1/3;width:6px;height:10px;align-self:center;color:var(--dim)}.teaching-shortcuts>button:hover{background:var(--selection)}.teaching-shortcuts>button>span>svg{width:23px;height:24px}.amber{color:var(--amber)}.green{color:var(--green)}.blue{color:var(--accent)}.purple{color:#9363c6}
.teaching-list{border-top:.5px solid var(--line)}.teaching-row{display:flex;gap:15px;width:100%;padding:18px 2px;align-items:center;text-align:left;min-width:0;border-bottom:.5px solid var(--line)}.teaching-row:hover{background:var(--hover)}.teaching-row-copy{flex:1;min-width:0}.teaching-row strong{display:block;font-size:14px;font-weight:550;line-height:1.45}.teaching-row small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:var(--secondary);overflow-wrap:anywhere}.teaching-row>svg:last-child{width:7px;height:11px;color:var(--dim)}.teaching-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--selection);color:var(--accent);font-size:12px;flex:none}.teaching-status{font-size:11px;max-width:132px;text-align:right;line-height:1.5;flex-shrink:0}.teaching-empty{font-size:13px;color:var(--secondary);padding:25px 0}.subject-symbol{color:var(--accent);width:27px;display:grid;place-items:center}.subject-symbol svg{height:22px;width:22px}.teaching-count{font-weight:400;color:var(--secondary);margin-left:8px}.teaching-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.teaching-actions>button{display:flex;gap:13px;align-items:center;text-align:left;padding:20px 17px;border:1px solid var(--line);border-radius:15px}.teaching-actions>button>svg:first-child{width:23px;height:24px;color:var(--accent)}.teaching-actions>button>span{flex:1;min-width:0}.teaching-actions strong{font-size:13px;font-weight:550;display:block}.teaching-actions small{font-size:11px;color:var(--secondary);display:block;margin-top:6px;line-height:1.5}.teaching-actions>button>svg:last-child{width:7px;height:11px;color:var(--dim)}.teaching-actions>button:hover{background:var(--hover)}
.teaching-form{width:100%;min-width:0}.teaching-form-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr);gap:38px}.teaching-form-grid>section{min-width:0}.teaching-form label:not(.teaching-check),.teaching-filter{display:block;font-size:12px;color:var(--secondary);margin:0 0 9px}.teaching-form input:not([type=checkbox]),.teaching-form textarea{display:block;width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--text);font:inherit;font-size:13px;margin:0 0 22px;min-height:42px;outline-color:var(--focus-ring)}.teaching-form textarea{resize:vertical;line-height:1.6}.teaching-form input[type=datetime-local]{max-width:280px}.teaching-form .teacher-select-wrap{margin-bottom:22px}.teaching-form select{font-size:13px;min-height:42px;border-radius:10px;background:var(--surface2)}.teaching-check{display:flex;align-items:center;gap:9px;font-size:13px;min-height:44px;margin:0!important}.teaching-form input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand);flex:none}.teaching-form .quiet-note{font-size:11px;line-height:1.7;margin-top:16px}.recipient-picker{margin:0;padding:0;border:0;min-width:0}.recipient-picker legend{font-size:15px;font-weight:600;margin-bottom:14px}.recipient-picker .segments{display:inline-flex;background:var(--surface2);box-shadow:none;border:0;margin-bottom:18px}.recipient-picker .segments button{font-size:12px;min-height:34px;min-width:105px}.recipient-options{background:var(--surface2);border-radius:13px;overflow:hidden}.teaching-form .recipient-options label{display:flex;align-items:center;gap:12px;padding:13px 15px;margin:0;min-height:64px;color:var(--text);font-size:13px;cursor:pointer}.recipient-options label+label{border-top:1px solid var(--line)}.recipient-options small{display:block;font-size:11px;margin-top:4px;color:var(--secondary)}.recipient-options label:has(input:checked){background:var(--selection)}.recipient-count{font-size:11px;color:var(--secondary);margin-top:12px}.teaching-form-footer{border-top:1px solid var(--line);padding-top:22px;margin-top:25px;display:flex;justify-content:flex-end;gap:10px}.teaching-error{color:var(--overdue);font-size:12px;line-height:1.6;margin-top:16px}.teaching-error:empty{display:none}.teaching-preview{max-width:740px}.teaching-preview h2{font-size:26px;line-height:1.35;margin:10px 0 25px}.teaching-preview dl{margin:0 0 25px}.teaching-preview dl>div{display:grid;grid-template-columns:115px 1fr;gap:20px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.6}.teaching-preview dt{color:var(--secondary)}.teaching-preview dd{margin:0}.teaching-preview .button{margin-top:24px}.teaching-answer-text{white-space:pre-wrap;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.teaching-explainer{font-size:13px;line-height:1.7;color:var(--secondary);margin-bottom:24px}.teaching-inline-actions{display:flex;flex-wrap:wrap;gap:9px}.teaching-inline-actions .button{font-size:11px}.teaching-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:36px}.teaching-answer{min-width:0}.teaching-answer h2{font-size:19px;margin:18px 0}.teaching-answer .quiet-note{margin-top:24px;font-size:11px}.teaching-grading{padding-left:26px;border-left:1px solid var(--line)}.teaching-grading h2{font-size:18px;margin:0 0 25px}.teaching-grading>.button{width:100%;margin-top:10px}.teaching-grading>.text-link{min-height:44px;justify-content:center;width:100%;margin-top:8px}.teaching-filter{max-width:310px;margin-bottom:28px}.teaching-filter .teacher-select-wrap{margin-top:9px}.student-feedback{border-left:3px solid var(--accent);padding:16px 20px;background:color-mix(in srgb,var(--accent) 6%,var(--surface));border-radius:0 14px 14px 0;margin:24px 0}.student-feedback h2{font-size:19px;margin:6px 0 12px}.student-feedback>p:not(.eyebrow){font-size:14px;line-height:1.7;white-space:pre-wrap}.student-feedback .teaching-row{border-bottom:0}.teaching-workspace .sidebar-foot{padding-top:20px}.teaching-workspace .section-heading{margin-top:28px}
@media(max-width:1100px){.teaching-form-grid{gap:22px;grid-template-columns:minmax(0,1fr) minmax(230px,1fr)}.teaching-review-layout{gap:22px;grid-template-columns:minmax(0,1fr) 260px}.teaching-hero h1{font-size:31px}.teaching-hero>div:first-child{padding:26px 24px}.teaching-shortcuts{gap:10px}.teaching-shortcuts>button{padding:15px 12px}}
@media(max-width:900px){.teaching-workspace .page-head h1{font-size:28px}.teaching-workspace .button{min-height:44px}.teaching-hero{grid-template-columns:minmax(0,1fr) 30%;min-height:220px;border-radius:19px}.teaching-hero>div:first-child{padding:23px 20px}.teaching-hero h1{font-size:30px}.teaching-hero p{font-size:11px;white-space:nowrap}.teaching-hero span{font-size:13px}.teaching-hero .button{font-size:12px;margin-top:20px}.teaching-hero-photo{background-position:48% center}.teaching-shortcuts{gap:9px;margin-bottom:25px}.teaching-shortcuts>button{grid-template-columns:1fr;gap:5px;padding:13px 11px}.teaching-shortcuts>button>span{grid-row:auto;grid-column:1;margin-bottom:3px}.teaching-shortcuts small{grid-column:1;font-size:11px;line-height:1.4}.teaching-shortcuts>button>svg{display:none}.teaching-shortcuts strong{font-size:23px}.teaching-shortcuts>button>span>svg{height:21px;width:21px}.teaching-actions{grid-template-columns:1fr}.teaching-actions strong{font-size:15px}.teaching-actions small{font-size:12px}.teaching-row{gap:10px;flex-wrap:wrap;padding:16px 0}.teaching-row strong{font-size:15px}.teaching-row small{font-size:12px}.teaching-status{order:4;flex-basis:100%;text-align:left;margin-left:48px;font-size:12px;max-width:none}.teaching-form-grid,.teaching-review-layout{grid-template-columns:minmax(0,1fr);gap:30px}.teaching-form label:not(.teaching-check),.teaching-filter{font-size:14px}.teaching-form input:not([type=checkbox]),.teaching-form textarea,.teaching-form select{font-size:16px;min-height:46px}.teaching-form input[type=datetime-local]{max-width:100%;min-width:0}.teaching-form .recipient-options label{font-size:14px;min-height:68px}.recipient-options small,.recipient-count{font-size:12px}.recipient-picker .segments button{min-height:40px;font-size:14px}.teaching-grading{border-left:0;border-top:1px solid var(--line);padding:25px 0 0}.teaching-note{font-size:12px}.teaching-preview dl>div{grid-template-columns:90px 1fr;font-size:14px;gap:14px}.teaching-form-footer .button{flex:1;justify-content:center}.teaching-explainer{font-size:14px}.teaching-filter{max-width:100%}.teaching-filter select{font-size:16px;min-height:46px}.teaching-workspace .main-content{padding-bottom:30px}.teaching-form .quiet-note{font-size:12px}.teaching-workspace .page-head{gap:16px;flex-wrap:wrap}.access-panel{background:color-mix(in srgb,var(--surface) 93%,transparent)}}
@media(prefers-reduced-transparency:reduce){.access-panel{background:var(--surface)}}
@media(max-width:900px){.teaching-status{flex-basis:calc(100% - 48px)}.teaching-workspace .section-heading{align-items:center}.teaching-workspace .section-heading>.text-link{margin-top:0}}

/* v16 — a personal student home and subject-scoped teaching. */
.teaching-context{display:flex;gap:14px;align-items:center;margin:0 0 26px;padding:0 0 22px;border-bottom:1px solid var(--line);min-width:0}.teaching-context-icon{color:var(--accent);flex:none}.teaching-context-icon svg{width:27px;height:28px}.teaching-context>div{flex:1;min-width:0}.teaching-context label{display:block;font-size:11px;color:var(--secondary);margin-bottom:4px}.teaching-context .teacher-select-wrap{max-width:530px}.teaching-context select{font-size:15px;font-weight:550;min-height:40px;padding-left:0;background:transparent;border:0}.teaching-context .teacher-select-wrap>svg{right:9px}.teaching-context small{display:block;font-size:11px;color:var(--secondary);line-height:1.5;margin-top:3px}.teaching-context strong{display:block;font-size:16px;line-height:1.5}.teaching-form-subject{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:550;margin-bottom:25px;line-height:1.5}.teaching-form-subject svg{color:var(--accent)}.teaching-profile-subjects{margin:10px 0 28px}.teaching-profile-subjects>button{display:flex;gap:14px;padding:18px 0;align-items:center;border-bottom:1px solid var(--line);width:100%;text-align:left}.teaching-profile-subjects>button>span{flex:1;font-size:14px;line-height:1.5}.teaching-profile-subjects small{display:block;font-size:11px;color:var(--secondary);margin-top:6px}.teaching-profile-subjects>button>svg:first-child{color:var(--accent)}.teaching-profile-subjects>button>svg:last-child{width:7px;height:11px;color:var(--dim)}.teaching-empty-state{padding:42px 0;max-width:480px}.teaching-empty-state>svg{width:30px;height:32px;color:var(--accent);margin-bottom:18px}.teaching-empty-state h2{font-size:20px;margin-bottom:12px}.teaching-empty-state p{font-size:13px;line-height:1.7;color:var(--secondary)}
.student-welcome{display:grid;grid-template-columns:1fr 43%;min-height:176px;background:color-mix(in srgb,var(--accent) 8%,var(--surface));border-radius:20px;overflow:hidden;margin-bottom:30px}.student-welcome>div:first-child{padding:29px 30px;align-self:center}.student-welcome p{font-size:12px;color:var(--accent);margin-bottom:13px;font-weight:500}.student-welcome h1{font-size:34px;letter-spacing:-.9px;line-height:1.16;margin:0 0 12px}.student-welcome span{font-size:12px;color:var(--secondary)}.student-welcome-photo{background:url('assets/vyatsu-campus.jpg') 48% 55%/cover;mask-image:linear-gradient(90deg,transparent,#000 20%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 20%)}.student-home-columns{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:34px;align-items:start}.student-home-main,.student-agenda{min-width:0}.student-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.student-section-title h2{font-size:17px;letter-spacing:-.25px;line-height:1.3}.student-section-title .text-link{margin:0;font-size:12px;min-height:32px;gap:7px}.student-section-title .text-link svg{width:7px;height:10px}.student-resume{display:flex;align-items:center;gap:20px;width:100%;text-align:left;border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:30px;background:var(--surface)}.student-resume:hover{background:var(--selection)}.student-resume-symbol>svg{width:36px;height:36px}.student-resume>span:last-child{min-width:0}.student-resume small{font-size:11px;color:var(--secondary);display:block;margin-bottom:6px}.student-resume strong{font-size:16px;line-height:1.45;font-weight:550;display:block}.student-resume em{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--accent);font-style:normal;margin-top:12px}.student-resume em>svg{width:12px;height:12px}.student-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-courses{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:30px}.student-course-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-align:left;border-radius:16px;border:1px solid var(--line);background:var(--surface)}.student-course-card:hover{border-color:color-mix(in srgb,var(--subject) 65%,var(--line));background:color-mix(in srgb,var(--subject) 4%,var(--surface))}.student-course-art{display:flex;align-items:center;position:relative;overflow:hidden;width:100%;height:83px;padding:22px;color:var(--subject);background:color-mix(in srgb,var(--subject) 11%,var(--surface))}.student-course-art>svg{width:29px;height:32px;position:relative;z-index:1}.student-course-art>span{position:absolute;right:20px;top:-8px;opacity:.095;transform:rotate(-12deg)}.student-course-art>span>svg{width:115px;height:115px}.student-course-copy{padding:18px 19px 16px;width:100%;flex:1;display:flex;flex-direction:column;min-width:0}.student-course-copy>strong{font-size:15px;font-weight:550;line-height:1.4;min-height:42px}.student-course-copy>small{font-size:11px;color:var(--secondary);line-height:1.6;margin:9px 0 18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.student-course-meta{display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.5;color:var(--secondary);margin-top:auto}.student-course-meta>svg{width:11px;height:11px}.student-course-meta>svg:last-child{width:6px;height:10px;margin-left:auto;flex:none}.student-course-card.compact .student-course-art{height:58px;padding:16px 18px}.student-course-card.compact .student-course-art>svg{width:24px;height:26px}.student-course-card.compact .student-course-copy{padding:14px 16px}.student-course-card.compact .student-course-copy>strong{font-size:13px;min-height:36px}.student-course-card.compact .student-course-copy>small{margin:8px 0 12px;font-size:11px}.student-news{border-top:1px solid var(--line)}.student-news>button{display:flex;gap:13px;align-items:center;text-align:left;width:100%;padding:17px 0;border-bottom:1px solid var(--line)}.student-news>button>svg:first-child{color:var(--accent);width:20px;height:20px}.student-news>button>span{flex:1;min-width:0}.student-news strong{font-size:13px;font-weight:550;line-height:1.5;display:block}.student-news small{font-size:11px;line-height:1.6;color:var(--secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px}.student-news>button>svg:last-child{width:6px;height:10px;color:var(--dim)}.student-news>button:hover{background:var(--hover)}.student-agenda{border-left:1px solid var(--line);padding-left:24px}.student-agenda .student-section-title{margin-bottom:3px}.student-agenda-date{font-size:10px;color:var(--secondary);margin-bottom:18px}.student-due{display:block;width:100%;padding:17px 0;border-bottom:1px solid var(--line);text-align:left}.student-due:hover{background:var(--hover)}.student-due-date{font-size:11px;color:var(--accent);font-weight:550;display:block;margin-bottom:8px}.student-due>strong{font-size:13px;font-weight:550;line-height:1.5;display:block}.student-due>small{font-size:11px;color:var(--secondary);line-height:1.5;display:block;margin-top:5px}.student-due-action{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--accent);margin-top:11px}.student-due-action svg{width:6px;height:9px}.student-overdue{display:flex;align-items:center;gap:9px;min-height:56px;width:100%;color:var(--overdue);text-align:left;margin-top:12px}.student-overdue>svg{width:15px;height:16px}.student-overdue>span{flex:1;font-size:11px;display:flex;gap:10px;align-items:center}.student-overdue>span>strong{margin-left:auto;font-size:13px}.student-overdue>svg:last-child{width:6px;height:10px}.student-all-due{color:var(--accent);font-size:12px;display:flex;gap:8px;align-items:center;min-height:44px}.student-all-due svg{height:12px;width:12px}.student-empty{font-size:13px;line-height:1.7;color:var(--secondary);padding:20px 0}.student-source-note{font-size:11px;line-height:1.6;color:var(--secondary);margin-top:30px}
@media(max-width:1200px){.student-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-home-columns{grid-template-columns:minmax(0,1fr) 220px;gap:24px}.student-agenda{padding-left:20px}.student-welcome h1{font-size:31px}}
@media(max-width:1000px){.student-home-columns{grid-template-columns:minmax(0,1fr)}.student-agenda{border:0;padding:0}.student-home-main{display:contents}.student-welcome{margin-bottom:25px}.student-home-columns>.student-home-main>.student-section-title:first-child{order:0}.student-resume{order:1;margin-bottom:0}.student-agenda{order:2}.student-home-main>.student-section-title:nth-of-type(2){order:3;margin:8px 0 0}.home-courses{order:4;margin:0}.student-home-main>.student-section-title.student-news-title{order:5;margin:8px 0 0}.student-news{order:6}.student-due{padding:14px 0}.student-source-note{font-size:12px}.student-agenda-date{font-size:11px}}
@media(max-width:900px){.teaching-context{gap:11px;margin-bottom:22px;padding-bottom:18px}.teaching-context select{font-size:16px;min-height:44px}.teaching-context small{font-size:11px}.teaching-context-icon svg{width:23px;height:24px}.teaching-context label{font-size:12px}.teaching-context strong{font-size:15px}.teaching-profile-subjects small{font-size:12px}.student-welcome{grid-template-columns:minmax(0,1fr) 28%;min-height:153px;border-radius:18px}.student-welcome>div:first-child{padding:22px 18px}.student-welcome p{font-size:10px;margin-bottom:13px;white-space:nowrap}.student-welcome h1{font-size:27px;letter-spacing:-.75px}.student-welcome span{font-size:12px}.student-welcome-photo{background-position:47% center}.student-resume{padding:18px;gap:15px}.student-resume-symbol>svg{width:28px;height:30px}.student-resume strong{font-size:16px}.student-resume small,.student-resume em{font-size:12px}.student-section-title h2{font-size:19px}.student-section-title .text-link{font-size:14px;min-height:44px}.student-agenda .tool{width:44px;height:44px}.student-due-date,.student-due>small,.student-due-action{font-size:12px}.student-due>strong{font-size:15px}.student-overdue>span,.student-all-due{font-size:13px}.student-course-grid{grid-template-columns:minmax(0,1fr);gap:12px}.student-course-card,.student-course-card.compact{flex-direction:row;align-items:stretch;border-radius:14px}.student-course-art,.student-course-card.compact .student-course-art{height:auto;width:63px;flex:none;padding:16px;justify-content:center}.student-course-art>span{display:none}.student-course-art>svg,.student-course-card.compact .student-course-art>svg{width:25px;height:27px}.student-course-copy,.student-course-card.compact .student-course-copy{padding:16px;min-width:0}.student-course-copy>strong,.student-course-card.compact .student-course-copy>strong{font-size:15px;min-height:0}.student-course-copy>small,.student-course-card.compact .student-course-copy>small{font-size:12px;margin:6px 0 12px}.student-course-meta{font-size:11px}.student-news strong{font-size:14px}.student-news small{font-size:12px}.student-home-columns{gap:18px}.student-empty{font-size:14px}}

/* v17 — overview and subjects: content first, inset lists, one visual accent. */
.home17{max-width:1080px;margin:0 auto}.home17-header{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:0 0 28px;margin-bottom:28px;border-bottom:.5px solid var(--line)}.home17-header>div{min-width:0}.home17-header p{font-size:12px;color:var(--secondary);margin:0 0 10px}.home17-header h1{font-size:34px;line-height:1.15;letter-spacing:-1px;font-weight:650;margin:0 0 10px}.home17-header span{font-size:13px;color:var(--secondary);line-height:1.5}.home17-header img{display:block;width:220px;height:125px;object-fit:cover;object-position:center 54%;border-radius:10px;flex:none}.home17-columns{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:40px}.home17-columns>section,.home17-columns>aside{min-width:0}.home17-section{margin-bottom:32px}.home17 h2{font-size:18px;line-height:1.3;letter-spacing:-.3px;font-weight:650;margin:0 0 13px}.home17-title{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:32px;margin-bottom:10px}.home17-title h2{margin:0}.home17 .text-link{font-size:12px;gap:6px;margin:0;min-height:32px;white-space:nowrap}.home17 .text-link svg{width:6px;height:10px}.home17-resume{width:100%;display:flex;align-items:center;text-align:left;gap:15px;padding:17px 16px;background:var(--surface2);border-radius:10px}.home17-resume>svg:first-child{color:var(--accent);width:24px;height:26px;flex:none}.home17-resume>span{flex:1;min-width:0}.home17-resume small{font-size:11px;color:var(--secondary);display:block;margin-bottom:5px}.home17-resume strong{font-size:14px;font-weight:550;line-height:1.45;display:block}.home17-resume>svg:last-child{width:6px;height:10px;color:var(--dim);flex:none}.home17-resume:hover{background:var(--hover)}
.subjects-page{max-width:860px;margin:0 auto}.subjects-list{border-top:.5px solid var(--line)}.subject-line{position:relative;display:flex;align-items:center;width:100%;gap:18px;padding:18px 10px;text-align:left;border-radius:7px;min-height:80px}.subject-line+.subject-line:before{content:'';position:absolute;top:0;left:52px;right:10px;height:.5px;background:var(--line)}.subject-line:hover{background:var(--hover)}.subject-line-icon{color:var(--accent);flex:none;width:24px;display:flex;justify-content:center}.subject-line-icon svg{width:23px;height:25px}.subject-line-copy{flex:1;min-width:0}.subject-line strong{font-size:16px;line-height:1.4;font-weight:500;display:block}.subject-line small{display:block;margin-top:5px;color:var(--secondary);font-size:12px;line-height:1.5}.subject-line>svg{width:7px;height:11px;flex:none;color:var(--dim)}.home17 .subject-line{padding:15px 7px;gap:14px;min-height:73px}.home17 .subject-line strong{font-size:14px}.home17 .subject-line small{font-size:11px}.home17 .subject-line+.subject-line:before{left:45px;right:7px}.home17-agenda{border-left:.5px solid var(--line);padding-left:26px}.home17-overdue{display:flex;align-items:center;gap:9px;text-align:left;color:var(--overdue);width:100%;padding:14px 0;border-bottom:.5px solid var(--line);font-size:13px}.home17-overdue>svg{width:15px;height:16px}.home17-overdue>span{flex:1}.home17-overdue>strong{font-weight:600}.home17-overdue>svg:last-child{width:6px;height:10px;margin-left:6px;color:var(--dim)}.home17-dates>button{position:relative;text-align:left;display:block;width:100%;padding:20px 18px 20px 0;border-bottom:.5px solid var(--line)}.home17-dates>button:hover{background:var(--hover)}.home17-date{font-size:11px;color:var(--accent);font-weight:550;display:block;margin-bottom:7px}.home17-dates strong{font-size:13px;font-weight:550;line-height:1.45;display:block}.home17-dates small{font-size:11px;line-height:1.5;color:var(--secondary);display:block;margin-top:5px}.home17-dates>button>svg{position:absolute;right:0;top:50%;width:6px;height:10px;color:var(--dim)}.home17-agenda>.text-link{margin-top:12px}.home17-empty{font-size:13px;color:var(--secondary);padding:16px 0;margin:0}.home17 .student-news strong{font-size:14px;font-weight:500}.home17 .student-news small{font-size:12px}.home17-command{display:flex;align-items:center;gap:24px;margin-bottom:27px}.home17-command .button{font-size:13px;min-height:36px;border-radius:8px}.home17-summary{display:flex;border-top:.5px solid var(--line);border-bottom:.5px solid var(--line);padding:18px 0;margin-bottom:32px}.home17-summary>button{flex:1;display:grid;grid-template-columns:1fr 6px;gap:5px 8px;padding:0 22px;text-align:left;min-width:0}.home17-summary>button:first-child{padding-left:0}.home17-summary>button+button{border-left:.5px solid var(--line)}.home17-summary strong{font-size:25px;font-weight:550;letter-spacing:-.5px}.home17-summary span{font-size:12px;line-height:1.5;color:var(--secondary)}.home17-summary svg{grid-column:2;grid-row:1/3;align-self:center;width:6px;height:10px;color:var(--dim)}.home17-summary>button:hover span{color:var(--accent)}.home17-management{border-top:.5px solid var(--line)}.home17-management>button{width:100%;display:flex;align-items:center;gap:15px;text-align:left;padding:16px 0;border-bottom:.5px solid var(--line)}.home17-management>button>svg:first-child{width:22px;height:22px;color:var(--accent)}.home17-management>button>span{flex:1}.home17-management strong{display:block;font-size:14px;font-weight:500;line-height:1.5}.home17-management small{display:block;font-size:12px;color:var(--secondary);line-height:1.5;margin-top:3px}.home17-management>button>svg:last-child{width:6px;height:10px;color:var(--dim)}.home17-management>button:hover{background:var(--hover)}
@media(max-width:1100px){.home17-columns{grid-template-columns:minmax(0,1fr) 225px;gap:25px}.home17-agenda{padding-left:20px}.home17-header img{width:190px;height:116px}}
@media(max-width:900px){.home17-header{gap:16px;margin-bottom:24px;padding-bottom:22px}.home17-header h1{font-size:29px;letter-spacing:-.8px}.home17-header p{font-size:11px;line-height:1.5;margin-bottom:8px}.home17-header span{font-size:12px}.home17-header img{width:94px;height:104px;border-radius:9px}.home17-columns{display:flex;flex-direction:column;gap:8px}.home17-columns>section{display:contents}.home17-columns>section>.home17-section:first-child{order:0}.home17-agenda{order:1;border:0;padding:0;width:100%;margin:0 0 27px}.home17-columns>section>.home17-section:nth-child(2){order:2}.home17-columns>section>.home17-section:nth-child(3){order:3}.home17-section{width:100%;margin-bottom:24px}.home17 h2{font-size:20px}.home17 .text-link{font-size:14px;min-height:44px}.home17-resume{padding:15px 13px;gap:13px}.home17-resume strong{font-size:16px}.home17-resume small{font-size:12px}.subject-line,.home17 .subject-line{padding:16px 2px;gap:15px;min-height:80px}.subject-line strong,.home17 .subject-line strong{font-size:16px}.subject-line small,.home17 .subject-line small{font-size:12px}.subject-line+.subject-line:before,.home17 .subject-line+.subject-line:before{left:41px;right:2px}.subject-line-icon{width:24px}.home17-date{font-size:12px}.home17-dates>button{padding:16px 18px 16px 0}.home17-dates strong{font-size:15px}.home17-dates small{font-size:12px}.home17-overdue{font-size:15px;min-height:48px}.home17-agenda .tool{width:44px;height:44px}.home17-title{margin-bottom:4px}.home17-command{gap:8px;align-items:flex-start;flex-direction:column;margin-bottom:16px}.home17-command .button{font-size:14px;min-height:44px}.home17-summary{margin-bottom:27px;padding:16px 0}.home17-summary>button{padding:0 12px;gap:6px;grid-template-columns:1fr}.home17-summary strong{font-size:25px}.home17-summary span{font-size:11px}.home17-summary svg{display:none}.home17-management strong{font-size:16px}.home17-management small{font-size:12px}.home17-management>button{min-height:78px}.teacher-home17 .home17-header h1{font-size:29px}.teacher-home17 .home17-header span{font-size:12px}}

/* v18 — illustrated subject library; artwork provides color, controls stay quiet. */
.illustrated-subjects{max-width:1120px}.course-cover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px}.course-cover-card{display:block;min-width:0;text-align:left;align-self:start;border-radius:10px;background:none;padding:0}.course-cover-art{display:block;overflow:hidden;aspect-ratio:3/2;border-radius:10px;background:var(--surface2);box-shadow:0 3px 9px #00000012;isolation:isolate}.course-cover-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.course-cover-card:hover .course-cover-art img{transform:scale(1.035)}.course-cover-card:focus-visible{outline:3px solid var(--focus-ring);outline-offset:5px}.course-cover-caption{display:block;padding:13px 2px 0}.course-cover-caption strong{display:block;font-size:15px;font-weight:550;line-height:1.4;letter-spacing:-.15px}.course-cover-caption small{display:block;font-size:11px;color:var(--secondary);line-height:1.5;margin-top:5px}.home-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.home-cover-grid .course-cover-caption strong{font-size:14px}.home17-resume:has(.resume-cover){padding:0 14px 0 0;overflow:hidden;min-height:92px;gap:16px}.resume-cover{width:115px;height:92px;object-fit:cover;flex:none}.home17-resume:has(.resume-cover)>span{padding:14px 0}.course-detail-cover{height:180px;overflow:hidden;border-radius:12px;margin-bottom:27px}.course-detail-cover>img{width:100%;height:100%;object-fit:cover;object-position:50% 55%;display:block}.home17-section:has(.home-cover-grid){margin-top:6px}
@media(min-width:1450px){.course-cover-grid:not(.home-cover-grid){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px) and (min-width:901px){.home17-resume:has(.resume-cover){gap:12px}.resume-cover{width:85px;height:96px}}
@media(max-width:900px){.course-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 16px}.course-cover-art{border-radius:9px;aspect-ratio:1.25}.course-cover-caption{padding-top:11px}.course-cover-caption strong,.home-cover-grid .course-cover-caption strong{font-size:15px;line-height:1.35}.course-cover-caption small{font-size:11px;line-height:1.5;margin-top:6px}.home-cover-grid{gap:25px 16px}.resume-cover{width:85px;height:106px}.home17-resume:has(.resume-cover){gap:13px;min-height:106px;padding-right:12px}.home17-resume:has(.resume-cover) strong{font-size:15px}.home17-resume:has(.resume-cover) small{font-size:11px}.course-detail-cover{height:145px;border-radius:10px;margin-bottom:22px}.home17-section:has(.home-cover-grid){margin-top:0}}
@media(prefers-reduced-motion:reduce){.course-cover-art img{transition:none}.course-cover-card:hover .course-cover-art img{transform:none}}

/* v20: compact subject marks placed in quiet areas of each composition. */
.course-cover-art,.course-detail-cover,.resume-cover{position:relative}
.cover-subject-symbol{position:absolute;left:var(--symbol-x,50%);top:var(--symbol-y,50%);width:22%;height:32%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;pointer-events:none;color:var(--symbol-tone,#fff);opacity:.94;filter:drop-shadow(0 1px 1px #1613330a)}
.cover-subject-symbol>svg{width:100%;height:100%;fill:currentColor;max-width:none;flex:none}
.home17-resume:has(.resume-cover)>.resume-cover{display:block;flex:none;padding:0;overflow:hidden;min-width:0}
.resume-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.resume-cover .cover-subject-symbol{left:50%;top:50%;width:32%;height:30%;color:#fff;filter:drop-shadow(0 1px 3px #24153235)}
.course-detail-cover .cover-subject-symbol{left:auto;right:12%;top:50%;width:54px;height:54px;transform:translateY(-50%)}
@media(max-width:900px){.cover-subject-symbol{width:24%;height:30%}.course-detail-cover .cover-subject-symbol{right:12%;width:42px;height:42px}}

/* v21: source-image coordinates stay aligned through cropping and hover. */
.cover-composition{position:absolute;display:block;left:50%;top:50%;width:100%;aspect-ratio:3/2;transform:translate(-50%,-50%);transition:transform .25s ease}
.cover-composition>img{display:block;width:100%;height:100%;object-fit:cover;transition:none}
.course-cover-card:hover .course-cover-art img{transform:none}
.course-cover-card:hover .cover-composition{transform:translate(-50%,-50%) scale(1.035)}
@media(max-width:900px){.cover-composition{width:120%}.cover-composition .cover-subject-symbol{width:20%;height:30%}}
@media(prefers-reduced-motion:reduce){.cover-composition{transition:none}.course-cover-card:hover .cover-composition{transform:translate(-50%,-50%)}}

/* v22: one cap height, original glyph proportions, small optical corrections. */
.cover-composition .cover-subject-symbol{width:24%;height:27%}
.cover-subject-symbol>svg{height:calc(100% * var(--symbol-optical,1));width:auto;max-width:none;flex:none}
.resume-cover .cover-subject-symbol{height:28%;width:40%}
.course-detail-cover .cover-subject-symbol{height:46px;width:62px}
@media(max-width:900px){.cover-composition .cover-subject-symbol{height:27%;width:24%}.course-detail-cover .cover-subject-symbol{height:38px;width:50px}}

/* Illustrated campus login wallpaper. */
.access-backdrop{background-image:linear-gradient(90deg,rgba(15,30,78,.12),transparent 68%),linear-gradient(0deg,rgba(12,24,63,.65),transparent 58%,rgba(17,42,93,.08)),url('assets/vyatsu-campus-illustration.png');background-position:center;}
@media(max-width:740px){.access-backdrop{background-position:38% center}}

/* Abstract greeting keeps the type on the quiet side of the artwork. */
.home17-header.student-welcome-banner{min-height:208px;padding:32px 34px;border:0;border-radius:18px;background:#103b9e url('assets/student-welcome.png') center/cover no-repeat;color:#fff;overflow:hidden;isolation:isolate;position:relative}
.student-welcome-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,24,78,.16),transparent 70%);z-index:-1}
.home17-header.student-welcome-banner>div{max-width:75%}
.home17-header.student-welcome-banner h1{color:#fff;font-size:36px;overflow-wrap:anywhere;letter-spacing:-1px}
.home17-header.student-welcome-banner p,.home17-header.student-welcome-banner span{color:#e0ebff}
@media(max-width:900px){.home17-header.student-welcome-banner{min-height:180px;padding:26px 24px;border-radius:16px;background-position:45% center}.home17-header.student-welcome-banner h1{font-size:30px}.home17-header.student-welcome-banner>div{max-width:88%}}
@media(max-width:440px){.home17-header.student-welcome-banner{min-height:174px;padding:24px 20px;background-position:30% center}.home17-header.student-welcome-banner h1{font-size:28px}}

/* Keep each mark on the same source-image point when the banner is cropped. */
.course-detail-cover>img{object-position:var(--symbol-x,50%) var(--symbol-y,50%)}
.course-detail-cover .cover-subject-symbol{left:var(--symbol-x,50%);right:auto;top:var(--symbol-y,50%);transform:translate(-50%,-50%)}

/* Wide subject banners share a left-hand anchor and background-specific ink. */
.course-detail-cover>img{object-position:50% 55%}
.course-detail-cover .cover-subject-symbol{left:12.5%;right:auto;top:50%;transform:translate(-50%,-50%);color:var(--banner-symbol-tone,#fff);opacity:1}

.course-detail-cover>img{object-position:50% var(--banner-focus-y,55%)}

/* Adaptive ink uses the real pixels under each rendered symbol. */
.cover-subject-symbol,.resume-cover .cover-subject-symbol,.course-detail-cover .cover-subject-symbol{color:var(--adaptive-ink,var(--symbol-tone,#fff));opacity:1;filter:none}
.course-detail-cover .cover-subject-symbol{color:var(--adaptive-ink,var(--banner-symbol-tone,#fff))}

/* Shared symbol frame; placement is calculated with a padded footprint. */
.course-detail-cover{--banner-icon-size:48px}
.course-detail-cover .cover-subject-symbol{left:var(--adaptive-x,12.5%);width:var(--banner-icon-size);height:var(--banner-icon-size)}
.course-detail-cover .cover-subject-symbol>svg{width:100%;height:100%;max-width:100%;max-height:100%}
@media(max-width:900px){.course-detail-cover{--banner-icon-size:clamp(32px,10vw,40px)}}

/* Assignment inbox: compact smart lists, subject artwork, actionable rows. */
.task-inbox{max-width:1080px;margin:0 auto}
.task-inbox-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}
.task-inbox-header h1{font-size:32px;letter-spacing:-.9px;line-height:1.2;margin:0 0 10px;font-weight:650}
.task-inbox-header p{font-size:14px;line-height:1.5;color:var(--secondary);margin:0}
.task-calendar-link{display:flex;gap:8px;align-items:center;min-height:44px;color:var(--accent);font-size:13px;flex:none;border-radius:10px;padding:0 10px}
.task-calendar-link:hover{background:var(--hover)}.task-calendar-link svg{width:18px;height:18px}
.task-smart-lists{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:32px}
.task-smart-list{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px 8px;text-align:left;min-height:102px;padding:16px 18px;border-radius:14px;background:var(--surface2);color:var(--text);border:1px solid transparent;--list-tint:var(--brand)}
.task-smart-list.today{--list-tint:#ac6b20}.task-smart-list.overdue{--list-tint:var(--overdue)}.task-smart-list.submitted{--list-tint:#4a7d60}
.task-smart-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--list-tint);color:#fff}.task-smart-icon svg{width:16px;height:16px}
.task-smart-list>strong{font-size:28px;letter-spacing:-.8px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1}
.task-smart-label{grid-column:1/-1;font-size:13px;font-weight:550;color:var(--secondary)}
.task-smart-list:hover{border-color:var(--line)}.task-smart-list.active{background:var(--brand);color:white}.task-smart-list.overdue.active{background:var(--overdue)}
.task-smart-list.active .task-smart-label{color:#fff}.task-smart-list.active .task-smart-icon{background:#ffffff28;color:#fff}
.task-inbox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:18px;border-bottom:.5px solid var(--line);margin-bottom:25px}
.task-inbox-toolbar>div{display:flex;align-items:center;gap:16px;min-width:0;flex-wrap:wrap}
.task-inbox-toolbar h2{font-size:18px;letter-spacing:-.3px;margin:0;line-height:1.3;font-weight:600;display:flex;gap:9px;align-items:baseline}
.task-inbox-toolbar h2>span{font-size:13px;color:var(--secondary);font-weight:400}
.task-all-filter{color:var(--accent);font-size:12px;min-height:36px;padding:0 8px;border-radius:8px}.task-all-filter:hover{background:var(--hover)}.task-all-filter.active{display:none}
.task-inbox-toolbar .course-picker-button{min-height:38px;max-width:290px;font-size:12px;margin:0}
.task-inbox .task-inbox-group{margin-bottom:25px}
.task-inbox .task-inbox-group>h2{font-size:13px;font-weight:600;color:var(--secondary);margin:0 0 7px;gap:9px}
.task-inbox .task-inbox-group.overdue>h2{color:var(--overdue)}.task-inbox .task-inbox-group>h2>span{margin-left:0;font-size:11px;color:var(--dim)}
.task-inbox-row{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) 156px 18px;align-items:center;gap:17px;width:100%;text-align:left;padding:18px 8px;min-height:108px;border-radius:10px}
.task-inbox-row+.task-inbox-row:before{content:'';position:absolute;left:77px;right:8px;top:0;height:.5px;background:var(--line)}
.task-inbox-row:hover{background:var(--hover)}.task-inbox-row:focus-visible{outline-offset:2px}
.task-subject-art{display:block;width:52px;height:58px;overflow:hidden;border-radius:9px;background:var(--surface2)}.task-subject-art>img{display:block;width:100%;height:100%;object-fit:cover}
.task-inbox-copy{min-width:0}.task-inbox-copy>small{display:block;font-size:11px;line-height:1.4;color:var(--secondary);margin-bottom:4px}
.task-inbox-copy>strong{display:block;font-size:15px;font-weight:550;line-height:1.45;letter-spacing:-.12px}
.task-inbox-meta{display:flex;flex-wrap:wrap;gap:3px 9px;margin-top:6px;font-size:11px;line-height:1.5;color:var(--secondary)}
.task-inbox-meta>span+span:before{content:'·';margin-right:9px;color:var(--dim)}.task-state.revision{color:var(--due-today)}.task-state.review{color:var(--accent)}.task-state.done{color:var(--green)}
.task-inbox-copy .test-access{font-size:11px;line-height:1.5;margin-top:7px}.task-inbox-copy .test-access svg{width:12px;height:12px}
.task-inbox-due{display:block;text-align:right;font-variant-numeric:tabular-nums}.task-inbox-due>strong{display:block;font-size:12px;line-height:1.45;font-weight:550}.task-inbox-due>small{display:block;font-size:11px;line-height:1.5;color:var(--secondary);margin-top:4px}
.task-inbox-row.overdue .task-inbox-due{color:var(--overdue)}.task-inbox-row.overdue .task-inbox-due>small{color:var(--overdue)}.task-inbox-row.today .task-inbox-due>small{color:var(--due-today)}
.task-inbox-action{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:var(--dim)}.task-inbox-action>span{display:none}.task-inbox-action svg{width:7px;height:12px;flex:none}
.task-inbox-empty{padding:35px 20px 45px;text-align:center;max-width:440px;margin:auto}.task-inbox-empty>svg{width:32px;height:32px;color:var(--accent);margin-bottom:18px}.task-inbox-empty h2{font-size:21px;margin-bottom:10px}.task-inbox-empty p{font-size:13px;color:var(--secondary);line-height:1.7}.task-inbox-empty .text-link{justify-content:center;margin-top:14px}
.task-inbox-footer{display:flex;align-items:center;gap:20px;justify-content:space-between;border-top:.5px solid var(--line);padding-top:18px;font-size:11px;line-height:1.6;color:var(--secondary);margin-top:30px}.task-inbox-footer .text-link{flex:none;font-size:11px;margin:0;min-height:40px}
@media(max-width:900px){
 .task-inbox-header{gap:12px;margin-bottom:24px;align-items:flex-start}.task-inbox-header h1{font-size:29px}.task-inbox-header p{font-size:14px;max-width:260px}.task-calendar-link{padding:0;width:44px;justify-content:center;background:var(--surface2);border-radius:50%}.task-calendar-link>span{display:none}.task-calendar-link svg{width:20px;height:20px}
 .task-smart-lists{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:26px}.task-smart-list{min-height:94px;padding:14px 16px;gap:10px 8px;border-radius:13px}.task-smart-label{font-size:14px}.task-smart-list>strong{font-size:28px}
 .task-inbox-toolbar{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:21px;padding-bottom:14px}.task-inbox-toolbar>div{justify-content:space-between;width:100%;gap:8px}.task-inbox-toolbar h2{font-size:19px}.task-all-filter{font-size:13px;min-height:44px;padding:0}.task-inbox-toolbar .course-picker-button{max-width:100%;min-height:40px;font-size:13px}
 .task-inbox .task-inbox-group>h2{font-size:14px;margin-bottom:3px}.task-inbox .task-inbox-group>h2>span{font-size:12px}
 .task-inbox-row{grid-template-columns:42px minmax(0,1fr) 10px;gap:8px 12px;align-items:start;padding:17px 0;min-height:0;border-radius:0}.task-subject-art{width:42px;height:49px;grid-column:1;grid-row:1/3;margin-top:3px;border-radius:7px}.task-inbox-copy{grid-column:2;grid-row:1}.task-inbox-copy>small{font-size:11px;margin-bottom:5px}.task-inbox-copy>strong{font-size:16px;line-height:1.4}.task-inbox-meta{font-size:11px;gap:3px 7px}.task-inbox-meta>span+span:before{margin-right:7px}.task-inbox-copy .test-access{font-size:11px}
 .task-inbox-due{grid-column:2;grid-row:2;text-align:left}.task-inbox-due>strong{font-size:12px;font-weight:550}.task-inbox-due>small{display:none}.task-inbox-action{grid-column:3;grid-row:1/3;align-self:center}.task-inbox-row+.task-inbox-row:before{left:54px;right:0}
 .task-inbox-footer{align-items:flex-start;flex-direction:column;gap:4px;font-size:11px;margin-top:20px}.task-inbox-footer .text-link{font-size:12px}.task-inbox-empty{padding:28px 12px}.task-inbox-empty h2{font-size:22px}.task-inbox-empty p{font-size:14px}
}

/* A shared library for tests, teaching materials and the student journal. */
.learning-library .task-smart-list.progress{--list-tint:#a76c23}.learning-library .task-smart-list.done{--list-tint:#487b5a}
.learning-library .task-smart-list.file{--list-tint:#557fb7}.learning-library .task-smart-list.page{--list-tint:#8d64a2}.learning-library .task-smart-list.folder{--list-tint:#b38338}
.learning-library .task-inbox-toolbar>h2{display:flex;align-items:baseline;gap:10px}
.library-subject{margin:0 0 32px}.library-subject-heading{display:flex;gap:14px;align-items:center;margin-bottom:10px}
.library-art{display:block;flex:none;width:48px;height:56px;border-radius:9px;overflow:hidden;background:var(--surface2)}.library-art img{width:100%;height:100%;object-fit:cover;display:block}
.library-subject-heading>div{display:flex;align-items:baseline;gap:12px;flex:1;min-width:0}.library-subject-heading h2{font-size:18px;font-weight:600;line-height:1.4;margin:0;letter-spacing:-.2px}.library-subject-heading>div>span{font-size:11px;color:var(--secondary);white-space:nowrap;margin-left:auto}
.library-rows{border-top:.5px solid var(--line)}
.library-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 125px 10px;gap:18px;align-items:center;width:100%;padding:20px 8px;text-align:left;border-bottom:.5px solid var(--line);min-height:90px;border-radius:0}
.library-row:hover{background:var(--hover)}.library-row-copy{min-width:0}.library-row-copy>strong{font-size:15px;line-height:1.5;font-weight:550;display:block}.library-row-copy>small{font-size:11px;color:var(--secondary);line-height:1.6;display:block;margin:4px 0}
.library-row-copy .test-access{font-size:11px;margin-top:7px;line-height:1.5}.library-row-copy .test-access svg{width:13px;height:13px;flex:none}.library-row-copy .test-access.closed{color:var(--secondary)}
.library-result{text-align:right;display:block;font-variant-numeric:tabular-nums}.library-result>strong{display:block;font-size:13px;font-weight:550;line-height:1.4}.library-result>small{display:block;font-size:11px;line-height:1.5;color:var(--secondary);margin-top:5px}.library-result.progress{color:var(--accent)}.library-result.positive{color:var(--green)}.library-result.revision{color:var(--due-today)}
.library-chevron{width:7px;height:12px;color:var(--dim);flex:none}.library-more{display:flex;align-items:center;gap:8px;margin:8px 0 0;padding:10px 8px;min-height:40px;color:var(--accent);font-size:12px}.library-more>svg{width:6px;height:10px}
.library-search-row{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:28px}.library-search{display:flex;align-items:center;gap:9px;background:var(--surface2);padding:0 13px;border-radius:10px;width:340px;max-width:100%;min-width:0;min-height:42px;color:var(--secondary)}.library-search svg{width:17px;height:17px;flex:none}.library-search input{font:inherit;font-size:13px;min-width:0;width:100%;padding:10px 0;background:none;border:0;color:var(--text);outline:none}.library-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.library-search input::placeholder{color:var(--secondary)}
.library-search-row .course-picker-button{font-size:12px;max-width:290px;min-height:40px}.library-results-heading h2{font-size:18px;letter-spacing:-.2px;margin:0 0 22px;display:flex;gap:10px;align-items:baseline}.library-results-heading h2 span{font-size:12px;color:var(--secondary);font-weight:400}
.material-library-row{grid-template-columns:30px minmax(0,1fr) 50px 10px;gap:14px}.library-file-icon{display:flex;align-items:center;color:var(--secondary)}.library-file-icon>svg{width:23px;height:27px}.library-format{font-size:11px;color:var(--secondary);text-align:right}
.library-grade-hero{display:flex;align-items:center;gap:25px;padding:24px;background:var(--surface2);border-radius:16px;margin:0 0 26px}.library-grade-hero .library-art{width:100px;height:120px;border-radius:12px}.library-grade-hero small{font-size:11px;color:var(--secondary)}.library-grade-hero h2{font-size:23px;font-weight:600;letter-spacing:-.45px;line-height:1.25;margin:7px 0 12px}.library-grade-hero p{font-size:14px;color:var(--secondary);margin:0}
.library-grade-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.library-grade-filters button{display:flex;align-items:center;gap:8px;padding:10px 13px;min-height:40px;font-size:12px;border-radius:9px;color:var(--secondary)}.library-grade-filters button.active{background:var(--selection);color:var(--accent)}.library-grade-filters button:hover{background:var(--hover)}.library-grade-filters button>span{font-size:11px;opacity:.8}
.grade-library-rows .library-row{min-height:102px}.grade-library-rows .library-result>strong{font-size:17px}.library-feedback{display:block;font-size:12px;line-height:1.65;color:var(--secondary);margin-top:9px;max-width:650px}
@media(max-width:900px){
 .library-subject-heading{gap:12px;margin-bottom:12px}.library-subject-heading h2{font-size:17px;line-height:1.35}.library-subject-heading>div{display:block}.library-subject-heading>div>span{display:block;margin:4px 0 0;font-size:11px}.library-art{width:42px;height:49px;border-radius:7px}.library-subject{margin-bottom:28px}
 .library-row{grid-template-columns:minmax(0,1fr) 10px;gap:7px 12px;padding:17px 0;min-height:0}.library-row-copy{grid-column:1;grid-row:1}.library-row-copy>strong{font-size:16px;line-height:1.4}.library-row-copy>small{font-size:12px}.library-result{grid-column:1;grid-row:2;text-align:left;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.library-result>strong{font-size:12px}.library-result>small{margin:0;font-size:12px}.library-chevron{grid-column:2;grid-row:1/3;align-self:center}.library-row-copy .test-access{font-size:12px}.library-more{font-size:13px;min-height:44px;padding-left:0}
 .library-search-row{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:24px}.library-search{width:100%;min-height:44px}.library-search input{font-size:16px}.library-search-row .course-picker-button{max-width:100%;align-self:flex-start;font-size:13px;min-height:40px}.library-results-heading h2{font-size:19px}
 .material-library-row{grid-template-columns:26px minmax(0,1fr) 10px;gap:6px 12px}.material-library-row .library-file-icon{grid-row:1/3;align-self:start;padding-top:3px}.material-library-row .library-row-copy{grid-column:2;grid-row:1}.material-library-row .library-format{grid-column:2;grid-row:2;text-align:left;font-size:11px}.material-library-row .library-chevron{grid-column:3}
 .library-grade-hero{gap:17px;padding:18px;margin-bottom:20px;border-radius:13px}.library-grade-hero .library-art{width:68px;height:90px;border-radius:9px}.library-grade-hero h2{font-size:19px;letter-spacing:-.3px;margin:6px 0 9px}.library-grade-hero p{font-size:12px}.library-grade-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:12px}.library-grade-filters button{font-size:12px;padding:10px;min-height:44px}.grade-library-rows .library-row{min-height:0}.grade-library-rows .library-result>strong{font-size:15px}.library-feedback{font-size:13px;line-height:1.6}
}

/* Teacher hub — shared course artwork and lists with the student workspace. */
.teacher-hub .teacher-welcome{margin-bottom:24px;min-height:190px}.teacher-welcome h1{font-size:38px}.teacher-welcome>div{max-width:75%}
.teacher-hub-context{display:flex;gap:15px;align-items:center;padding:0 0 22px;margin:0 0 26px;border-bottom:.5px solid var(--line);min-width:0}.teacher-hub-context>.library-art{width:48px;height:58px}.teacher-hub-context>div{min-width:0;flex:1}.teacher-hub-context label{font-size:11px;color:var(--secondary);display:block;margin-bottom:3px}.teacher-hub-context .teacher-select-wrap{max-width:620px}.teacher-hub-context select{background:transparent;border:0;padding:5px 38px 5px 0;min-height:34px;font-size:17px;font-weight:600;text-overflow:ellipsis}.teacher-hub-context small{display:block;font-size:11px;color:var(--secondary);line-height:1.5;margin-top:2px}.teacher-hub-context .teacher-select-wrap>svg{right:12px}
.teacher-smart-lists.three{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-smart-lists .task-smart-list{--list-tint:var(--brand)}.teacher-smart-lists .review,.teacher-smart-lists .pending{--list-tint:#ad722c}.teacher-smart-lists .graded,.teacher-smart-lists .open{--list-tint:#487b5a}.teacher-smart-lists .revision{--list-tint:#b6683e}.teacher-smart-lists .journal{--list-tint:#8463a8}.teacher-smart-lists .closed{--list-tint:#777b83}
.teacher-hub-section{margin-bottom:30px}.teacher-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;min-height:34px}.teacher-section-title h2{font-size:18px;font-weight:600;letter-spacing:-.25px;line-height:1.4;margin:0}.teacher-section-title h2>span{font-size:12px;font-weight:400;color:var(--secondary);margin-left:8px}.teacher-section-title>.text-link{font-size:12px;flex:none;margin:0;min-height:40px}.teacher-section-title>.text-link svg{width:13px;height:13px}
.teacher-person-row{grid-template-columns:38px minmax(0,1fr) 125px 10px;gap:15px}.teacher-person-row .library-row-copy>small{margin:3px 0}.teacher-person-row .teaching-avatar{background:var(--surface2);color:var(--secondary);font-size:12px}.teacher-person-row .library-result{max-width:125px}.teacher-person-row .library-row-copy>strong{font-size:15px}
.teacher-assignment-row{grid-template-columns:48px minmax(0,1fr) 150px 10px;gap:15px}.teacher-assignment-kind{display:block;margin-top:5px;color:var(--secondary);font-size:11px;line-height:1.5}.teacher-inline-empty{font-size:13px;color:var(--secondary);padding:24px 0;line-height:1.7}
.teacher-test-window{display:flex;flex-wrap:wrap;gap:5px 20px;margin-top:10px;font-size:11px;line-height:1.6;color:var(--secondary)}.teacher-test-window>span{display:block}.teacher-test-window b{font-weight:500;color:var(--text);margin-left:5px}.teacher-journal-select{min-width:180px}.teacher-journal-select select{font-size:12px;border:0;min-height:42px}
.teacher-profile-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:30px}.teacher-profile-courses>button{display:grid;grid-template-columns:72px minmax(0,1fr) 10px;gap:15px;align-items:center;background:var(--surface2);border-radius:14px;padding:18px;text-align:left}.teacher-profile-courses .library-art{width:72px;height:94px}.teacher-profile-courses strong{display:block;font-size:17px;line-height:1.4}.teacher-profile-courses small{display:block;font-size:11px;color:var(--secondary);margin-top:8px;line-height:1.6}.teacher-profile-courses>button:hover{background:var(--selection)}
.teacher-edit-context{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:550;color:var(--secondary);padding-bottom:19px;margin-bottom:23px;border-bottom:.5px solid var(--line)}.teacher-edit-context .library-art{width:32px;height:38px;border-radius:6px}.teacher-editor .page-head{margin-bottom:28px}.teacher-editor .page-head h1{font-size:30px;letter-spacing:-.65px}.teacher-editor .teaching-form-subject{display:none}.teacher-editor .teaching-form-grid{gap:32px}.teacher-editor .recipient-picker{align-self:start;background:var(--surface2);border-radius:14px;padding:20px}.teacher-editor .recipient-picker legend{float:left;width:100%;margin-bottom:16px;font-size:17px}.teacher-editor .recipient-picker .segments{clear:both;display:flex;width:100%;background:var(--surface);margin-bottom:16px}.teacher-editor .recipient-picker .segments button{flex:1;min-width:0}.teacher-editor .recipient-options{background:var(--surface);border-radius:10px}.teacher-editor .recipient-count{line-height:1.6}.teacher-editor .teaching-form-footer{margin-top:25px}.teacher-editor .teaching-answer{background:var(--surface2);border-radius:14px;padding:23px}.teacher-editor .teaching-answer h2{margin-top:0}.teacher-editor .teaching-answer>.eyebrow{margin-bottom:18px}.teacher-editor .teaching-grading{border:0;padding:0}.teacher-editor .teaching-preview{max-width:none;background:var(--surface2);padding:26px;border-radius:14px}.teacher-editor .teaching-form input:not([type=checkbox]),.teacher-editor .teaching-form textarea,.teacher-editor .teaching-form select{border-color:transparent}.teacher-editor .teaching-preview h2{font-size:24px}
.teacher-hub .visually-hidden{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
@media(max-width:900px){
 .teacher-hub .teacher-welcome{min-height:165px;margin-bottom:22px}.teacher-welcome>div{max-width:100%}.teacher-welcome h1{font-size:30px}.teacher-welcome p{font-size:11px!important}.teacher-hub .teacher-welcome span{font-size:13px}
 .teacher-hub-context{gap:12px;padding-bottom:19px;margin-bottom:22px}.teacher-hub-context>.library-art{width:40px;height:50px;border-radius:7px}.teacher-hub-context select{font-size:16px;min-height:44px;max-width:100%;padding-right:28px}.teacher-hub-context label{font-size:11px}.teacher-hub-context small{font-size:10px}.teacher-hub-context .teacher-select-wrap>svg{right:5px}
 .teacher-smart-lists.three{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-smart-lists.three>.task-smart-list:first-child{grid-column:1/-1;min-height:76px;grid-template-columns:29px 1fr auto;gap:13px}.teacher-smart-lists.three>.task-smart-list:first-child .task-smart-label{grid-column:2;grid-row:1}.teacher-smart-lists.three>.task-smart-list:first-child>strong{grid-column:3;grid-row:1}
 .teacher-section-title{gap:10px;margin-bottom:10px}.teacher-section-title h2{font-size:19px}.teacher-section-title>.text-link{font-size:13px;min-height:44px}.teacher-hub .task-inbox-header:has(.teacher-create){flex-direction:column;align-items:stretch;gap:18px}.teacher-create{align-self:flex-start;font-size:14px!important;min-height:44px!important}
 .teacher-person-row{grid-template-columns:36px minmax(0,1fr) 10px;gap:7px 12px}.teacher-person-row .teaching-avatar{grid-column:1;grid-row:1/3;width:36px;height:36px;margin-top:4px}.teacher-person-row .library-row-copy{grid-column:2;grid-row:1}.teacher-person-row .library-row-copy>strong{font-size:16px}.teacher-person-row .library-result{grid-column:2;grid-row:2;max-width:none}.teacher-person-row .library-chevron{grid-column:3}
 .teacher-assignment-row{grid-template-columns:40px minmax(0,1fr) 10px;gap:8px 12px}.teacher-assignment-row .library-art{grid-column:1;grid-row:1/3;width:40px;height:49px;margin-top:3px}.teacher-assignment-row .library-row-copy{grid-column:2;grid-row:1}.teacher-assignment-row .library-result{grid-column:2;grid-row:2}.teacher-assignment-row .library-chevron{grid-column:3}.teacher-assignment-kind{font-size:11px}.teacher-test-window{display:block;font-size:12px}.teacher-test-window>span+span{margin-top:3px}.teacher-journal-select{align-self:stretch}.teacher-journal-select select{font-size:16px;min-height:44px}
 .teacher-profile-courses{grid-template-columns:minmax(0,1fr);gap:12px}.teacher-profile-courses>button{grid-template-columns:60px minmax(0,1fr) 10px;padding:16px;gap:13px}.teacher-profile-courses .library-art{width:60px;height:80px}.teacher-profile-courses strong{font-size:17px}.teacher-profile-courses small{font-size:11px}
 .teacher-edit-context{font-size:12px;gap:11px;line-height:1.4;margin-bottom:18px}.teacher-editor .page-head h1{font-size:28px}.teacher-editor .page-head{margin-bottom:24px}.teacher-editor .teaching-form-grid{gap:26px}.teacher-editor .recipient-picker{padding:17px}.teacher-editor .teaching-answer{padding:19px}.teacher-editor .teaching-grading{padding-top:5px}.teacher-editor .teaching-preview{padding:19px}.teacher-editor .teaching-preview h2{font-size:22px}.teacher-inline-empty{font-size:14px}.teacher-editor .teaching-preview .button{width:100%}
}

/* Cohort workflow: a document desk and a spreadsheet-like journal. */
.workflow-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:24px 0}.workflow-select{display:flex;flex:1;min-width:190px;max-width:420px;flex-direction:column;gap:8px;font-size:12px;color:var(--secondary)}.workflow-select select,.review-grade-panel select{width:100%;min-height:44px;padding:10px 34px 10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-size:14px}.workflow-toolbar .library-search{flex:1;min-width:190px}.review-batches{display:grid;gap:18px}.review-batch{border:1px solid var(--line);border-radius:18px;overflow:hidden}.review-batch-heading{display:flex;gap:18px;align-items:center;padding:22px}.review-batch-heading>div{flex:1;min-width:0}.review-batch-heading h2{font-size:18px;margin:6px 0}.review-batch-heading small,.review-batch-heading p{font-size:12px;color:var(--secondary);margin:0;line-height:1.5}.review-batch-heading .library-art{width:64px;height:74px;flex:none}.review-batch details{border-top:1px solid var(--line)}.review-batch summary{padding:14px 22px;color:var(--accent);font-size:13px;cursor:pointer}.review-batch .teacher-person-row{padding:16px 22px}.review-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 26px}.review-detail-heading h1{font-size:clamp(23px,3vw,32px);margin:6px 0}.review-detail-heading p{color:var(--secondary);line-height:1.5;margin:6px 0}.review-queue-nav{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:13px}.review-queue-nav button{padding:10px;min-width:42px}.review-desk{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.review-document-area{min-width:0}.review-file-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.review-file-tabs button{font-size:12px;padding:9px 12px;max-width:100%;overflow-wrap:anywhere}.review-file-tabs button.active{background:var(--selection);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.teacher-document{border:1px solid var(--line);background:#e9ebef;border-radius:12px;overflow:hidden;min-height:480px;color:#202127}.document-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;background:var(--surface);color:var(--text);font-size:12px;border-bottom:1px solid var(--line)}.document-tools strong{overflow-wrap:anywhere;min-width:0}.document-tools button{white-space:nowrap;font-size:12px}.document-pdf{display:block;width:100%;height:650px;border:0;background:#e9ebef}.document-paper{background:#fff;margin:20px;padding:30px;min-height:450px;line-height:1.65;box-shadow:0 2px 8px #0000000a;overflow-wrap:anywhere}.document-paper pre{font:14px/1.8 -apple-system,BlinkMacSystemFont,sans-serif;white-space:pre-wrap}.document-paper table{border-collapse:collapse;width:100%;font-size:13px}.document-paper td{border:1px solid #dce0e8;padding:8px}.document-image{max-width:100%;display:block;margin:auto;max-height:720px;object-fit:contain}.document-loading{padding:30px}.review-grade-panel{position:sticky;top:16px;display:flex;gap:12px;flex-direction:column;border:1px solid var(--line);border-radius:16px;padding:20px!important}.review-grade-panel h2{font-size:19px;margin:0}.review-grade-panel details{font-size:13px;line-height:1.5}.review-grade-panel textarea{min-height:130px;resize:vertical}.review-grade-panel .button{width:100%;font-size:13px}.review-grade-panel .quiet-note{font-size:11px;line-height:1.55;margin:0}.journal-legend{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:12px;color:var(--secondary);margin:18px 0}.journal-legend .blue{color:var(--accent)}.journal-scroll{overflow:auto;max-height:68vh;border:1px solid var(--line);border-radius:14px;isolation:isolate;overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--surface)}.cohort-journal{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:12px}.cohort-journal th,.cohort-journal td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:10px;text-align:center;background:var(--surface,#fff)}.cohort-journal thead{position:sticky;top:0;z-index:3}.cohort-journal thead th{background:var(--surface2);font-weight:500}.cohort-journal thead tr:first-child th{height:38px;color:var(--secondary);font-size:11px}.cohort-journal thead th strong{display:block;width:135px;line-height:1.4;font-size:11px;margin:5px 0;color:var(--text)}.cohort-journal small{display:block;font-size:10px;color:var(--secondary);font-weight:400;margin-top:5px}.cohort-journal tbody th,.cohort-journal thead th:first-child[rowspan]{position:sticky;left:0;z-index:2;min-width:225px;max-width:225px;text-align:left;padding:14px 16px;box-shadow:2px 0 4px #00000005}.cohort-journal tbody th strong{display:block;font-size:12px;font-weight:550;line-height:1.5}.cohort-journal tbody tr:hover td,.cohort-journal tbody tr:hover th{background:var(--hover,#f4f6fa)}.journal-cell{display:inline-flex;align-items:center;justify-content:center;min-width:62px;min-height:38px;border:0;border-radius:8px;padding:8px;font:inherit;cursor:pointer;color:var(--accent);background:var(--selection)}.journal-cell.graded{color:var(--text);background:var(--hover,#f1f2f5);font-size:14px;font-weight:650}.journal-cell.revision{color:#ad6815;background:#f9f0e0}.journal-cell.missing{color:var(--secondary);background:transparent}.journal-cell:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.journal-unassigned,.journal-add-cell{color:var(--secondary)}.recipient-options{max-height:320px;overflow:auto;overscroll-behavior:contain}.recipient-bulk{display:flex;justify-content:space-between;margin:10px 0;gap:12px}.recipient-bulk button{font-size:12px}.recipient-search-label{font-size:12px!important;margin:14px 0 8px!important}.recipient-picker input[type=search]{width:100%;min-height:44px}.task-inbox-toolbar>div{flex-wrap:wrap}.task-inbox-group.optional{border-top:1px solid var(--line);padding-top:24px;margin-top:30px}
@media(max-width:1100px){.review-desk{grid-template-columns:minmax(0,1fr)}.review-grade-panel{position:static}.review-batch-heading{flex-wrap:wrap}.review-batch-heading>.button{margin-left:82px}.document-pdf{height:560px}}
@media(max-width:600px){.workflow-toolbar{gap:12px}.workflow-select{min-width:100%;max-width:none}.review-detail-heading{display:block}.review-queue-nav{margin-top:18px;justify-content:space-between}.review-batch-heading{padding:16px;gap:12px}.review-batch-heading h2{font-size:16px}.review-batch-heading .library-art{width:48px;height:64px}.review-batch-heading>.button{margin:0;width:100%}.review-batch summary{padding:14px 16px}.cohort-journal tbody th,.cohort-journal thead th:first-child[rowspan]{min-width:145px;max-width:145px;padding:10px}.cohort-journal tbody th strong{font-size:11px}.journal-scroll{max-height:65vh}.document-paper{margin:10px;padding:18px}.document-pdf{height:490px}.document-tools{flex-wrap:wrap}.teacher-document{min-height:300px}.review-file-tabs .button{font-size:11px}.journal-legend{font-size:11px;gap:10px}.review-desk{gap:18px}}
.pdf-controls{display:flex;justify-content:center;align-items:center;gap:20px;padding:10px;border-bottom:1px solid #d5d9e0;font-size:12px}.pdf-controls .button{padding:8px}.pdf-page{padding:16px;max-height:680px;overflow:auto}.pdf-page canvas{display:block;background:white;box-shadow:0 2px 8px #0001}.pdf-text{padding:16px;color:#424751;font-size:12px}.pdf-text pre{white-space:pre-wrap;font:12px/1.6 inherit;margin-top:12px}.review-grade-panel .teaching-error:empty{display:none}
.teacher-hub:has(.review-desk) .teacher-edit-context{display:none}.teacher-hub:has(.review-desk) .assignment-back{margin:0 0 12px}.teacher-hub:has(.review-desk) .review-detail-heading{margin:8px 0 22px}.teacher-hub .review-grade-panel{border:1px solid var(--line);background:var(--surface);padding:20px;border-radius:16px}.teacher-hub .review-grade-panel select{background:var(--surface2)}
.assignment-shelf{margin:18px 0 26px}.point-thresholds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.point-thresholds>div{padding:17px 20px;border-radius:12px;background:var(--surface2);display:flex;flex-direction:column;gap:7px}.point-thresholds strong{font-size:21px;font-weight:650;color:var(--accent)}.point-thresholds span{font-size:12px;color:var(--secondary);line-height:1.5}.points-note{max-width:800px;margin:16px 0 24px!important;line-height:1.6}.cohort-journal .points-total{min-width:190px;line-height:1.6}.cohort-journal .points-total strong{font-size:15px}.cohort-journal .points-total small{font-size:11px;max-width:200px}.point-rules-form{display:flex;flex-direction:column;gap:18px;max-width:1050px}.point-rules-form h2{font-size:20px}.point-rules-form label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--secondary)}.point-rules-form input:not([type=checkbox]),.point-rules-form select{width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);min-height:42px}.point-rule-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.point-rule-tiers label{padding:16px;background:var(--surface2);border-radius:12px}.point-activity-editor{display:grid;gap:14px}.point-activity-editor>section{border:1px solid var(--line);padding:20px;border-radius:14px}.point-activity-main{display:grid;grid-template-columns:minmax(180px,1fr) 180px 120px;gap:14px;align-items:end}.point-rubric{display:flex;gap:14px;margin:16px 0}.point-rubric label{flex:1;max-width:220px}.point-activity-flags{display:flex;flex-wrap:wrap;gap:18px;margin-top:16px;align-items:center;font-size:11px;color:var(--secondary)}.point-activity-flags label{flex-direction:row;align-items:center}.point-activity-flags input{width:16px;height:16px;accent-color:var(--accent)}.point-rules-form>.button{align-self:start}.student-points{padding:24px;border:1px solid var(--line);border-radius:18px;margin:20px 0 30px}.student-points-top{display:flex;gap:20px;justify-content:space-between;align-items:center}.student-points-top p{font-size:12px;color:var(--secondary);margin:0 0 12px}.student-points-top h2{font-size:30px;margin:0 0 10px}.student-points-top h2 span{font-size:16px;color:var(--secondary);font-weight:400}.student-points-top> b{font-size:30px;color:var(--accent)}.student-points progress{display:block;width:100%;height:9px;border:0;border-radius:8px;overflow:hidden;margin:22px 0;appearance:none;background:var(--surface2)}.student-points progress::-webkit-progress-bar{background:var(--surface2)}.student-points progress::-webkit-progress-value{background:var(--accent);border-radius:8px}.student-points progress::-moz-progress-bar{background:var(--accent)}.student-points details{margin-top:18px}.student-points summary{font-size:14px;color:var(--accent);cursor:pointer}.student-point-entries>div{display:flex;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.student-point-entries small{display:block;font-size:11px;line-height:1.5;margin-top:5px;color:var(--secondary)}.student-point-entries b{white-space:nowrap}.course-progress-link{display:flex;align-items:center;gap:16px;width:100%;padding:22px;border:1px solid var(--line);border-radius:14px;text-align:left;margin-top:20px}.course-progress-link span{flex:1}.course-progress-link strong,.course-progress-link small{display:block}.course-progress-link small{margin-top:6px;color:var(--secondary)}
@media(max-width:700px){.point-rule-tiers{grid-template-columns:1fr}.point-activity-main{grid-template-columns:1fr 100px}.point-activity-main>input{grid-column:1/-1}.point-activity-main>select{min-width:0}.point-rubric{flex-wrap:wrap}.point-rubric label{min-width:120px}.point-thresholds{gap:8px}.point-thresholds>div{padding:12px}.point-thresholds strong{font-size:17px}.point-thresholds span{font-size:10px}.student-points{padding:18px}.student-points-top h2{font-size:25px}.student-points-top h2 span{display:block;font-size:13px;margin-top:6px}.student-points-top> b{font-size:25px}.point-activity-editor>section{padding:14px}.point-rules-form{gap:16px}}
@media(max-width:600px){.teacher-hub .task-inbox-header:has(>.button){flex-direction:column;align-items:stretch}.teacher-hub .task-inbox-header>.button{align-self:flex-start}.teacher-hub .task-inbox-header p{max-width:none}}
.point-mode-toggle{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;min-height:64px;cursor:pointer}.point-mode-toggle input{appearance:none;width:42px;height:26px;border-radius:20px;background:var(--button);position:relative;flex-shrink:0;transition:background .18s}.point-mode-toggle input:before{content:'';position:absolute;width:22px;height:22px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .18s}.point-mode-toggle input:checked{background:var(--accent)}.point-mode-toggle input:checked:before{transform:translateX(16px)}.point-mode-toggle strong{font-size:13px;display:block}.point-mode-toggle small{font-size:11px;color:var(--secondary);display:block;margin-top:5px}.point-mode-empty{padding:42px 24px;text-align:center;border:1px solid var(--line);border-radius:18px;margin:24px 0}.point-mode-empty p{max-width:600px;margin:16px auto;line-height:1.65;color:var(--secondary)}.point-mode-empty h2{font-size:22px;margin:16px 0}.point-mode-symbol{color:var(--accent)}.point-mode-symbol svg{width:32px;height:32px}.point-stepper{display:flex!important;position:relative;align-items:stretch;min-width:0}.point-stepper input{min-width:0;padding-right:44px!important;width:100%;appearance:textfield;-moz-appearance:textfield}.point-stepper input::-webkit-inner-spin-button,.point-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.point-stepper-controls{position:absolute;right:5px;top:4px;bottom:4px;display:flex;flex-direction:column;width:30px;border-left:1px solid var(--line)}.point-stepper-controls button{flex:1;min-height:18px;font-size:17px;line-height:1;display:flex;align-items:center;justify-content:center;color:var(--secondary)}.point-stepper-controls button:hover{background:var(--selection);color:var(--accent)}#assignment-points-settings[hidden]{display:none!important}.review-grade-panel>.point-stepper{width:100%}

/* Notifications stay close to the toolbar, with a contained list on phones. */
#notification-bell{position:relative;display:inline-flex;min-width:44px;min-height:44px}
#notification-bell svg{width:21px;height:21px}
.notification-dot{position:absolute;top:8px;right:9px;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--surface)}
.modal-backdrop:has(.notification-dialog){align-items:flex-start;justify-content:flex-end;padding:65px 24px 24px;background:#00000012;backdrop-filter:none;-webkit-backdrop-filter:none}
.dialog.notification-dialog{width:440px;max-width:100%;max-height:calc(100dvh - 90px);display:flex;flex-direction:column;border-radius:22px;background:var(--surface);box-shadow:0 14px 60px #0002;overflow:hidden}
.notification-heading{padding:25px 60px 18px 24px}.notification-heading h2{font-size:24px;letter-spacing:-.6px;margin:0 0 5px}.notification-heading p{margin:0;color:var(--secondary);font-size:13px}
.notification-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px 18px;border-bottom:1px solid var(--line)}
.notification-controls .segments button{padding:7px 12px;min-height:36px;font-size:12px}.notification-read-all{font-size:12px;min-height:36px;white-space:nowrap}
.notification-list{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 12px}
.notification-row{display:grid;grid-template-columns:28px minmax(0,1fr) 6px 8px;gap:12px;align-items:center;width:100%;text-align:left;padding:19px 12px;border-bottom:1px solid var(--line);border-radius:0}
.notification-row:last-child{border-bottom:0}.notification-row:hover{background:var(--selection)}.notification-symbol{align-self:start;padding-top:3px;color:var(--accent)}.notification-symbol svg{width:22px;height:22px}.notification-row.urgent .notification-symbol{color:var(--overdue)}
.notification-copy{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.notification-copy small{font-size:11px;color:var(--secondary)}.notification-copy strong{font-size:14px;font-weight:600;line-height:1.4}.notification-copy>span{font-size:12px;line-height:1.45;color:var(--secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notification-row-dot{height:6px;width:6px;border-radius:50%;background:var(--accent)}.is-read .notification-row-dot{background:transparent}.notification-chevron{width:7px;height:11px;color:var(--dim)}
.notification-footer{padding:13px 24px;border-top:1px solid var(--line);color:var(--secondary);font-size:10px}.notification-empty{text-align:center;padding:45px 20px;color:var(--secondary)}.notification-empty>svg{width:28px;height:28px;color:var(--accent)}.notification-empty h3{font-size:17px;color:var(--text);margin:16px 0 8px}.notification-empty p{font-size:13px;line-height:1.5}
@media(max-width:600px){.modal-backdrop:has(.notification-dialog){padding:calc(62px + env(safe-area-inset-top)) 10px 12px;align-items:flex-start}.dialog.notification-dialog{width:100%;max-height:calc(100dvh - 84px - env(safe-area-inset-top));border-radius:20px}.notification-heading{padding:22px 60px 18px 20px}.notification-controls{padding:0 20px 14px;gap:8px}.notification-controls .segments button{min-height:40px;padding:8px 10px}.notification-read-all{min-height:40px}.notification-row{padding:18px 8px;gap:9px}.notification-copy strong{font-size:15px}.notification-footer{padding:12px 20px}.toolbar-left{min-width:0}.toolbar-left .mobile-brand{min-width:0}}

/* Contextual conversations: a quiet inbox and a readable, persistent thread. */
.messages-page{max-width:1180px;margin:0 auto}.messages-layout{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid var(--line);border-radius:20px;overflow:hidden;min-height:560px;background:var(--surface)}
.conversation-sidebar{background:var(--surface2);border-right:1px solid var(--line);min-width:0;padding:16px 10px}.conversation-search{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:11px;background:var(--surface);margin:0 4px 12px;color:var(--secondary)}.conversation-search input{border:0;background:none;width:100%;min-width:0;outline:0;color:var(--text);font-size:13px}.conversation-search:focus-within{outline:2px solid var(--accent)}.conversation-filters{display:flex;flex-direction:column;gap:8px;margin:0 4px 12px}.conversation-filters select{width:100%;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font:inherit}
#conversation-list{max-height:600px;overflow:auto}.conversation-row{display:flex;flex-direction:column;gap:7px;width:100%;padding:17px 13px;text-align:left;border-radius:12px;margin-bottom:4px}.conversation-row:hover{background:var(--hover)}.conversation-row.selected{background:var(--selection)}.conversation-row-top{display:flex;align-items:center;gap:8px;justify-content:space-between}.conversation-row-top strong{font-size:13px}.conversation-unread{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--accent)}.conversation-row>b{font-size:14px;font-weight:600;line-height:1.45}.conversation-preview{color:var(--secondary);font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.conversation-row>small{font-size:10px;color:var(--secondary);line-height:1.4}.conversation-empty-list{padding:30px 16px;color:var(--secondary);font-size:13px;text-align:center}
.conversation-detail{min-width:0;display:flex;flex-direction:column}.conversation-placeholder{margin:auto;text-align:center;padding:44px;max-width:440px}.conversation-placeholder>svg{width:38px;height:38px;color:var(--accent)}.conversation-placeholder h2{font-size:22px;margin:20px 0 12px;letter-spacing:-.5px}.conversation-placeholder p{font-size:14px;line-height:1.6;color:var(--secondary);margin-bottom:20px}
.conversation-heading{padding:20px 24px;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line)}.conversation-heading>div{flex:1;min-width:0}.conversation-heading h2{font-size:17px;line-height:1.4}.conversation-heading p{font-size:11px;line-height:1.5;color:var(--secondary);margin-top:5px}.conversation-resolve{font-size:11px;white-space:nowrap;padding:9px 12px;flex-shrink:0}.conversation-back{display:none}.conversation-context{padding:14px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--surface2)}.conversation-context>span{display:flex;align-items:center;gap:12px;min-width:0}.conversation-context>span>svg{color:var(--accent)}.conversation-context strong,.conversation-context small{display:block}.conversation-context small{font-size:10px;color:var(--secondary);margin-bottom:4px}.conversation-context strong{font-size:12px;line-height:1.5}.conversation-context>.text-link{font-size:11px;white-space:nowrap;flex-shrink:0}
.conversation-transcript{padding:26px 24px;min-height:220px;max-height:480px;flex:1;overflow:auto;overscroll-behavior:contain}.message-line{display:flex;justify-content:flex-start;margin-bottom:18px}.message-line.mine{justify-content:flex-end}.message-bubble{max-width:86%;padding:14px 17px;border-radius:17px;background:var(--surface2);overflow-wrap:anywhere}.mine .message-bubble{background:var(--selection)}.message-bubble>small{display:block;font-size:10px;color:var(--secondary);margin-bottom:6px}.message-bubble p{font-size:14px;line-height:1.65;white-space:pre-wrap}.message-bubble time{display:block;font-size:10px;text-align:right;color:var(--secondary);margin-top:8px}.conversation-state{text-align:center;font-size:11px;color:var(--secondary);margin:20px 0 0}.message-file{display:flex;align-items:center;gap:9px;text-align:left;padding:10px 0;max-width:100%;font-size:12px}.message-file>span{min-width:0;overflow-wrap:anywhere}.message-file small{display:block;font-size:10px;color:var(--secondary);margin-top:4px}
.message-composer{padding:18px 24px;border-top:1px solid var(--line)}.message-composer textarea{display:block;width:100%;resize:vertical;min-height:80px;max-height:220px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);font:inherit;font-size:14px;line-height:1.5;padding:12px 14px}.message-composer-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.message-composer-actions .text-link{font-size:12px;min-height:40px}.message-composer-actions .button{font-size:13px}.message-composer>small{display:block;font-size:10px;color:var(--secondary);margin-top:10px}.message-pending-file{display:flex;align-items:center;gap:7px;font-size:12px;padding:7px 0}.message-pending-file>span{flex:1;min-width:0;overflow-wrap:anywhere}.message-pending-file .tool{width:30px;height:30px}.message-pending-file svg{width:14px;height:14px}.conversation-resolved-note{padding:20px 24px;border-top:1px solid var(--line);font-size:12px;color:var(--secondary);text-align:center}.messages-local-note{font-size:11px;line-height:1.6;color:var(--secondary);padding:18px 0}.assignment-question{display:flex;align-items:center;gap:18px;justify-content:space-between;border-block:1px solid var(--line);padding:20px 0;margin:24px 0}.assignment-question strong{display:block;font-size:15px}.assignment-question small{display:block;font-size:12px;color:var(--secondary);margin-top:6px}.assignment-question .button{flex-shrink:0;font-size:13px}
@media(max-width:1100px){.messages-layout{grid-template-columns:260px minmax(0,1fr)}.conversation-heading{flex-wrap:wrap}.conversation-resolve{margin-left:auto}.conversation-context{align-items:flex-start;flex-direction:column;gap:8px}.conversation-context>.text-link{margin-left:30px}}
@media(max-width:700px){.messages-layout{display:block;min-height:460px;border-radius:15px}.conversation-sidebar{border:0;padding:12px 8px}.conversation-detail{display:none}.messages-layout.has-selection .conversation-sidebar{display:none}.messages-layout.has-selection .conversation-detail{display:flex}.conversation-heading{padding:15px 14px;gap:9px}.conversation-heading h2{font-size:16px}.conversation-heading p{font-size:11px}.conversation-back{display:inline-flex;flex-shrink:0}.conversation-resolve{min-height:40px;margin-left:44px;font-size:12px}.conversation-context{padding:15px 18px}.conversation-context strong{font-size:13px}.conversation-context>.text-link{font-size:13px;min-height:32px}.conversation-transcript{padding:22px 14px;max-height:50dvh}.message-bubble{max-width:92%;padding:12px 15px}.message-bubble p{font-size:15px}.message-composer{padding:15px 16px}.message-composer textarea{font-size:16px}.message-composer-actions .text-link{font-size:12px}.message-composer-actions .button{min-height:44px;padding:10px 14px}.conversation-search input{font-size:16px}.conversation-filters select{font-size:14px;min-height:44px}.conversation-row{padding:20px 13px}.conversation-row-top strong{font-size:14px}.conversation-preview{font-size:13px}.assignment-question{align-items:flex-start;flex-direction:column;gap:14px}.assignment-question .button{min-height:44px}.messages-local-note{font-size:11px}#conversation-list{max-height:none}}
.message-composer>.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.message-composer-label{display:block;margin-bottom:9px;font-size:13px;font-weight:500;color:var(--secondary)}.conversation-teacher-role{font-size:11px;color:var(--secondary);line-height:1.45}.message-teacher-selector{display:flex;align-items:center;gap:15px;margin:0 0 22px;padding:14px 18px;border-radius:12px;background:var(--surface2)}.message-teacher-selector>span{font-size:12px;color:var(--secondary)}.message-teacher-selector select{max-width:100%;font:inherit;color:var(--text);background:var(--surface);padding:10px 34px 10px 12px;border:1px solid var(--line);border-radius:9px;min-height:42px}.message-recipient-list{padding:0 20px 20px}.message-recipient-list>button{display:flex;align-items:center;gap:15px;text-align:left;padding:20px 14px;width:100%;border-radius:12px}.message-recipient-list>button:hover{background:var(--selection)}.message-recipient-list>button+button{border-top:1px solid var(--line)}.message-recipient-list>button>span:nth-child(2){flex:1}.message-recipient-list strong{display:block;font-size:16px;line-height:1.5}.message-recipient-list small{display:block;font-size:13px;color:var(--secondary);margin-top:4px}.message-recipient-dialog .dialog-top>p:last-child{margin-top:12px;color:var(--secondary);font-size:14px}
@media(max-width:700px){.message-teacher-selector{display:block;padding:14px}.message-teacher-selector>span{display:block;margin-bottom:9px}.message-teacher-selector select{width:100%;font-size:14px}.message-composer-label{font-size:14px}.message-recipient-list{padding:0 12px 18px}.message-recipient-list strong{font-size:15px}}
/* Keep the assignment and its conversation together. */
.assignment-contact{display:flex;align-items:center;gap:13px;padding:16px 0;margin:22px 0;border-block:1px solid var(--line)}.assignment-contact>span:nth-child(2){flex:1;min-width:0}.assignment-contact small{display:block;font-size:11px;color:var(--secondary);margin-bottom:5px}.assignment-contact strong{display:block;font-size:14px;line-height:1.45}.assignment-contact>.text-link{font-size:13px;min-height:44px;flex-shrink:0}.learning-workspace{min-width:0}.learning-workspace.with-conversation{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.85fr);gap:28px}.learning-workspace>.assignment-page{min-width:0}.assignment-chat{min-width:0;align-self:start;position:sticky;top:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface)}.assignment-chat-top{display:flex;justify-content:space-between;align-items:center;padding:9px 15px;border-bottom:1px solid var(--line)}.assignment-chat-top .text-link{font-size:12px;min-height:36px}.assignment-chat .conversation-heading{padding:14px 18px}.assignment-chat .conversation-heading h2{font-size:15px}.assignment-chat .conversation-context,.assignment-chat .conversation-back{display:none}.assignment-chat .conversation-transcript{max-height:38dvh;min-height:140px;padding:18px 14px}.assignment-chat .message-composer{padding:14px}.assignment-chat .message-bubble{max-width:96%}.assignment-chat .message-bubble p{font-size:13px}.assignment-chat .conversation-resolve{font-size:11px}.lecture-open-row{display:flex;align-items:center;gap:13px;width:100%;min-height:68px;padding:14px 18px;text-align:left;border-top:1px solid var(--line);background:var(--surface2)}.lecture-open-row>span{flex:1}.lecture-open-row>svg{color:var(--accent)}.lecture-open-row strong{display:block;font-size:14px}.lecture-open-row small{display:block;color:var(--secondary);font-size:12px;margin-top:5px}.journal-cell.optional{color:var(--secondary);background:none}.with-conversation .assignment-contact{flex-wrap:wrap}.with-conversation .assignment-contact>.text-link{margin-left:49px}
@media(max-width:1100px){.learning-workspace.with-conversation{display:block}.learning-workspace.with-conversation>.assignment-page{display:none}.assignment-chat{position:static;max-width:650px;margin:0 auto}.assignment-chat .conversation-transcript{max-height:48dvh;min-height:200px}.assignment-chat .message-bubble p{font-size:15px}}
@media(max-width:700px){.assignment-contact{flex-wrap:wrap;padding:14px 0;gap:10px}.assignment-contact>.text-link{margin-left:47px}.assignment-contact strong{font-size:15px}.assignment-chat .conversation-heading{gap:10px}.assignment-chat .conversation-resolve{margin-left:0}.assignment-chat-top .text-link{font-size:14px}.assignment-chat .message-composer textarea{font-size:16px}.lecture-open-row{padding:16px 12px}.lecture-open-row small{font-size:12px}}
/* Conversations: a quiet list-and-detail surface with a persistent composer. */
.messages-page .library-header{margin-bottom:22px}.messages-layout{grid-template-columns:290px minmax(0,1fr);height:calc(100dvh - 225px);min-height:420px;border-radius:16px;overflow:hidden}.conversation-sidebar{padding:14px 8px;background:var(--surface2);min-height:0;display:flex;flex-direction:column}.conversation-search{margin:0 6px 12px;border-radius:9px;min-height:36px;padding:7px 10px;flex-shrink:0}.conversation-search input{font-size:13px}.conversation-search svg{width:17px;height:17px}.conversation-filters{display:block;padding:0 6px 12px}.message-segments{display:flex;gap:2px;background:color-mix(in srgb,var(--secondary) 9%,transparent);border-radius:8px;padding:3px}.message-segments button{flex:1;padding:6px 3px;min-height:30px;border-radius:6px;font-size:11px;color:var(--secondary);white-space:nowrap}.message-segments button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000012}.message-group-menu{position:relative;margin-top:9px;font-size:12px}.message-group-menu summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:8px;color:var(--secondary);cursor:pointer}.message-group-menu summary::-webkit-details-marker{display:none}.message-group-menu svg{width:14px;height:14px}.message-group-menu>div{position:absolute;z-index:4;top:100%;left:0;right:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 32px #0002;padding:5px}.message-group-menu button{display:flex;justify-content:space-between;width:100%;padding:12px 9px;border-radius:7px;text-align:left;font-size:12px}.message-group-menu button:hover{background:var(--selection)}#conversation-list{overflow:auto;max-height:none;min-height:0}.conversation-row{display:flex;gap:10px;padding:14px 10px;border-radius:10px;border:0;margin:0 0 3px;width:100%;text-align:left}.conversation-row.selected{background:var(--selection)}.conversation-avatar{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent);font-size:11px;font-weight:600}.conversation-row-copy{display:block;min-width:0;flex:1}.conversation-row-top strong{font-size:13px;line-height:1.4;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-teacher-role{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0}.conversation-row b{font-size:12px;line-height:1.4;font-weight:500;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.conversation-preview{font-size:12px;line-height:1.4;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.conversation-row small{font-size:10px;margin-top:6px}.conversation-detail{min-height:0;overflow:hidden;display:flex;flex-direction:column;background:var(--surface)}.conversation-heading{padding:16px 20px;gap:14px;flex-shrink:0;min-height:74px;flex-wrap:nowrap}.conversation-heading>div{min-width:0;flex:1}.conversation-heading h2{font-size:16px;line-height:1.4}.conversation-heading p{font-size:11px;margin-top:4px;line-height:1.4}.conversation-resolve{margin:0!important;padding:6px 0;font-size:12px;min-height:36px;white-space:nowrap;flex-shrink:0;background:none;box-shadow:none}.conversation-resolve svg{width:15px;height:15px}.conversation-context{width:100%;display:flex;align-items:center;flex-direction:row;gap:10px;text-align:left;padding:11px 20px;background:var(--surface);border-bottom:1px solid var(--line);flex-shrink:0}.conversation-context>svg{width:19px;height:19px;flex-shrink:0;color:var(--accent)}.conversation-context>svg:last-child{width:13px;color:var(--secondary)}.conversation-context>span{display:flex;align-items:center;gap:7px;flex:1;min-width:0}.conversation-context small{font-size:11px;white-space:nowrap;color:var(--secondary)}.conversation-context strong{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-transcript{flex:1;min-height:80px;max-height:none;overflow:auto;padding:24px 24px 16px;background:var(--surface)}.message-line{margin-bottom:10px}.message-bubble{padding:10px 14px;border-radius:17px;max-width:82%;background:var(--surface2)}.message-bubble p{font-size:14px;line-height:1.5}.message-line.mine .message-bubble{background:var(--accent);color:white}.message-bubble time{font-size:9px;margin-top:5px;opacity:.75;color:inherit}.message-line.mine .message-file{color:white}.message-line.mine .message-file small{color:inherit}.conversation-state{font-size:10px;margin:18px 0 4px}.message-composer{padding:12px 18px;flex-shrink:0;background:var(--surface);border-top:1px solid var(--line)}.message-composer textarea{font-size:14px;line-height:1.5;border:1px solid var(--line);background:var(--surface);border-radius:13px;min-height:58px;padding:10px 12px;resize:vertical;max-height:130px}.message-composer-actions{margin-top:7px}.message-composer-actions .text-link{font-size:12px}.message-composer-actions .button{min-height:32px;padding:7px 13px;font-size:12px}.message-composer>small{font-size:10px;margin-top:6px}.conversation-resolved-note{padding:15px 20px;font-size:11px;border-top:1px solid var(--line);text-align:center}.messages-local-note{font-size:10px;margin-top:12px}.assignment-chat .conversation-transcript{flex:auto}.assignment-chat .message-bubble p{font-size:14px}.assignment-chat .message-composer-label.visually-hidden{display:block}
.submitted-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.submitted-filters{display:flex;gap:6px;flex-wrap:wrap}.submitted-filters button{min-height:38px;padding:8px 13px;border-radius:9px;font-size:13px;color:var(--secondary)}.submitted-filters button.active{color:var(--accent);background:var(--selection)}.submitted-filters button span{margin-left:7px;opacity:.7;font-size:11px}.submitted-toolbar .conversation-search{margin:0;background:var(--surface2)}.submitted-work-row{display:flex;align-items:center;gap:17px;width:100%;padding:24px 0;text-align:left;border-bottom:1px solid var(--line)}.submitted-work-row>.library-art{width:55px;height:64px;flex:0 0 55px;border-radius:9px}.submitted-work-copy{flex:1;min-width:0}.submitted-work-copy>small{display:block;font-size:12px;color:var(--secondary);margin-bottom:6px}.submitted-work-copy>strong{display:block;font-size:16px;font-weight:600;line-height:1.4}.submitted-work-copy>span{display:block;font-size:12px;color:var(--secondary);margin-top:8px;overflow-wrap:anywhere}.submitted-work-copy>p{font-size:13px;margin-top:8px}.submitted-work-state{font-size:12px;color:var(--secondary);white-space:nowrap}.submitted-work-state.revision{color:#a65a00}.submitted-work-row>svg{width:15px;height:15px;color:var(--secondary);flex-shrink:0}
@media(max-width:700px){.messages-layout{height:calc(100dvh - 205px);min-height:380px;display:block}.conversation-sidebar{height:100%;padding:10px 6px}.conversation-detail{height:100%;display:none}.messages-layout.has-selection .conversation-detail{display:flex}.conversation-heading{padding:12px;gap:8px}.conversation-heading h2{font-size:14px}.conversation-heading p{font-size:10px}.conversation-back{display:flex;width:30px;flex-shrink:0}.conversation-resolve{font-size:11px}.conversation-resolve svg{display:none}.conversation-context{padding:10px 14px}.conversation-transcript{max-height:none;padding:18px 14px}.message-bubble{max-width:90%}.message-bubble p{font-size:15px}.message-composer{padding:10px 12px}.message-composer textarea{font-size:16px}.message-segments button{min-height:38px;font-size:12px}.conversation-search input{font-size:16px}.conversation-row-top strong{font-size:14px}.conversation-preview{font-size:13px}.conversation-row{padding:16px 10px}.submitted-work-row{gap:12px;flex-wrap:wrap;padding:20px 0}.submitted-work-row>.library-art{width:42px;height:52px;flex-basis:42px}.submitted-work-copy{flex-basis:calc(100% - 75px)}.submitted-work-copy>strong{font-size:15px}.submitted-work-state{margin-left:54px}.submitted-work-row>svg{margin-left:auto}.submitted-toolbar{gap:12px}.submitted-toolbar .conversation-search{width:100%}.submitted-filters{gap:2px}.submitted-filters button{padding:9px;font-size:12px}}
.work-status-panel{padding:22px 24px;border:1px solid var(--line);border-radius:14px;margin:24px 0 8px;background:var(--surface2)}.work-status-title{display:flex;align-items:center;gap:10px}.work-status-title svg{width:22px;height:22px;color:var(--accent)}.work-status-title h2{font-size:17px;margin:0}.work-status-title>strong{margin-left:auto;font-size:19px}.work-timeline{margin:18px 0 0;display:grid;gap:10px}.work-timeline>div{display:flex;justify-content:space-between;gap:22px;font-size:13px;line-height:1.5}.work-timeline dt{color:var(--secondary)}.work-timeline dd{margin:0;text-align:right}.work-timeline .late dd,.work-status-panel.overdue h2{color:#bc3434}.work-feedback{padding-top:17px;margin-top:17px;border-top:1px solid var(--line)}.work-feedback small{font-size:12px;color:var(--secondary)}.work-feedback p{margin-top:7px;font-size:14px;line-height:1.5}.work-history-note{font-size:12px;color:var(--secondary);line-height:1.5;margin-top:14px}@media(max-width:700px){.work-status-panel{padding:18px 16px}.work-timeline>div{font-size:12px;gap:12px}.work-status-title h2{font-size:16px}.work-status-title>strong{font-size:16px}}
.conversation-row{flex-direction:row;align-items:flex-start}.conversation-row-copy{width:calc(100% - 44px)}.conversation-row-top{display:flex}.message-composer .message-composer-label.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
/* Small sculptural illustrations retain the status cards' number/label hierarchy. */
.illustrated-tests .task-smart-list{min-height:146px;padding:13px 18px 18px;gap:5px 8px}.illustrated-tests .task-smart-icon,.illustrated-tests .task-smart-list.active .task-smart-icon{width:88px;height:88px;border-radius:0;background:none;color:inherit}.illustrated-tests .task-smart-icon img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.illustrated-tests .task-smart-list>strong{font-size:32px;align-self:center}.illustrated-tests .task-smart-label{padding-top:3px}@media(max-width:700px){.illustrated-tests .task-smart-list{min-height:125px;padding:10px 14px 15px}.illustrated-tests .task-smart-icon{width:72px;height:72px}.illustrated-tests .task-smart-list.active .task-smart-icon{width:72px;height:72px}.illustrated-tests .task-smart-list>strong{font-size:29px}}

/* Teacher cabinet: bounded artwork, quiet filters and explicit selection. */
.teacher-profile-courses>button{min-width:0;grid-template-columns:64px minmax(0,1fr) 14px;overflow:hidden}
.teacher-profile-courses>button>.library-art{display:block!important;width:64px!important;min-width:0!important;height:78px!important;grid-column:auto!important;grid-row:auto!important;aspect-ratio:auto!important;overflow:hidden;border-radius:12px}
.teacher-profile-courses .library-art img{display:block;width:100%;height:100%;object-fit:cover}
.teacher-profile-courses>button>span:not(.library-art){min-width:0}
.teacher-profile-courses strong{overflow-wrap:normal;word-break:normal}
.teacher-profile-courses small{overflow-wrap:anywhere}
.teacher-smart-lists.illustrated-tests.three .task-smart-list:first-child{grid-template-columns:88px 1fr;grid-template-rows:auto auto}
.teacher-smart-lists.illustrated-tests.three .task-smart-list:first-child .task-smart-label{grid-column:1/-1;grid-row:2}
.teacher-native-select{display:none!important}.teacher-select-wrap:has(.teacher-picker-button)>svg{display:none}
.teacher-picker-button{width:100%;min-width:0;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 16px;border:0;border-radius:12px;background:var(--surface2);color:var(--text);font:inherit;font-size:14px;text-align:left;box-shadow:inset 0 0 0 .5px var(--line)}
.teacher-picker-button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.teacher-picker-button>svg{flex:none;width:12px;height:16px;color:var(--secondary)}
.teacher-hub-context .teacher-picker-button{font-size:17px;font-weight:600;background:transparent;box-shadow:none;padding-left:0}
.teacher-hub-context .teacher-select-wrap{max-width:none}
.message-teacher-selector{background:transparent!important;padding:0!important;display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin-bottom:22px}
.message-teacher-selector>span{font-size:12px!important}.message-teacher-selector .teacher-picker-button{max-width:620px}
.workflow-toolbar{gap:16px;align-items:end}.workflow-select{min-width:0}.workflow-select>span{font-size:12px;margin-bottom:7px}
.workflow-toolbar .library-search{min-height:48px;border-radius:12px;box-shadow:none}
.teacher-picker-layer{position:fixed;inset:0;z-index:2000}.teacher-picker-menu{position:absolute;max-height:min(420px,calc(100dvh - 32px));overflow:auto;background:var(--surface);border:.5px solid var(--line);border-radius:16px;padding:6px;box-shadow:0 12px 48px #0002;overscroll-behavior:contain}
.teacher-picker-menu button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:46px;padding:12px 14px;border:0;border-radius:10px;text-align:left;color:var(--text);font:inherit;font-size:14px;line-height:1.4;background:transparent}
.teacher-picker-menu button[aria-selected=true]{color:var(--accent);background:var(--selection)}.teacher-picker-menu button:hover,.teacher-picker-menu button:focus-visible{background:var(--surface2);outline:2px solid var(--accent);outline-offset:-2px}.teacher-picker-menu svg,.picker-check-space{width:17px;flex:none}
.cohort-journal th,.cohort-journal td{border-color:var(--line)}.journal-scroll{border-radius:16px;border:.5px solid var(--line)}.journal-legend{gap:12px;font-size:12px}
.dialog-footer small a{overflow-wrap:anywhere;color:var(--accent)}
.lecture-materials{padding-top:30px}.lecture-materials .eyebrow{color:var(--accent);font-size:12px;margin-bottom:8px}.lecture-intro{color:var(--secondary);font-size:15px;line-height:1.5}
.lecture-document-list{display:grid;gap:12px;margin:22px 0 10px}.lecture-document{display:flex;align-items:center;gap:12px;background:var(--surface2);border-radius:16px;padding:8px 14px 8px 8px}
.lecture-document-open{display:flex;align-items:center;gap:16px;min-width:0;flex:1;background:none;border:0;text-align:left;padding:14px 8px;color:var(--text)}
.lecture-file-symbol{display:grid;place-items:center;background:var(--selection);color:var(--accent);width:50px;height:60px;border-radius:10px;flex:none}.lecture-file-symbol svg{width:28px;height:32px}
.lecture-document-open>span:nth-child(2){min-width:0;flex:1}.lecture-document strong,.lecture-document small,.lecture-document em{display:block}.lecture-document strong{font-size:17px;line-height:1.4}.lecture-document small{color:var(--secondary);font-size:13px;margin-top:5px;line-height:1.45}.lecture-document em{font-style:normal;color:var(--accent);font-size:12px;margin-top:10px}.lecture-document-open>svg{width:12px;flex:none;color:var(--secondary)}
.lecture-optional-answer{margin-top:28px;border-top:.5px solid var(--line)}.lecture-optional-answer>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;padding:24px 0}.lecture-optional-answer>summary::-webkit-details-marker{display:none}.lecture-optional-answer summary strong{font-size:15px;font-weight:500}.lecture-optional-answer summary small{display:block;margin-top:5px;font-size:12px;color:var(--secondary)}.lecture-optional-answer summary svg{width:12px;color:var(--secondary)}.lecture-optional-answer[open] summary svg{transform:rotate(90deg)}.lecture-optional-answer .answer-section{border-top:0;padding-top:12px}
.lecture-required-badge{color:var(--accent);font-weight:600}.lecture-teaching-settings{margin-top:32px}.lecture-teaching-settings .teacher-section-title small{color:var(--secondary)}
.lecture-required-toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0}.lecture-required-toggle small{display:block;color:var(--secondary);font-size:13px;line-height:1.4;margin-top:6px}.lecture-required-toggle input{width:22px;height:22px;accent-color:var(--accent)}.lecture-settings .workflow-select{display:block}.lecture-settings input[type=datetime-local]{width:100%;min-height:48px;padding:12px;border:0;border-radius:10px;background:var(--surface2);color:var(--text);font:inherit}.lecture-settings input:disabled{opacity:.4}
.lecture-reader-dialog{width:min(860px,calc(100vw - 32px));max-width:860px}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;padding-right:64px;gap:12px}.reader-toolbar .eyebrow{margin:0}.lecture-reader{padding:28px 44px 48px;line-height:1.75;font-size:16px;overflow-wrap:anywhere}.lecture-reader h1{font-size:29px;line-height:1.25;letter-spacing:-.6px}.lecture-reader h2{font-size:21px;margin:30px 0 12px}.lecture-reader h3{font-size:17px;margin:22px 0 8px}.reader-kicker,.reader-demo{color:var(--secondary);font-size:12px}.reader-demo{padding-bottom:20px;border-bottom:.5px solid var(--line)}
@media(max-width:700px){.teacher-profile-courses>button{grid-template-columns:54px minmax(0,1fr) 12px;padding:14px;gap:12px}.teacher-profile-courses>button>.library-art{width:54px!important;height:68px!important}.teacher-profile-courses strong{font-size:15px;line-height:1.35}.teacher-smart-lists.illustrated-tests.three .task-smart-list:first-child{grid-template-columns:72px 1fr}.teacher-picker-layer{background:#0003}.teacher-picker-menu{left:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:8px;border-radius:20px;max-height:70dvh}.teacher-picker-menu button{min-height:52px;font-size:16px}.teacher-hub-context .teacher-picker-button{font-size:15px}.lecture-document{gap:4px;padding-right:8px}.lecture-document-open{gap:12px}.lecture-file-symbol{width:38px;height:48px}.lecture-document strong{font-size:15px}.lecture-document small{font-size:12px}.lecture-document-open>svg{display:none}.lecture-reader{padding:20px 22px 32px}.lecture-reader h1{font-size:25px}.reader-toolbar{padding-right:60px}.lecture-teaching-settings .teacher-section-title{display:block}}
.teacher-profile-courses>button>.library-art{grid-column:1!important;grid-row:1!important}
.teacher-profile-courses>button>span:not(.library-art){grid-column:2!important;grid-row:1!important}
.teacher-profile-courses>button>.library-chevron{grid-column:3!important;grid-row:1!important}
.teacher-smart-lists.illustrated-tests.three .task-smart-list:first-child>strong{grid-column:2;grid-row:1;justify-self:end}

/* Size status cards by the available content width, including browser zoom. */
.task-inbox{container-type:inline-size;container-name:status-workspace}
.illustrated-tests .task-smart-list,
.teacher-smart-lists.illustrated-tests.three .task-smart-list:first-child{min-width:0;grid-template-columns:minmax(0,1fr) max-content}
.illustrated-tests .task-smart-icon,
.illustrated-tests .task-smart-list.active .task-smart-icon{min-width:0;width:100%;max-width:88px}
.illustrated-tests .task-smart-list>strong{grid-column:2;grid-row:1;justify-self:end;white-space:nowrap}
.illustrated-tests .task-smart-label{min-width:0;overflow-wrap:anywhere}
@container status-workspace (max-width:880px){
 .task-smart-lists.illustrated-tests{grid-template-columns:repeat(2,minmax(0,1fr))}
 .teacher-smart-lists.illustrated-tests.three>.task-smart-list:first-child{grid-column:1/-1}
}
@container status-workspace (max-width:280px){
 .task-smart-lists.illustrated-tests{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
 .illustrated-tests .task-smart-icon,.illustrated-tests .task-smart-list.active .task-smart-icon{max-width:72px}
}
