/* Shared public and private navigation; restricted-mock rollout only. */
.public-shell.topbar>.container.nav{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:28px;align-items:center;max-width:1560px;width:100%;padding:16px 32px;box-sizing:border-box;margin:auto}.public-shell .brand{flex:none!important;min-width:0!important;max-width:240px;margin:0!important;gap:12px}.public-shell .brand img{flex:none;width:46px;height:46px;object-fit:contain}.public-shell .brand-copy{min-width:0}.public-shell .navlinks{justify-content:flex-end;gap:clamp(14px,1.6vw,27px);min-width:0!important;flex:none!important;width:auto!important}.public-shell .navlinks>a,.public-shell .nav-group>button{font-size:.82rem!important;white-space:nowrap}.public-shell .workspace-public-controls{display:flex;align-items:center;gap:12px;flex:none}.public-shell .workspace-entry{background:#43273f;color:#fff!important;padding:12px 18px;border-radius:12px;font-size:.8rem;font-weight:700;white-space:nowrap}.public-shell .menu-toggle{display:none!important}.public-shell .header-notification{margin:0;flex:none}.public-shell .dropdown{min-width:250px}.public-shell .nav-group:last-of-type .dropdown{left:auto;right:0}
body.workspace-shell{background:#fbf7f0;color:#43273f}.workspace-shell .workspace-sidebar{box-sizing:border-box;position:fixed;top:0;left:0;bottom:0;width:250px;z-index:80;background:#fff;border-right:1px solid #e6dce9;display:flex;flex-direction:column;padding:24px 18px;overflow-y:auto;overscroll-behavior:contain}.workspace-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:26px}.workspace-sidebar .brand{display:flex!important;align-items:center;gap:9px;min-width:0!important;margin:0!important;max-width:100%;text-decoration:none!important}.workspace-sidebar .brand img{display:block;width:39px;height:44px;object-fit:contain;flex:none}.workspace-sidebar .brand-copy{display:flex!important;flex-direction:column;min-width:0}.workspace-sidebar .brand-copy strong{font-size:1rem!important;line-height:1.3;color:#352346}.workspace-sidebar .brand-copy small{font-size:.52rem!important;letter-spacing:.08em;white-space:nowrap;color:#a77c32}.workspace-role-label{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#80648b;margin:0 10px 20px;line-height:1.6}.workspace-switch-label{display:grid;gap:8px;font-size:.72rem;font-weight:700;color:#705b77;margin:0 0 22px}.workspace-switch-label select{width:100%;font:inherit;font-size:.82rem;background:#f7f2f9;border:1px solid #ded1e6;border-radius:10px;color:#43273f;padding:11px 9px}.workspace-navigation{display:grid;gap:5px}.workspace-navigation a,.workspace-more>a{display:block;min-width:0;padding:12px 14px;border-radius:11px;text-decoration:none;color:#67556e;font-size:.82rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.workspace-navigation a:hover,.workspace-more>a:hover{background:#f7f2f9;color:#43273f}.workspace-navigation a[aria-current=page],.workspace-more>a[aria-current=page]{background:#eee5f3;color:#43273f;font-weight:800}.workspace-more{margin-top:20px;border-top:1px solid #eee7f1;padding-top:18px}.workspace-more summary{font-size:.78rem;color:#705b77;font-weight:700;cursor:pointer;padding:8px 12px}.workspace-sidebar-bottom{margin-top:auto;padding:28px 12px 0}.workspace-sidebar-bottom a{font-size:.78rem;font-weight:700;color:#705b77;text-decoration:none}.workspace-topbar.topbar{margin-left:250px;width:calc(100% - 250px);position:sticky!important;top:0;z-index:60;background:#fff!important;border-bottom:1px solid #e6dce9;box-shadow:none!important;box-sizing:border-box}.workspace-topbar>.container.nav{display:flex!important;justify-content:space-between;align-items:center;gap:16px;max-width:none!important;width:100%!important;margin:0!important;padding:18px 30px!important;box-sizing:border-box;min-height:80px}.workspace-topbar-leading{display:flex;gap:16px;align-items:center;min-width:0}.workspace-topbar-title{min-width:0;display:grid;gap:5px}.workspace-topbar-title>span{font-size:.66rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8b7295}.workspace-topbar-title>strong{font-size:.92rem;color:#43273f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55vw}.workspace-utilities{display:flex;align-items:center;gap:18px;flex:none}.workspace-utilities .header-notification{display:flex!important;flex:none;margin:0!important}.workspace-profile{position:relative;border:0!important;padding:0!important;background:none!important;margin:0!important}.workspace-profile-toggle{cursor:pointer;list-style:none;display:block!important;font-size:.82rem;font-weight:700;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#593751;padding:10px 14px;border:1px solid #e6dce9;border-radius:12px}.workspace-profile-toggle::-webkit-details-marker{display:none}.workspace-profile-toggle:after{content:'⌄';margin-left:10px}.workspace-profile-dropdown{position:absolute;right:0;top:calc(100% + 12px);z-index:95;width:250px;padding:18px;border:1px solid #e1d6e7;border-radius:14px;background:#fff;box-shadow:0 15px 35px #43273f18;box-sizing:border-box}.workspace-profile-dropdown>strong,.workspace-profile-dropdown>span{display:block;overflow-wrap:anywhere}.workspace-profile-dropdown>strong{font-size:.85rem;color:#43273f}.workspace-profile-dropdown>span{font-size:.72rem;margin:6px 0 18px;color:#80648b}.workspace-profile-dropdown>a{display:block;padding:10px 0;color:#593751;font-size:.8rem;font-weight:700}.workspace-profile-dropdown .header-signout{display:block!important;width:100%;margin-top:12px!important;padding:11px!important;color:#43273f;background:#f5eef8;border:1px solid #e1d6e7;font:inherit;font-size:.8rem;border-radius:10px;cursor:pointer}.workspace-body{margin-left:250px;padding:0 30px 40px;min-width:0}.workspace-body>main{box-sizing:border-box;width:100%!important;max-width:1500px!important;margin:0 auto!important}.workspace-body>main.container{padding-left:0;padding-right:0}.workspace-body .container{box-sizing:border-box;max-width:100%}.workspace-shell .workspace-shortcuts,.workspace-shell .teacher-view-links{display:none!important}.workspace-shell [hidden]{display:none!important}.workspace-menu-toggle,.workspace-drawer-close{display:none!important}.workspace-shell .workspace-overlay{display:none}.workspace-shell :focus-visible,.public-shell :focus-visible{outline:3px solid #9676a5;outline-offset:3px}.workspace-shell main :target{scroll-margin-top:110px}
/* Reuse Access Manager's existing controls in the shared sidebar. */
.workspace-administration .admin-workspace{display:block!important}.workspace-shell .workspace-sidebar .workspace-admin-navigation{display:block!important;position:static!important;width:100%;min-width:0;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;max-height:none!important;overflow:visible!important}.workspace-sidebar .admin-nav-group{display:grid!important;grid-template-columns:1fr!important;gap:5px;margin:0 0 22px;padding:0!important}.workspace-sidebar .admin-nav-group>span{display:block;font-size:.65rem!important;text-transform:uppercase;letter-spacing:.09em;color:#8b7295;padding:0 12px 5px}.workspace-sidebar .admin-nav-group>button{display:block!important;width:100%;margin:0!important;text-align:left;border:0!important;border-radius:11px!important;background:transparent!important;color:#67556e!important;padding:11px 13px!important;font:inherit!important;font-size:.8rem!important;font-weight:600!important;white-space:normal;line-height:1.6;box-shadow:none!important}.workspace-sidebar .admin-nav-group>button.active,.workspace-sidebar .admin-nav-group>button[aria-pressed=true]{background:#eee5f3!important;color:#43273f!important;font-weight:800!important}.workspace-sidebar .admin-nav-group>button:hover{background:#f7f2f9!important}.workspace-sidebar .admin-more-tools{padding:0!important;border:0!important;background:none!important;margin:0!important}.workspace-sidebar .admin-more-tools>summary{padding:8px 12px;font-size:.78rem;color:#705b77}.workspace-sidebar .admin-more-tools .admin-nav-group{margin-top:12px}
@media(max-width:1500px){.public-shell.topbar>.container.nav{grid-template-columns:minmax(0,1fr) auto;padding:14px 22px;gap:16px}.public-shell .menu-toggle{display:block!important}.public-shell .navlinks{display:none!important;position:absolute;top:100%;left:16px;right:16px;max-width:none!important;width:auto!important;padding:16px!important;background:#fff;border:1px solid #e1d6e7;border-radius:14px;box-shadow:0 15px 35px #43273f18;flex-direction:column;align-items:stretch;gap:6px;max-height:80vh;overflow:auto}.public-shell .navlinks.open{display:flex!important}.public-shell .dropdown{position:static;box-shadow:none;border:0;border-left:2px solid #e1d6e7;border-radius:0;margin:5px 0 8px 8px;min-width:0;width:auto}.public-shell .nav-group>button,.public-shell .navlinks>a{padding:12px!important}.public-shell .workspace-public-controls{padding-top:12px;border-top:1px solid #eee7f1;justify-content:space-between}.public-shell .workspace-entry{display:inline-block}}
@media(max-width:1000px){.workspace-shell .workspace-sidebar{width:min(300px,88vw);z-index:100;padding:22px 18px;box-shadow:10px 0 40px #43273f24}.workspace-topbar.topbar{margin-left:0;width:100%}.workspace-topbar>.container.nav{padding:14px 18px!important;min-height:76px}.workspace-body{margin-left:0;padding:0 18px 30px}.workspace-menu-toggle,.workspace-drawer-close{display:block!important;border:1px solid #e1d6e7;background:#fff;color:#593751;border-radius:9px;font:inherit;font-size:.75rem;font-weight:700;padding:10px 12px;cursor:pointer}.workspace-drawer-close{font-size:.7rem;padding:8px}.workspace-shell .workspace-overlay:not([hidden]){display:block;position:fixed;inset:0;z-index:90;background:#271b2b66;border:0;border-radius:0;margin:0;padding:0;width:100%;height:100%}.workspace-drawer-open{overflow:hidden}.workspace-topbar-title>strong{max-width:42vw}.workspace-profile-toggle{max-width:150px}.workspace-sidebar-head{margin-bottom:20px}}
@media(max-width:560px){.public-shell .brand{max-width:210px}.public-shell .brand img{width:38px;height:40px}.public-shell .brand-copy strong{font-size:1.05rem!important}.public-shell .brand-copy small{font-size:.55rem!important}.workspace-topbar-leading{gap:10px}.workspace-topbar-title>strong{max-width:34vw;font-size:.8rem}.workspace-topbar-title>span{font-size:.58rem}.workspace-utilities{gap:8px}.workspace-profile-toggle{font-size:0;min-width:64px;max-width:64px;padding:11px 7px;box-sizing:border-box}.workspace-profile-toggle:before{content:'Account';font-size:.65rem}.workspace-profile-toggle:after{display:none}.workspace-profile-dropdown{width:min(260px,calc(100vw - 32px))}.workspace-body{padding:0 12px 24px}.workspace-topbar>.container.nav{padding:12px!important}.workspace-topbar .header-notification{width:38px;height:38px;min-width:38px}.workspace-sidebar .brand-copy strong{font-size:.95rem!important}}
/* Sidebar takes over role-page tabs; keep the existing Refresh control. */
.workspace-shell:not(.workspace-administration) #teacherPreviewRoot>.tp-tabs>button:not(:first-child){display:none!important}
.workspace-navigation-status{background:#fff0d6;color:#6a471d;padding:12px 24px;font-size:.85rem;line-height:1.8}.workspace-navigation-status button{font:inherit;padding:8px 12px;border:1px solid #d6b77c;border-radius:8px;background:#fff;color:#43273f;cursor:pointer}

.workspace-loading-status{margin:0;padding:12px 24px;background:#f3edf6;color:#654b70;font-size:.85rem;line-height:1.6}

/* Brand lettering is never decorated as a current-page navigation link. */
body .topbar a.brand,body .topbar a.brand:hover,body .topbar a.brand[aria-current="page"],body .workspace-sidebar a.brand{text-decoration:none!important}
body .topbar .brand-copy{line-height:1.25;gap:2px}
/* Hide intermediate navigation and workspace views until the existing DOM is ready. */
html[data-workspace-opening="workspace"]{overflow:hidden}
html[data-workspace-opening] body>header.topbar{visibility:hidden}
html[data-workspace-opening="workspace"] body>main,html[data-workspace-opening="workspace"] body>.workspace-body,html[data-workspace-opening="workspace"] body>footer,html[data-workspace-opening="workspace"] body>.workspace-sidebar,html[data-workspace-opening="workspace"] body>.workspace-overlay{visibility:hidden}
#workspacePageOpening{position:fixed;inset:0 0 auto;min-height:100px;box-sizing:border-box;z-index:3000;display:flex;align-items:center;justify-content:center;gap:14px;padding:24px;background:#faf8f5;color:#654b70;font:500 .9rem/1.6 Montserrat,Arial,sans-serif;pointer-events:none}
#workspacePageOpening strong{font-family:Lora,Georgia,serif;font-size:1.2rem;color:#43273f}
html[data-workspace-opening="workspace"] #workspacePageOpening{inset:0;flex-direction:column;gap:10px}
@media(prefers-reduced-motion:no-preference){#workspacePageOpening span{animation:workspace-opening-pulse 1.5s ease-in-out infinite}@keyframes workspace-opening-pulse{50%{opacity:.6}}}

/* Signed-in screens use the sidebar instead of repeated marketing/navigation blocks. */
.workspace-shell>footer,.workspace-shell .workspace-content-clean .page-back-bar,.workspace-shell .teacher-heading>.team-eyebrow{display:none!important}
.workspace-administration .admin-hero[hidden]{display:none!important}
.workspace-administration .admin-current-section{margin:28px 0 24px;padding:0 0 22px;border-bottom:1px solid #e6dce9;background:transparent;border-radius:0;box-shadow:none}
.workspace-administration .admin-current-section h1{font:600 clamp(1.55rem,3vw,2.15rem)/1.25 Lora,Georgia,serif;color:#43273f;margin:0 0 12px}
.workspace-administration .admin-current-section>p{max-width:850px;margin:0 0 16px;line-height:1.7;color:#705b77}
.workspace-administration .admin-current-section>[data-open-teacher-assignment]{margin:4px 0 12px}
.workspace-shell .teacher-heading{padding-top:30px;padding-bottom:18px}
.workspace-shell .teacher-heading h1{font-size:clamp(1.6rem,3vw,2.2rem);margin:0 0 12px;line-height:1.3}
.workspace-shell .teacher-heading>p{margin:0 0 18px;max-width:760px}
.workspace-shell .workspace-pilot-notice{border:1px solid #e1d6e7;background:#f4eef8;border-radius:12px;padding:12px 16px;margin:14px 0;color:#654b70;max-width:100%}
.workspace-pilot-notice>summary{cursor:pointer;font-size:.82rem;font-weight:700;line-height:1.6}
.workspace-pilot-notice p{font-size:.85rem;line-height:1.7;margin:12px 0 0}
.workspace-pilot-notice:not([open])>*:not(summary){display:none}
.workspace-student-pilot{grid-column:1/-1}
.workspace-help{display:grid;gap:10px;margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid #eee7f1}
.workspace-help a{font-size:.75rem!important;font-weight:600!important;line-height:1.6}
.workspace-shell #teacherPreviewRoot>.tp-status:not(.is-error){font-size:.78rem;color:#80648b;margin:10px 0 18px;line-height:1.6}
.workspace-shell .admin-section-content{min-width:0}
@media(max-width:600px){.workspace-administration .admin-current-section{margin-top:22px}.workspace-shell .teacher-heading{padding-top:24px}.workspace-shell .workspace-pilot-notice{padding:12px}.workspace-sidebar-bottom{padding-top:22px}}

/* Account welcomes are page headings, rather than a second marketing hero. */
.workspace-shell .parent-hero,.workspace-shell #content>.welcome{background:transparent!important;color:#43273f!important;border:0;border-radius:0;box-shadow:none;padding:30px 0 22px;margin:0}
.workspace-shell .parent-hero h1,.workspace-shell #content>.welcome h1{font:600 clamp(1.6rem,3vw,2.2rem)/1.3 Lora,Georgia,serif;color:#43273f!important;margin:0 0 12px}
.workspace-shell .parent-hero p,.workspace-shell #content>.welcome p{color:#705b77!important;line-height:1.7;max-width:850px}
.workspace-shell .parent-hero span{color:#80648b}
.workspace-shell .parent-layout{padding-top:8px!important}

/* Discoverable sign-out action outside the closed profile menu. */

/* Account presence stays visible while browsing, including outside the mobile menu. */
.public-shell.topbar>.container.nav{grid-template-columns:auto minmax(0,1fr) auto}
.public-account-tools{display:flex;align-items:center;gap:12px;min-width:0}
.public-shell .public-signed-in{display:grid;gap:3px;max-width:145px;padding:9px 12px;border:1px solid #ded1e6;border-radius:11px;background:#f4eef8;color:#352346;text-decoration:none;line-height:1.35}
.public-shell .public-signed-in small{font-size:.65rem;color:#705b77;font-weight:600}
.public-shell .public-signed-in strong{font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.public-shell .public-signed-in:hover{background:#eee5f3;border-color:#9676a5}
@media(max-width:1500px){.public-shell.topbar>.container.nav{grid-template-columns:minmax(0,1fr) auto}.public-shell .public-signed-in{max-width:150px}}
@media(max-width:560px){.public-shell.topbar>.container.nav{padding:12px;gap:8px}.public-shell .brand{gap:6px;max-width:190px}.public-shell .brand-copy strong{font-size:.92rem!important}.public-shell .brand-copy small{font-size:.46rem!important}.public-account-tools{gap:7px}.public-shell .public-signed-in{max-width:85px;padding:7px 8px}.public-shell .public-signed-in small{font-size:.58rem}.public-shell .public-signed-in strong{font-size:.65rem}.public-shell .menu-toggle{padding:8px!important;font-size:.72rem!important}}

@media(max-width:380px){.public-shell .brand img{width:30px;height:34px}.public-shell .brand-copy small{display:none}.public-shell .brand-copy strong{font-size:.82rem!important}.public-shell .public-signed-in{max-width:72px}.public-shell .menu-toggle{padding:6px!important}}

.public-shell .public-signed-in{cursor:pointer;list-style:none}.public-shell .public-signed-in::-webkit-details-marker{display:none}.public-shell .public-signed-in strong:after{content:' ⌄'}.public-shell .public-account-menu[open]>.public-signed-in{background:#eee5f3;border-color:#9676a5}.public-shell .public-account-menu .workspace-profile-dropdown{top:calc(100% + 10px)}
.public-shell .public-account-tools{position:relative}.public-shell .public-account-menu{position:static}

/* Website search remains a small navigation action; its index loads on demand. */
.site-search-trigger{min-height:44px;padding:8px 12px;border:1px solid #bca5d4;border-radius:9px;background:#faf7fc;color:#62428b;font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}.site-search-trigger:focus-visible{outline:3px solid #a77b31;outline-offset:3px}
