@layer mindcoda-workspace {
/* Readable study surfaces around the existing authenticated workspace.
   Glass is confined to framing; notes, forms and recommendations stay opaque. */
html:has(body.student-experience #app-shell[data-study-journey=true]),
html body.student-experience:has(#app-shell[data-study-journey=true]) {min-width:0!important;}
html body.student-experience:has(#app-shell[data-study-journey=true]),
html body.student-experience #app-shell#app-shell[data-study-journey=true] {
 --journey-surface:#ffffff;--journey-soft:#f3f7ff;--journey-ink:#0c193d;
 --journey-muted:#425474;--journey-edge:#b9c9e2;--journey-accent:#0940c4;
 --journey-on-accent:#ffffff;--journey-mint:#c7fce0;
 scroll-padding-block:6rem 8rem;
}
html.theme-dark body.student-experience:has(#app-shell[data-study-journey=true]),
html.theme-dark body.student-experience #app-shell#app-shell[data-study-journey=true] {
 --journey-surface:#111f3b;--journey-soft:#182b49;--journey-ink:#edf3ff;
 --journey-muted:#bacbe5;--journey-edge:#62799c;--journey-accent:#b4ccff;
 --journey-on-accent:#0c193d;--journey-mint:#234938;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] [data-view=home] {max-width:78rem;margin-inline:auto;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-dashboard {
 display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(17rem,1fr)!important;gap:1.25rem!important;align-items:start;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-next.mc-card {
 display:grid!important;grid-template-columns:minmax(0,1fr) 6rem!important;gap:1rem!important;
 grid-column:1!important;grid-row:1 / span 2!important;order:0!important;
 min-height:0!important;padding:1.5rem!important;border:1px solid var(--journey-edge)!important;
 border-radius:1.75rem!important;background:var(--journey-surface)!important;color:var(--journey-ink)!important;
 box-shadow:0 12px 36px #0940c412,inset 0 1px 0 #ffffff55!important;overflow:visible!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-dashboard__schedule {
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-column:2!important;grid-row:1 / span 2!important;
 gap:1rem!important;min-width:0;align-content:start;order:1!important;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .today-dashboard__schedule>* {grid-column:1!important;grid-row:auto!important;min-width:0;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-next__body {
 grid-column:1;grid-row:1;min-width:0;gap:.875rem!important;justify-content:flex-start!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .student-board-orbit.today-coda-bubble {
 display:inline-block!important;grid-column:2;grid-row:1;align-self:start;width:5.5rem!important;height:5.5rem!important;margin:0!important;
 min-height:44px;position:relative!important;inset:auto!important;flex:none!important;
}
.today-coda-caption {position:absolute;top:calc(100% + .65rem);inset-inline:0;font:700 .875rem/1.4 system-ui;text-align:center;white-space:nowrap;color:var(--journey-ink);}
html body #app-shell#app-shell[data-study-journey=true] .student-deck>[data-mobile-more] {display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:.6rem .85rem;border:1px solid var(--journey-edge);border-radius:.8rem;background:var(--journey-surface);color:var(--journey-ink);font-size:.9375rem;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-hero-glow {display:none!important;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .simple-study-title {
 margin:0!important;color:var(--journey-ink)!important;font-size:clamp(1.35rem,2.3vw,1.8rem)!important;line-height:1.25!important;letter-spacing:-.025em;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .simple-study-course {
 width:100%;gap:.4rem!important;color:var(--journey-muted)!important;font-size:.9375rem!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .simple-study-course select {
 width:100%;min-width:0;min-height:48px;padding:.7rem 2.2rem .7rem .8rem!important;border:1px solid var(--journey-edge)!important;
 border-radius:.875rem!important;background-color:var(--journey-soft)!important;color:var(--journey-ink)!important;font:600 1rem/1.5 system-ui!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .mc-home-resume:not([hidden]) {
 display:flex!important;flex-direction:column;align-items:flex-start;gap:.3rem;min-height:64px;width:100%;padding:1rem!important;
 border-radius:1rem!important;border:1px solid var(--journey-accent)!important;background:var(--journey-accent)!important;color:var(--journey-on-accent)!important;
 text-align:start;font-size:1rem!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .mc-home-resume :is(span,strong,small) {font-size:.875rem!important;color:inherit!important;opacity:1!important;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .mc-home-focus-dock {
 width:100%;gap:.7rem!important;align-items:stretch!important;flex-direction:column!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .simple-study-launch {display:flex!important;flex-wrap:wrap;gap:.7rem;min-width:0;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .mc-home-time-options {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.4rem!important;width:100%!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] [data-home-time-controls] {width:100%!important;flex-basis:100%!important;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] [data-home-duration] {
 min-height:44px;min-width:0;padding:.65rem .3rem!important;border:1px solid var(--journey-edge)!important;
 border-radius:.8rem;background:var(--journey-soft)!important;color:var(--journey-ink)!important;font-size:.9375rem!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] [data-home-duration][aria-pressed=true] {
 background:var(--journey-accent)!important;color:var(--journey-on-accent)!important;border-color:var(--journey-accent)!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] :is(.simple-study-materials,.mc-home-study-help) {
 display:flex!important;min-height:44px!important;justify-content:center;background:var(--journey-soft)!important;color:var(--journey-accent)!important;
 border:1px solid var(--journey-edge)!important;border-radius:.875rem!important;padding:.7rem!important;font-size:1rem!important;line-height:1.4;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] [data-home-start-focus] {
 width:100%!important;min-height:48px!important;background:#0940c4!important;color:#fff!important;border:1px solid #0940c4!important;
 border-radius:.875rem!important;font-size:1rem!important;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] [data-home-start-focus] :is(span,strong,small) {color:inherit!important;}
html body.student-experience #app-shell#app-shell[data-study-journey=true] [data-home-start-focus]::after {display:none!important;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow]:has([data-home-resume]:not([hidden])) [data-home-start-focus] {
 background:var(--journey-soft)!important;color:var(--journey-accent)!important;border-color:var(--journey-edge)!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] [data-home-focus-options]:not([hidden]) {
 display:block!important;position:static!important;max-height:none!important;opacity:1!important;padding:0!important;background:transparent!important;
 order:5!important;width:100%;border:0!important;border-top:1px solid var(--journey-edge)!important;box-shadow:none!important;color:var(--journey-ink)!important;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .simple-study-options__content>button:not([hidden]) {
 background:var(--journey-soft)!important;color:var(--journey-accent)!important;border:1px solid var(--journey-edge)!important;
 min-height:44px!important;font-size:.9375rem!important;line-height:1.4;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] :is(.simple-study-context,.today-secondary)>summary {
 min-height:44px;box-sizing:border-box;padding:.8rem .25rem;color:var(--journey-ink)!important;font-size:.9375rem;line-height:1.5;cursor:pointer;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .simple-study-context .mc-clarity__task {display:block!important;color:var(--journey-ink)!important;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow] .simple-study-context :is(.mc-next-options,.mc-home-recommendation-details):not([hidden]) {display:flex!important;gap:.5rem;flex-wrap:wrap;}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .simple-study-context :is(p,h2,h3,summary) {color:var(--journey-ink)!important;overflow-wrap:anywhere;}
html body.student-experience #app-shell#app-shell[data-study-journey=true] :is([data-home-study-cue],[data-home-start-status],[data-home-resume-status],.mc-home-time-controls>.small-print) {
 color:var(--journey-muted)!important;font-size:.875rem!important;line-height:1.5!important;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] :is([data-home-start-status],[data-home-resume-status]):empty {display:none!important;}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .today-secondary {
 margin:0!important;padding:.25rem 1rem!important;min-width:0;border:1px solid var(--journey-edge)!important;border-radius:1rem;
 background:var(--journey-surface)!important;color:var(--journey-ink)!important;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] [data-home-focus-flow] [hidden] {display:none!important;}
html body.student-experience #app-shell#app-shell[data-study-journey=true] :is(button,a,input,textarea,select,summary):focus-visible {
 outline:3px solid var(--journey-accent)!important;outline-offset:3px;scroll-margin-block:7rem;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] :is(.coda-composer,.coda-input-wrap,.coda-thread-attachment) {
 background:var(--journey-surface);color:var(--journey-ink);border-color:var(--journey-edge);font-size:1rem;line-height:1.5;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .coda-thread-attachment {
 background:var(--journey-soft)!important;color:var(--journey-ink)!important;gap:.5rem .75rem;padding:.75rem;
 border:1px solid var(--journey-edge);font-size:1rem!important;line-height:1.5;overflow-wrap:anywhere;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .coda-thread-attachment>button {
 min-height:44px!important;padding:.6rem .75rem!important;white-space:normal;font-size:.9375rem!important;line-height:1.4;
 background:var(--journey-surface)!important;color:var(--journey-accent)!important;border:1px solid var(--journey-edge)!important;
}
html body.student-experience .mobile-tabs-dialog {
 box-sizing:border-box;width:min(28rem,calc(100% - 1.5rem));min-width:0;padding:1rem;max-height:calc(100dvh - 2rem);
 background:var(--journey-surface,#fff)!important;color:var(--journey-ink,#0c193d)!important;border-color:var(--journey-edge,#b9c9e2)!important;
}
html body.student-experience .mobile-tabs-dialog :is(.mobile-all-sections,.mobile-workspace-shortcuts) {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;gap:.5rem;
}
html body.student-experience .mobile-tabs-dialog :is(button,select) {
 box-sizing:border-box;min-width:0!important;max-width:100%;min-height:44px!important;padding:.65rem .75rem!important;white-space:normal;overflow-wrap:anywhere;
 background:var(--journey-soft,#f3f7ff)!important;color:var(--journey-accent,#0940c4)!important;border:1px solid var(--journey-edge,#b9c9e2)!important;font-size:.9375rem;
}
html body.student-experience .mobile-tabs-dialog :is(h2,p,summary,label) {color:var(--journey-ink,#0c193d)!important;}
html body.student-experience .mobile-tabs-dialog .mobile-fifth-tab-choice {display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;}
@media(max-width:999px) {
 html body #app-shell#app-shell .mc-nav--mobile[data-stable-mobile-tabs=true] {
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;
  padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;
  background:var(--journey-surface,#fff)!important;border-top:1px solid var(--journey-edge,#b9c9e2)!important;backdrop-filter:none!important;
 }
 html body #app-shell#app-shell .mc-nav--mobile[data-stable-mobile-tabs=true] .mc-nav__item {min-width:0;min-height:48px;padding:6px 2px!important;order:initial!important;color:var(--journey-muted,#425474)!important;}
 html body #app-shell#app-shell .mc-nav--mobile[data-stable-mobile-tabs=true] .mc-nav__item span {font-size:.8125rem!important;line-height:1.4!important;overflow-wrap:anywhere;}
 html body #app-shell#app-shell .mc-nav--mobile[data-stable-mobile-tabs=true] .mc-nav__item[aria-current=page] {color:var(--journey-accent,#0940c4)!important;background:var(--journey-soft,#f3f7ff)!important;}
 html body #app-shell#app-shell .glass-topbar>.mobile-sections-button[data-mobile-more] {display:inline-flex!important;min-height:44px;min-width:44px;position:static!important;margin-inline-start:auto;}
 html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] .app-main {padding-inline:1rem!important;padding-bottom:calc(7rem + env(safe-area-inset-bottom))!important;min-width:0;}
 html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-dashboard {grid-template-columns:minmax(0,1fr)!important;gap:1rem!important;}
 html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] :is(.today-next.mc-card,.today-dashboard__schedule) {grid-column:1!important;grid-row:auto!important;}
 html body.student-experience #app-shell#app-shell[data-study-journey=true] .coda-workspace-corner {display:none!important;}
}
@media(max-width:480px) {
 html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-next.mc-card {grid-template-columns:minmax(0,1fr)!important;padding:1.15rem!important;}
 html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .student-board-orbit.today-coda-bubble {grid-column:1;grid-row:1;width:3.4rem!important;height:3.4rem!important;margin:0 0 .3rem!important;}
 html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-next__body {grid-row:2;}
 .today-coda-caption {inset-inline-start:calc(100% + .8rem);inset-inline-end:auto;top:50%;transform:translateY(-50%);font-size:1rem;}
}
@media(prefers-reduced-transparency:reduce) {
 html body #app-shell[data-study-journey=true] :is(.app-sidebar,.today-next,.today-secondary,.mc-nav--mobile) {backdrop-filter:none!important;background:var(--journey-surface)!important;}
}
/* The current shared heading keeps Coda beside the title so the study controls
   retain the full card width. The same existing avatar owns the action. */
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-next.mc-card:has(.today-glass-heading) {grid-template-columns:minmax(0,1fr)!important;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-next:has(.today-glass-heading) .today-next__body {grid-column:1!important;grid-row:1!important;}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-glass-heading {
 display:grid!important;grid-template-columns:minmax(0,1fr) 4.5rem!important;gap:1rem!important;align-items:center!important;min-height:6rem;order:0!important;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .today-glass-heading #today-next-heading {
 color:var(--journey-ink)!important;font-size:clamp(1.35rem,2.3vw,1.8rem)!important;min-width:0!important;line-height:1.25!important;text-wrap:initial;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-view=home] .today-glass-heading .student-board-orbit.today-coda-bubble {
 grid-column:2!important;grid-row:1!important;width:4.5rem!important;height:4.5rem!important;flex:none!important;margin:0!important;align-self:start!important;
}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .today-glass-heading .today-coda-tilt {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;}
html body.student-experience #app-shell#app-shell[data-study-journey=true] .today-glass-heading .today-coda-caption {
 position:absolute!important;inset-inline:0!important;top:calc(100% + .35rem)!important;transform:none!important;color:var(--journey-ink)!important;font-size:.875rem!important;line-height:1.4!important;
}
html body.student-experience #app-shell#app-shell[data-preview-shell=true][data-study-journey=true] [data-home-focus-flow]:has(.today-glass-heading .today-coda-bubble) .mc-home-study-help {display:none!important;}
@media(prefers-reduced-motion:reduce) {
 #app-shell[data-study-journey=true] :is(.today-ambient *,.today-coda-stage,.today-coda-char,.today-coda-tilt,.today-hero-glow) {animation:none!important;transition:none!important;transform:none!important;}
}
html:is([data-reduced-motion=true],[data-personalize-motion=true],.mc-reduce-motion) #app-shell[data-study-journey=true] :is(.today-ambient *,.today-coda-stage,.today-coda-char,.today-coda-tilt,.today-hero-glow) {animation:none!important;transition:none!important;transform:none!important;}
@media(forced-colors:active) {
 html body #app-shell[data-study-journey=true] {--journey-surface:Canvas;--journey-soft:Canvas;--journey-ink:CanvasText;--journey-muted:CanvasText;--journey-edge:CanvasText;--journey-accent:LinkText;--journey-on-accent:Canvas;}
}

}
