/* Student experience: scoped to the student shell, no changes to staff tools. */
body[data-role="student"]{--student-ink:#211b31;--student-muted:#60596e;--student-line:#e4e0ea;--student-brand:#6039be;--student-soft:#f1ebfc;--student-surface:#fff;color:var(--student-ink)}
body[data-role="student"] :is(button,a,summary,input,textarea,select):focus-visible{outline:3px solid #8e6de2!important;outline-offset:3px!important}
body[data-role="student"] [hidden]{display:none!important}
.student-welcome,.student-home-heading{margin:0 0 25px;display:grid;gap:15px;min-width:0}
.student-back{font-size:13px;font-weight:600;color:var(--student-muted);width:max-content;text-decoration:none}
.student-back:hover{color:var(--student-brand)}
.student-welcome__heading,.student-home-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.student-welcome h1,.student-home-heading h1{font-size:clamp(28px,3vw,39px);line-height:1.15;letter-spacing:-.045em;font-weight:730;margin:0;color:var(--student-ink)}
.student-welcome p,.student-home-heading p{margin:6px 0 0;color:var(--student-muted);font-size:15px;line-height:1.5}
.student-personal{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--student-brand);font-weight:650;font-size:14px;text-decoration:none;padding:10px 0;min-height:44px}
.student-personal small{font-weight:500;color:var(--student-muted);font-size:12px}
.student-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px}
.student-action{display:flex;align-items:center;gap:13px;min-height:88px;padding:17px 19px;border:1px solid var(--student-line);border-radius:15px;text-align:left;text-decoration:none!important;background:var(--student-surface);color:var(--student-ink);font:inherit;min-width:0;cursor:pointer;transition:box-shadow .15s,transform .15s}
.student-action:hover{transform:translateY(-1px);box-shadow:0 6px 16px #2c165e10}
.student-action strong,.student-action small{display:block;line-height:1.35;overflow-wrap:anywhere}
.student-action strong{font-size:16px;font-weight:700}.student-action small{font-size:13px;color:var(--student-muted);margin-top:5px}
.student-action__icon{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:12px;background:var(--student-soft);color:var(--student-brand);font-size:25px}
.student-action__icon svg{width:24px;height:24px}.student-action__arrow{margin-left:auto;font-size:22px;flex:none;color:inherit}
.student-action--primary{background:linear-gradient(112deg,#5832b4,#7146cf);border-color:transparent;color:#fff}.student-action--primary small{color:#f5efff}.student-action--primary .student-action__icon{background:#ffffff24;color:#fff}.student-action--locked{cursor:default;background:#f8f6fb}.student-action--locked:hover{transform:none;box-shadow:none}
body[data-role="student"] .app-shell--topnav .course-page--pro .course-pro-workspace{border-radius:15px!important;box-shadow:0 4px 18px #24164306!important;overflow:visible!important;margin-top:0!important}
body[data-role="student"] .course-pro-workspace__header{padding:18px 20px 10px!important;border-bottom:0!important}
body[data-role="student"] .course-pro-workspace__header h2{font-size:20px!important;color:var(--student-ink)!important}body[data-role="student"] .course-pro-workspace__header p{font-size:13px!important;color:var(--student-muted)!important}
body[data-role="student"] .course-pro-toolbar{padding:8px 20px 12px!important}body[data-role="student"] .course-pro-search{border-radius:10px!important;min-height:46px!important}body[data-role="student"] .course-pro-shortcuts button{min-height:42px!important}
body[data-role="student"] .course-pro-results{font-size:12px!important;color:var(--student-muted)!important}body[data-role="student"] .course-mail-inbox__count{display:none!important}
body[data-role="student"] .course-pro-filter-actions .course-pro-reset{display:none!important}body[data-role="student"] .course-pro-toolbar:has(.studio-filter-count:not([hidden])) .course-pro-reset,body[data-role="student"] .course-pro-toolbar:has([data-course-search-context]:not([hidden])) .course-pro-reset{display:inline-flex!important}
body[data-role="student"] .app-shell--topnav .course-page--pro .course-mail-inbox{background:#fff!important}
body[data-role="student"] .app-shell--topnav .course-page--pro .course-mail-item{border-radius:9px!important;border:1px solid transparent!important;box-shadow:none!important;padding:12px!important;gap:6px!important;background:#fff!important;min-height:0!important}
body[data-role="student"] .app-shell--topnav .course-page--pro .course-mail-item:hover{background:#f8f5fc!important}body[data-role="student"] .app-shell--topnav .course-page--pro .course-mail-item.is-active{background:#f1ebfc!important;border-color:#cdbbec!important}
body[data-role="student"] .course-mail-item__title{font-size:14px!important;font-weight:630!important;line-height:1.45!important;overflow-wrap:anywhere}
body[data-role="student"] .course-mail-item__preview{display:none!important}body[data-role="student"] .course-mail-item__sender:has(span:last-child){font-size:11px!important}body[data-role="student"] .course-mail-item__state{font-size:11px!important;background:transparent!important;padding:0!important;color:#6b5260!important}body[data-role="student"] .course-mail-item.is-answered .course-mail-item__state{color:#176748!important}
body[data-role="student"] .course-mail-item__chip{background:transparent!important;border:0!important;padding:0!important;color:var(--student-muted)!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-role="student"] .app-shell--topnav .course-page--pro .course-mail-detail{background:#fff!important;border:0!important;box-shadow:none!important;padding:0!important;min-width:0!important}
body[data-role="student"] .app-shell--topnav .course-page--pro .course-mail-detail .discussion-thread{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;min-width:0!important}
body[data-role="student"] .app-shell--topnav .course-page--pro .course-mail-detail .discussion-thread__question{border:0!important;border-radius:0!important;box-shadow:none!important;padding:23px 25px 18px!important;gap:10px!important;background:#fff!important}
body[data-role="student"] .course-mail-detail .discussion-thread__question::before{display:none!important}
body[data-role="student"] .course-mail-detail .discussion-thread__title{font-size:19px!important;line-height:1.4!important;margin:0!important;letter-spacing:-.02em!important}
body[data-role="student"] .course-mail-detail .discussion-thread__title.student-question-label{font-size:15px!important;letter-spacing:0!important;color:var(--student-muted)!important}
body[data-role="student"] .course-mail-detail .discussion-thread__meta{font-size:12px!important;color:var(--student-muted)!important;gap:6px!important}
body[data-role="student"] .course-mail-detail .thread-prose{font-size:16px!important;line-height:1.7!important;overflow-wrap:anywhere}
body[data-role="student"] .course-mail-detail .discussion-thread__separator{margin:4px 24px 12px!important}
body[data-role="student"] .course-mail-detail .discussion-thread__responses{padding:0 25px 24px!important}
body[data-role="student"] .course-mail-detail .thread-response--teacher{background:#f8f5fc!important;border:1px solid #e6dcf6!important;border-radius:12px!important;box-shadow:none!important;padding:16px!important}
body[data-role="student"] .course-mail-detail .thread-response--empty{background:#f8f7fa!important;border:1px solid var(--student-line)!important;border-radius:10px!important;padding:14px!important}
body[data-role="student"] .course-mail-detail .discussion-thread__question-footer{margin:6px 0 0!important}
/* Compact composer; the action bar is independent of the scrolling content. */
body[data-role="student"] .student-composer{position:fixed!important;inset:0!important;z-index:2000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;background:#21193477!important;backdrop-filter:blur(4px)}
body[data-role="student"] .student-composer[hidden]{display:none!important}
body[data-role="student"] .student-composer>.composer-modal__dialog{width:min(100%,680px)!important;max-height:min(90dvh,820px)!important;height:auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;border-radius:17px!important;background:#fff!important;box-shadow:0 22px 85px #17112640!important}
body[data-role="student"] .student-composer .composer-modal__header{padding:18px 22px!important;flex:none!important;border-bottom:1px solid var(--student-line)!important;gap:12px!important;background:white!important;position:static!important}
body[data-role="student"] .student-composer .composer-modal__header h2{font-size:21px!important;line-height:1.3!important;margin:0!important;letter-spacing:-.025em!important}
body[data-role="student"] .student-composer .composer-modal__header p{font-size:13px!important;color:var(--student-muted)!important;margin:4px 0 0!important}
body[data-role="student"] .student-composer form[data-question-composer]{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;padding:0!important;gap:0!important}
body[data-role="student"] .student-composer .composer-card-saas__grid{display:flex!important;flex-direction:column!important;gap:11px!important;padding:17px 22px!important;overflow-y:auto!important;min-height:0!important;overscroll-behavior:contain}
body[data-role="student"] .student-composer .composer-card-saas__editor{resize:vertical!important;min-height:120px!important;height:135px;max-height:300px!important;font-size:16px!important;line-height:1.5!important;border-radius:10px!important;border:1px solid #bcb3cc!important;padding:12px!important;background:#fff!important;color:var(--student-ink)!important}
body[data-role="student"] .student-composer .studio-editor-label{font-size:14px;font-weight:650;color:var(--student-ink)}
body[data-role="student"] .student-composer .studio-draft-line{font-size:12px!important;color:var(--student-muted)!important;margin:0!important}
.student-compose-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.student-compose-tools small{color:var(--student-muted);font-size:12px}.student-compose-tools [id="file-feedback"]{flex:1 0 100%;font-size:13px;line-height:1.4;color:#8b2a1e}.student-compose-tools .topbar-button{min-height:42px!important;padding:8px 11px!important;font-size:13px!important;cursor:pointer}
body[data-role="student"] .student-composer .student-topics{border:1px solid var(--student-line)!important;border-radius:10px!important;background:#fff!important;padding:0!important;margin:0!important;display:block!important}
.student-topics summary,.student-format-help summary{cursor:pointer;min-height:42px;padding:11px 12px;font-size:13px;font-weight:650;color:var(--student-ink)}.student-topics summary small{color:var(--student-muted);font-size:12px;font-weight:400;margin-left:5px}.student-topics p,.student-format-help p{margin:0;padding:0 12px 10px;color:var(--student-muted);font-size:13px;line-height:1.5}
.student-topics .discussion-thread__topic-selector{padding:0 12px 12px!important;gap:7px!important}.student-topics .discussion-thread__topic-pill{background:#fff!important;color:var(--student-ink)!important;border:1px solid #d5cfdf!important;padding:8px 10px!important;border-radius:7px!important;font-size:13px!important}.student-topics input:checked + .discussion-thread__topic-pill{background:var(--student-soft)!important;border-color:var(--student-brand)!important;color:var(--student-brand)!important}.student-topics input:focus-visible + .discussion-thread__topic-pill{outline:2px solid #8e6de2!important;outline-offset:2px!important}
.student-format-help summary{padding:4px 0;min-height:30px;color:var(--student-muted);font-weight:500}.student-format-help p{padding:0 0 8px}
.student-compose-submit{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;padding:14px 22px;border-top:1px solid var(--student-line);background:#fff}.student-compose-submit small{color:var(--student-muted);font-size:12px;line-height:1.4}.student-compose-submit button{min-height:44px!important;padding:10px 18px!important;border-radius:9px!important;white-space:nowrap;font-size:14px!important;background:var(--student-brand)!important;color:#fff!important}.student-compose-submit button:disabled{background:#e8e4ee!important;color:#6a6276!important;opacity:1!important;cursor:not-allowed!important}
body[data-role="student"].has-compose-modal{overflow:hidden!important}
/* Student navigation and directory. */
.student-topbar .app-notification__copy small{display:none!important}.student-topbar .app-notification--quiet{border:0!important;background:transparent!important;box-shadow:none!important}.student-topbar .app-notification--quiet .app-notification__copy strong{font-size:12px!important;font-weight:500!important;color:var(--student-muted)!important}
.student-account{position:relative;flex:none}.student-account>summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px}.student-account>summary::-webkit-details-marker{display:none}.student-account>summary::after{content:'⌄';color:var(--student-muted);font-size:16px}.student-account__menu{position:absolute;z-index:100;right:0;top:calc(100% + 8px);padding:12px;min-width:185px;border-radius:12px;background:#fff;color:var(--student-ink);border:1px solid var(--student-line);box-shadow:0 10px 32px #21193420;display:grid;gap:10px}.student-account__menu strong{font-size:13px;overflow-wrap:anywhere}.student-account__menu button{width:100%;min-height:42px}
body[data-role="student"] .student-home-heading{margin:0 0 24px}.student-home-heading h1{font-size:clamp(28px,3vw,38px)}
body[data-role="student"] .tv-course-browser__kicker,body[data-role="student"] .tv-course-browser__head p{display:none!important}body[data-role="student"] .tv-course-browser__head h2{font-size:22px!important}
body[data-role="student"] .tv-course-card--v2 .tv-course-card__content{min-height:0!important;gap:12px!important}body[data-role="student"] .tv-course-card--v2 .tv-course-activity{display:none!important}body[data-role="student"] .tv-course-card--v2.has-unread-response .tv-course-activity{display:flex!important}
body[data-role="student"] .issue-student-hero{padding:16px 0!important;background:transparent!important;border:0!important;box-shadow:none!important;display:block!important}body[data-role="student"] .issue-student-hero .panel__eyebrow{display:none!important}body[data-role="student"] .issue-student-hero__stats{display:none!important}
@media(max-width:960px){.student-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.student-welcome{margin-bottom:20px}.student-topbar .app-user__copy{display:none!important}.student-topbar .app-notification__copy{display:none!important}}
@media(max-width:650px){.student-welcome{gap:11px}.student-welcome__heading{gap:3px}.student-welcome h1{font-size:29px}.student-welcome p{font-size:14px}.student-actions{grid-template-columns:minmax(0,1fr);gap:8px}.student-action{min-height:73px;padding:12px}.student-action strong{font-size:15px}.student-action small{font-size:12px}.student-action__icon{width:38px;height:38px}.student-personal{min-height:40px;padding:4px 0}.student-home-heading{gap:7px}.student-home-heading h1{font-size:29px}.student-topbar .app-notification--quiet{display:none!important}.student-topbar .app-nav__link{white-space:nowrap!important}body[data-role="student"] .course-pro-workspace__header{padding:14px 12px 4px!important}body[data-role="student"] .course-pro-toolbar{padding:8px 12px 10px!important}body[data-role="student"] .app-shell--topnav .course-page--pro .course-mail-detail .discussion-thread__question{padding:16px 13px!important}body[data-role="student"] .course-mail-detail .discussion-thread__responses{padding:0 12px 16px!important}body[data-role="student"] .student-composer{padding:8px!important;align-items:center!important}body[data-role="student"] .student-composer>.composer-modal__dialog{max-height:calc(100dvh - 16px)!important;border-radius:13px!important}body[data-role="student"] .student-composer .composer-modal__header{padding:13px 14px!important}body[data-role="student"] .student-composer .composer-card-saas__grid{padding:13px 14px!important;gap:8px!important}.student-compose-submit{padding:10px 14px;flex-wrap:wrap;gap:6px}.student-compose-submit small{font-size:11px}.student-compose-submit button{width:100%}.student-topbar .app-brand__copy small{display:none!important}}
@media(prefers-reduced-motion:reduce){.student-action{transition:none!important}.student-action:hover{transform:none}}
body[data-role="student"] .course-pro-workspace.has-student-filters .course-pro-reset{display:inline-flex!important}
.student-format-help .student-inline-tool{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;min-height:42px;padding:8px 10px!important;font-size:13px!important;margin-bottom:8px}.student-format-help .student-inline-tool svg{width:18px;height:18px}
body[data-role="student"] .student-composer:has([data-sketch-modal]:not([hidden])) > .composer-modal__dialog,body[data-role="student"] .student-composer:has([data-sketch-modal]:not([hidden])) form[data-question-composer]{overflow:visible!important}
