.app-scroll-root.section-scholar.theme-shell{padding:0;height:100dvh;min-height:0}.section-scholar .app-shell-inner{max-width:none;padding:0}.section-scholar .theme-nav{position:relative;top:auto;padding:.65rem 1.2rem;border:0;border-radius:0;background:transparent;box-shadow:none}.section-scholar .app-nav-inner{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem}.section-scholar .settings-trigger,.section-scholar .theme-nav-link{border-radius:999px}.section-scholar .scholar-page-main{padding:0;overflow:hidden}.section-scholar .scholar-workspace{--chat-width:48rem;position:relative;margin:0;gap:0;min-width:0}.section-scholar .scholar-workspace-loading{display:grid;place-items:center;align-content:center;gap:.8rem;min-height:min(32rem,calc(100dvh - 7rem));padding:2rem;color:var(--muted);text-align:center}.section-scholar .scholar-workspace-loading-mark{width:3.35rem;height:3.35rem;opacity:.92}.section-scholar .scholar-workspace-loading .scholar-loading-bubble{min-height:0;gap:.38rem;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.section-scholar .scholar-workspace-loading .scholar-loading-bubble span{background:#111827}[data-theme=dark] .section-scholar .scholar-workspace-loading .scholar-loading-bubble span{background:#fff}.section-scholar .scholar-workspace-loading p{margin:0;font-size:.875rem;font-weight:600}.section-scholar .scholar-workspace .scholar-split-layout{display:grid;grid-template-columns:15rem minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;height:100%;min-height:0;min-width:0}.section-scholar .scholar-workspace[data-sidebar-open=false] .scholar-split-layout{grid-template-columns:minmax(0,1fr)}.section-scholar .scholar-workspace .scholar-sidebar-column{display:flex;position:relative;width:auto;min-width:0;min-height:0;padding:0;overflow:hidden}.section-scholar .scholar-workspace .scholar-sidebar-column:after{position:absolute;top:.85rem;right:0;bottom:.85rem;width:1px;background:color-mix(in srgb,var(--border) 72%,transparent);content:"";pointer-events:none}.section-scholar .scholar-workspace[data-sidebar-open=false] .scholar-sidebar-column{display:none}.section-scholar .scholar-workspace .chat-history-sidebar{width:100%;height:100%;min-height:0;max-height:none;padding:.7rem .65rem 1rem;border:0;border-radius:0;background:transparent;box-shadow:none}.section-scholar .scholar-workspace .theme-card:before{display:none}.section-scholar .scholar-workspace .chat-history-sidebar-header{align-items:center;gap:.4rem;padding:.1rem .2rem .8rem}.section-scholar .scholar-workspace .chat-history-sidebar-header .theme-eyebrow{display:none}.section-scholar .scholar-workspace .chat-history-sidebar-header .theme-title{margin:0;font-size:.9rem}.section-scholar .scholar-workspace .chat-history-sidebar-actions{align-items:center;gap:.25rem}.section-scholar .scholar-workspace .chat-history-close,.section-scholar .scholar-workspace .chat-history-menu-button,.section-scholar .scholar-workspace .chat-history-new-button{display:grid;place-items:center;width:2.1rem;min-width:2.1rem;height:2.1rem;min-height:2.1rem;padding:0;border:1px solid var(--border);border-radius:50%;color:var(--text);background:color-mix(in srgb,var(--surface) 60%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,white 12%,transparent)}.section-scholar .scholar-workspace .chat-history-close{font-size:1.25rem}.section-scholar .scholar-workspace .chat-history-menu-icon span{background:#111827}[data-theme=dark] .section-scholar .scholar-workspace .chat-history-menu-icon span{background:#fff}.section-scholar .scholar-workspace .scholar-loading-bubble{min-height:0;gap:.38rem;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.section-scholar .scholar-workspace .scholar-loading-bubble span{background:#111827}[data-theme=dark] .section-scholar .scholar-workspace .scholar-loading-bubble span{background:#fff}.section-scholar .scholar-workspace .chat-history-thread-list{display:grid;flex:1 1 auto;min-height:0;max-height:none;align-content:start;gap:.15rem;margin:0;padding:0;overflow-y:auto;scrollbar-width:none;scrollbar-gutter:auto;touch-action:pan-y}.section-scholar .scholar-workspace .chat-history-thread-list::-webkit-scrollbar{display:none}.section-scholar .scholar-workspace .chat-thread-item{min-height:2.35rem;border:0;border-radius:8px;background:transparent;box-shadow:none}.section-scholar .scholar-workspace .chat-thread-item-active,.section-scholar .scholar-workspace .chat-thread-item:hover{background:color-mix(in srgb,var(--academic-blue) 12%,var(--surface))}.section-scholar .scholar-workspace .chat-thread-main{min-height:2.35rem;padding:.55rem 2rem .55rem .65rem;font-size:.8rem;font-weight:500}.section-scholar .scholar-workspace .scholar-workspace-toolbar{position:absolute;z-index:10;top:.8rem;left:.75rem;display:none;width:auto;min-height:0;padding:0;border:0;background:transparent}.section-scholar .scholar-workspace[data-sidebar-open=false] .scholar-workspace-toolbar{display:flex}.section-scholar .scholar-workspace .scholar-main-column{display:flex;grid-column:-2/-1;min-width:0;min-height:0;overflow:hidden}.section-scholar .scholar-workspace .scholar-main-column>.theme-card{position:relative;display:flex;flex:1 1 auto;flex-direction:column;width:100%;height:100%;min-height:0;max-width:none;margin:0;padding:.65rem 0 max(1.25rem,env(safe-area-inset-bottom));border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}.section-scholar .scholar-workspace .assignment-picker{display:contents}.section-scholar .scholar-workspace .assignment-picker-label,.section-scholar .scholar-workspace .assignment-picker-trigger{display:none}.section-scholar .scholar-workspace .assignment-picker-popover{position:fixed;z-index:150;top:50%;left:50%;width:min(34rem,calc(100vw - 2rem));max-height:min(42rem,calc(100dvh - 3rem));margin:0;transform:translate(-50%,-50%)}.section-scholar .scholar-workspace .theme-chat-well{position:relative;width:100%;height:auto;min-height:0;max-height:none;flex:1 1 0;align-self:center;margin:0;padding:1.5rem max(1.5rem,env(safe-area-inset-right)) 1.5rem max(1.5rem,env(safe-area-inset-left));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:var(--border) transparent;border:0;border-radius:0;background:transparent;box-shadow:none;animation:none}.section-scholar .scholar-workspace .theme-chat-well>.grid{width:min(100%,72rem);margin-inline:auto;gap:1.5rem}.section-scholar .scholar-workspace .theme-chat-well>.grid>article{padding-inline:.25rem}.section-scholar .scholar-workspace .scholar-empty-state{display:flex;height:100%;min-height:0;padding:1rem 0;align-items:center;justify-content:center}.section-scholar .scholar-workspace .scholar-intro-popover{width:100%;max-width:32rem;padding:1rem;border:0;background:transparent;box-shadow:none}.section-scholar .scholar-workspace .scholar-intro-icon{width:2.8rem;height:2.8rem}.section-scholar .scholar-workspace .scholar-intro-heading{font-size:2rem;line-height:1.2}.section-scholar .scholar-workspace .scholar-intro-copy{font-size:.9rem;line-height:1.6}.section-scholar .scholar-workspace .theme-message-scholar{width:auto;max-width:min(100%,64rem);padding:.25rem 0;border:0;border-radius:0;background:transparent;box-shadow:none}.section-scholar .scholar-workspace .theme-message-student{width:fit-content;max-width:min(72%,44rem);margin:0;padding:.72rem 1rem;border:0;border-radius:1.75rem;color:#111827;background:#e5f1f8;box-shadow:none}.section-scholar .scholar-workspace .theme-message-scholar sub,.section-scholar .scholar-workspace .theme-message-scholar sup,.section-scholar .scholar-workspace .theme-message-student sub,.section-scholar .scholar-workspace .theme-message-student sup{font-size:.72em;line-height:0}.section-scholar .scholar-workspace .scholar-chat-message-content{display:grid;gap:.35rem;width:100%;min-width:0}.section-scholar .scholar-workspace .scholar-chat-message-scholar{justify-items:start}.section-scholar .scholar-workspace .scholar-chat-message-student{justify-items:end}.section-scholar .scholar-workspace .scholar-message-actions{display:flex;align-items:center;gap:.15rem;min-height:1.65rem;color:var(--muted)}.section-scholar .scholar-workspace .scholar-message-action{display:grid;place-items:center;width:1.85rem;min-width:1.85rem;min-height:1.85rem;border:0;border-radius:50%;color:inherit;background:transparent;padding:0;line-height:1}.section-scholar .scholar-workspace .scholar-message-action svg{width:.96rem;height:.96rem;stroke-width:1.8}.section-scholar .scholar-workspace .scholar-message-action:focus-visible,.section-scholar .scholar-workspace .scholar-message-action:hover{color:var(--text);background:color-mix(in srgb,var(--surface) 72%,var(--border))}.section-scholar .scholar-workspace .scholar-message-action:disabled{cursor:not-allowed;opacity:.45}.section-scholar .scholar-workspace .scholar-message-more{position:relative}.section-scholar .scholar-workspace .scholar-message-more-button{width:1.85rem;min-width:1.85rem}.section-scholar .scholar-workspace .scholar-message-action-menu{position:absolute;z-index:10;right:0;bottom:calc(100% + .3rem);display:grid;min-width:8rem;overflow:hidden;border:1px solid var(--border);border-radius:.7rem;background:var(--popover-bg);box-shadow:0 10px 24px var(--shadow)}.section-scholar .scholar-workspace .scholar-message-action-menu button{display:flex;align-items:center;gap:.45rem;border:0;color:var(--text);background:transparent;padding:.55rem .7rem;font-size:.78rem;font-weight:650;text-align:left}.section-scholar .scholar-workspace .scholar-message-action-menu svg{width:.9rem;height:.9rem}.section-scholar .scholar-workspace .scholar-reply-context{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:0 0 .45rem;border-left:2px solid var(--accent);color:var(--muted);padding:.1rem 0 .1rem .55rem;font-size:.76rem;line-height:1.35}.section-scholar .scholar-workspace .scholar-reply-context span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.section-scholar .scholar-workspace .scholar-reply-context button{width:1.55rem;min-width:1.55rem;height:1.55rem;border:0;border-radius:50%;color:var(--muted);background:transparent;font-size:1rem;line-height:1}.section-scholar .scholar-workspace .scholar-reply-context button:focus-visible,.section-scholar .scholar-workspace .scholar-reply-context button:hover{color:var(--text);background:color-mix(in srgb,var(--surface) 72%,var(--border))}.section-scholar .scholar-workspace .scholar-message-action-menu button:focus-visible,.section-scholar .scholar-workspace .scholar-message-action-menu button:hover{background:color-mix(in srgb,var(--surface) 75%,var(--border))}[data-theme=dark] .section-scholar .scholar-workspace .theme-message-scholar,[data-theme=dark] .section-scholar .scholar-workspace .theme-message-scholar p{color:#fff}[data-theme=dark] .section-scholar .scholar-workspace .theme-message-student{color:#fff;background:#1e4774}[data-theme=dark] .section-scholar .scholar-workspace .theme-message-student p{color:#fff}.section-scholar .scholar-workspace .theme-composer{position:relative;inset:auto;z-index:5;align-self:center;flex:0 0 auto;width:min(100%,var(--chat-width));max-height:45%;margin:.6rem 0 0;padding:.7rem;overflow-y:auto;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 60%,transparent) transparent;border:1px solid color-mix(in srgb,var(--border-strong) 75%,transparent);border-radius:1.6rem;background:color-mix(in srgb,var(--surface) 80%,transparent);backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%);box-shadow:inset 0 1px 0 color-mix(in srgb,white 15%,transparent),0 8px 26px var(--shadow);transform:none;animation:none}.section-scholar .scholar-workspace .theme-composer::-webkit-scrollbar{width:.45rem}.section-scholar .scholar-workspace .theme-composer::-webkit-scrollbar-button{display:none}.section-scholar .scholar-workspace .theme-composer::-webkit-scrollbar-track{background:transparent}.section-scholar .scholar-workspace .theme-composer::-webkit-scrollbar-thumb{min-height:2.5rem;border:2px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--muted) 55%,transparent);background-clip:padding-box}.section-scholar .scholar-workspace .theme-composer::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--text) 55%,transparent);background-clip:padding-box}.section-scholar .scholar-workspace .theme-composer:focus-within{border-color:color-mix(in srgb,var(--academic-blue) 70%,var(--border))}.section-scholar .scholar-workspace .scholar-composer-layout{display:grid;grid-template-columns:2.25rem minmax(0,1fr);gap:.55rem;align-items:stretch}.section-scholar .scholar-workspace .scholar-composer-main{grid-row:auto;grid-column:auto;order:0;width:100%;min-width:0}.section-scholar .scholar-workspace .scholar-composer-input-row{display:grid;grid-template-columns:minmax(0,1fr) 2.25rem;gap:.55rem;align-items:stretch;height:100%}.section-scholar .scholar-workspace .scholar-composer-field{min-height:100%}.section-scholar .scholar-workspace .scholar-textarea-wrap{height:100%}.section-scholar .scholar-workspace .scholar-composer-actions{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.4rem}.section-scholar .scholar-workspace .theme-composer-input{display:block;width:100%;min-height:5.25rem;height:100%;max-height:9rem;padding:.55rem .3rem;font-size:1rem;line-height:1.5;border:0;background:transparent;box-shadow:none;resize:none}.section-scholar .scholar-workspace .theme-composer-input:focus-visible{outline:none}.section-scholar .scholar-workspace .mode-rail{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:auto;grid-row:auto;grid-column:auto;order:0;gap:.4rem;padding:0;background:transparent}.section-scholar .scholar-workspace .mode-rail-button,.section-scholar .scholar-workspace .scholar-icon-button{display:inline-grid;flex:0 0 auto;place-items:center;width:2.25rem;height:2.25rem;min-width:2.25rem;min-height:2.25rem;padding:0;border-radius:50%;box-shadow:none}.section-scholar .scholar-workspace .scholar-assignment-context-button{position:relative;order:-1}.section-scholar .scholar-workspace .scholar-assignment-context-hint{position:absolute;top:50%;right:calc(100% + .55rem);width:max-content;padding:.38rem .55rem;border:1px solid var(--border);border-radius:.6rem;color:var(--panel-text);background:var(--popover-bg);box-shadow:0 8px 20px var(--shadow);font-size:.72rem;font-weight:700;line-height:1;transform:translateY(-50%);pointer-events:none}.section-scholar .scholar-workspace .scholar-assignment-context-hint:after{position:absolute;top:50%;right:-.36rem;width:.62rem;height:.62rem;border-top:1px solid var(--border);border-right:1px solid var(--border);background:var(--popover-bg);content:"";transform:translateY(-50%) rotate(45deg)}.section-scholar .scholar-workspace .mode-rail-label{display:none}.section-scholar .scholar-workspace .mode-rail-button:not(.mode-rail-button-active){background:transparent;border-color:transparent}@media (max-width:899px){.section-scholar .theme-nav{padding:.5rem .7rem}.section-scholar .nav-brand-copy{display:none}.section-scholar .app-nav-inner{gap:.5rem}.section-scholar .scholar-workspace .scholar-split-layout{grid-template-columns:minmax(0,1fr)}.section-scholar .scholar-workspace[data-drawer-open=true] .scholar-split-layout{isolation:auto}.section-scholar .scholar-workspace .scholar-workspace-toolbar{display:flex}.section-scholar .scholar-workspace .scholar-sidebar-column{display:none}.section-scholar .scholar-workspace[data-drawer-open=true] .scholar-sidebar-column{position:fixed;z-index:130;inset:0 auto 0 0;display:flex;width:min(19rem,88vw);padding-top:env(safe-area-inset-top);background:var(--page-bg)}.section-scholar .scholar-workspace .scholar-main-column>.theme-card{padding:.65rem 0 max(1rem,env(safe-area-inset-bottom))}.section-scholar .scholar-workspace .theme-chat-well{width:100%;padding:1rem .35rem}.section-scholar .scholar-workspace .theme-message-student{max-width:84%}.section-scholar .scholar-workspace .scholar-intro-heading{font-size:1.65rem}.section-scholar .scholar-workspace .theme-composer{border-radius:1.4rem}.section-scholar .scholar-workspace .scholar-composer-layout{grid-template-columns:2.1rem minmax(0,1fr);gap:.35rem}.section-scholar .scholar-workspace .scholar-composer-input-row{grid-template-columns:minmax(0,1fr) 2.1rem;gap:.35rem}.section-scholar .scholar-workspace .theme-composer-input{min-height:4.4rem}}@media (max-height:550px){.section-scholar .scholar-workspace .scholar-intro-copy,.section-scholar .scholar-workspace .scholar-intro-icon,.section-scholar .scholar-workspace .scholar-intro-popover>.theme-eyebrow{display:none}}