/* Option C is desktop-only. Mobile headers, navigation and safe areas are unchanged. */
.hybrid-sidebar{display:none}
.qj-beta-badge{display:table;width:fit-content;max-width:100%;margin-top:3px;padding:2px 7px;border:1px solid #d7c5a6;border-radius:6px;background:#f5e8d1;color:#63451f;font:600 11px/1.5 'Segoe UI',Tahoma,sans-serif;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
body #main .workspace-role-brand:has(.qj-beta-badge),body .hybrid-brand .workspace-role-brand:has(.qj-beta-badge){display:grid;grid-template-columns:auto auto;column-gap:8px;row-gap:3px}
.workspace-role-brand .qj-beta-badge{grid-column:1/-1;justify-self:start;margin-top:0}
@media(max-width:430px){body #main .workspace-role-header:not(.workspace-role-header--student):has(.qj-beta-badge) .workspace-header-utilities{max-width:calc(100% - 72px)}}
@media(min-width:768px){
 body.authenticated-workspace #main .workspace-role-brand .qj-beta-badge{display:none}
 body.authenticated-workspace .shell{display:grid;grid-template-columns:232px minmax(0,1fr);align-items:start}
 body.authenticated-workspace .shell>aside:not(.hybrid-sidebar){display:none}
 body.authenticated-workspace .shell>#main{width:100%;max-width:1200px;min-width:0;margin:0 auto;padding:24px clamp(16px,3vw,40px) 40px}
 html[dir=rtl] body.authenticated-workspace .shell>#main{padding:24px clamp(16px,3vw,40px) 40px}
 body.authenticated-workspace #main :is(.sh-bottom-nav,.tw-navigation,.gw-nav,.mw-nav){display:none}
 body.authenticated-workspace #main .workspace-role-control{display:none}
 body .hybrid-sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:0;min-width:0;height:100dvh;overflow-y:auto;padding:28px 16px 20px;background:#fffdf9;border:0;border-inline-end:1px solid #e8dfd2;color:#526468;font-family:Inter,'Segoe UI',Tahoma,sans-serif}
 body .hybrid-brand{margin-bottom:32px;color:#86552f}
 body .hybrid-brand :is(.workspace-role-brand,.wordmark){display:flex;align-items:center;gap:9px;font-size:16px;text-decoration:none;color:inherit;white-space:normal}
 body .hybrid-brand svg{width:28px;height:32px;flex:none}
 body .hybrid-brand strong{font:600 16px Georgia,'Traditional Arabic',serif;line-height:1.4}
 body .hybrid-brand small{display:block;font-size:11px}
 body .hybrid-label{display:block;margin:0 12px 10px;color:#8b6b4c;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
 body .hybrid-nav{position:static;display:flex;flex-direction:column;gap:5px;margin:0;padding:0;width:100%;overflow:visible}
 body .hybrid-nav :is(a,button){display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:46px;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:#526468;font:500 14px/1.5 Inter,'Segoe UI',Tahoma,sans-serif;text-align:start;text-decoration:none;white-space:normal}
 body .hybrid-nav :is(a,button):hover{background:#f7f2e9}
 body .hybrid-nav :is(a,button)[aria-current=page]{color:#185e4d;background:#e6f2eb;font-weight:650;border:0}
 body .hybrid-sidebar .qj-icon{width:21px;height:21px;flex:none;fill:none;stroke-width:1.75}
 body .hybrid-workspace{margin-top:26px;padding-top:22px;border-top:1px solid #e8dfd2}
 body .hybrid-workspace select{display:block;width:100%;min-height:44px;margin:0;padding:10px 8px;border:1px solid #e8dfd2;border-radius:10px;background:#fffdf9;color:#526468;font:500 12px/1.5 Inter,'Segoe UI',Tahoma,sans-serif;text-overflow:ellipsis}
 body .hybrid-profile{display:flex;align-items:center;gap:10px;margin-top:auto;padding:20px 8px 0;border-top:1px solid #e8dfd2;color:#526468;text-decoration:none;min-height:80px}
 body .hybrid-workspace{margin-bottom:28px}
 body .hybrid-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#f4e9d7;color:#86552f}
 body .hybrid-profile>span:last-child{min-width:0;overflow-wrap:anywhere}
 body .hybrid-profile strong{display:block;font-size:13px;font-weight:650}
 body .hybrid-profile small{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:11px}
 body .hybrid-profile small .qj-icon{width:15px;height:15px}
 body .hybrid-sidebar :is(a,button,select):focus-visible{outline:2px solid #286c60;outline-offset:3px}
 html[dir=rtl] .hybrid-label{letter-spacing:0}
 html[dir=rtl] .hybrid-profile [data-icon=forward]{transform:scaleX(-1)}
 body.settings-active.has-desktop-shell #main-content{margin-inline-start:232px;min-width:0}
 body.settings-active.has-desktop-shell .hybrid-sidebar{position:fixed;inset-block-start:0;inset-inline-start:0;width:232px;z-index:20}
 body.settings-active.has-desktop-shell .settings-shell{width:100%;max-width:816px;padding:30px 28px 40px}
 body.settings-active.has-desktop-shell .settings-workspace-nav{display:none}
 body:not(.settings-active)>.hybrid-sidebar{display:none}
}
@media(min-width:768px) and (max-width:959px){
 body.authenticated-workspace .shell{grid-template-columns:196px minmax(0,1fr)}
 body .hybrid-sidebar{padding-inline:12px}
 body .hybrid-nav :is(a,button){padding-inline:10px;gap:10px}
 body.authenticated-workspace.student-home-pilot #main .sh-home-hero-composition .sh-welcome>div:first-child{max-width:70%}
 body.settings-active.has-desktop-shell #main-content{margin-inline-start:196px}
 body.settings-active.has-desktop-shell .hybrid-sidebar{width:196px}
}
