/* One shared app shell: navigation never inherits the selected panel's size. */
.studio-shell.studio-expanded{width:100%;max-width:none;margin:0;display:grid;grid-template-columns:230px minmax(0,1fr);height:100dvh;min-height:100dvh;align-items:start}
.studio-shell>.studio-sidebar{box-sizing:border-box;position:sticky;top:0;width:230px;min-width:230px;max-width:230px;height:100dvh;min-height:0;padding:30px 18px 20px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;flex-direction:column;align-items:stretch}
.studio-shell .studio-brand{display:block;padding:0 11px 28px;flex:none;overflow:visible}
.studio-shell .studio-brand img{display:block;width:155px;max-width:100%;height:auto}
.studio-shell .studio-sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:26px;min-width:0;flex:none}
.studio-shell .studio-sidebar nav>button{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:44px;flex:none;padding:12px 10px;border:0;border-left:3px solid transparent;font:650 13px/20px var(--font-display),Arial,sans-serif;white-space:nowrap;text-align:left}
.studio-shell .studio-sidebar nav>button.active{border-left-color:#ed2b7c}
.studio-shell .studio-sidebar nav>button>span{display:inline-block;flex:0 0 18px;width:18px;font-size:16px;text-align:center}
.studio-shell .sidebar-bottom{margin-top:auto;flex:none;width:100%}
.studio-shell .sidebar-bottom>:is(a,button){justify-content:flex-start;font-size:12px}
.studio-shell .studio-user p{display:block;min-width:0}
.studio-shell>.studio-main{box-sizing:border-box;width:100%;min-width:0;max-width:none;height:100dvh;min-height:0;margin:0;padding:32px 40px 64px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}
.studio-shell>.studio-main.tg-social-open{height:100dvh;padding:0!important;scrollbar-gutter:auto}
.studio-shell .tg-social-frame{height:100dvh;min-height:0}
@media(max-width:1000px) and (min-width:701px){.studio-shell.studio-expanded{grid-template-columns:210px minmax(0,1fr)}.studio-shell>.studio-sidebar{width:210px;min-width:210px;max-width:210px;padding-left:14px;padding-right:14px}.studio-shell>.studio-main{padding-left:24px;padding-right:24px}}
@media(max-width:700px){.studio-shell.studio-expanded{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:100dvh;min-height:0}.studio-shell>.studio-sidebar{position:relative;width:100%;min-width:0;max-width:none;height:auto;max-height:180px;padding:14px 16px;overflow:hidden;scrollbar-gutter:auto}.studio-shell .studio-brand{border:0;padding:0 0 10px}.studio-shell .studio-brand img{width:145px}.studio-shell .studio-sidebar nav{flex-direction:row;gap:6px;margin:0;overflow-x:auto;overflow-y:hidden}.studio-shell .studio-sidebar nav>button{width:auto;min-height:40px;padding:9px 12px;border-left:0;border-bottom:3px solid transparent;font-size:12px}.studio-shell .studio-sidebar nav>button.active{border-bottom-color:#ed2b7c}.studio-shell .sidebar-bottom{display:none}.studio-shell>.studio-main{height:100%;padding:24px 18px 48px}.studio-shell>.studio-main.tg-social-open,.studio-shell .tg-social-frame{height:100%}.studio-shell #tg-social-workspace{height:100%}}
/* Account name and role keep separate lines within the fixed sidebar. */
.studio-shell .studio-user{display:flex;align-items:center;gap:10px;width:100%;min-width:0;text-align:left}
.studio-shell .studio-user p{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;margin:0;line-height:1.3}
.studio-shell .studio-user strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.studio-shell .studio-user small{display:block;font-size:10px;font-weight:400;line-height:1.4;white-space:normal}
