html[data-office-embed=true] body{padding:0!important;margin:0!important}
html[data-office-embed=true] body>header,html[data-office-embed=true] .acc-module-heading,html[data-office-embed=true] .acc-nav-panel,html[data-office-embed=true] .acc-header-favorites,html[data-office-embed=true] [data-onboarding-navigation],html[data-office-embed=true] .sys-onboarding-nav{display:none!important}
html[data-office-embed=true] .acc-shell{display:block!important;padding:8px!important;max-width:none!important;margin:0!important}
html[data-office-embed=true] .acc-workspace{min-width:0!important}
html[data-office-embed=true] .acc-campus-stage{height:clamp(380px,calc(100vh - 240px),720px)}
@media(max-width:1000px){html[data-office-embed=true] .acc-campus-stage{height:auto}}
.acc-office-return{display:none}
html[data-office-embed=true] .acc-office-return{display:flex;padding:6px 0;gap:8px}
html[data-office-building=warehouse] [data-office-accounting-return],html[data-office-building=accounting] [data-office-warehouse-return]{display:none!important}
html[data-office-embed=true] body[data-acc-view=campus] .acc-office-return,html[data-office-embed=true][data-office-building=accounting] body[data-acc-view=overview] .acc-office-return{display:none}

/* Outrank the shared shell theme when the module is inside its village building. */
html:root[data-office-embed=true][data-office-building] body>header.topbar,html:root[data-office-embed=true][data-office-building] body .acc-module-heading,html:root[data-office-embed=true][data-office-building] body .acc-nav-panel,html:root[data-office-embed=true][data-office-building] body .acc-header-favorites{display:none!important}
html:root[data-office-embed=true][data-office-building] body .acc-shell{display:block!important;padding:8px!important;margin:0!important;max-width:none!important}

html:root[data-office-embed=true][data-office-building] body[data-acc-view=campus] .acc-workspace>.acc-toolbar,html:root[data-office-embed=true][data-office-building] body[data-acc-view=campus] #accountingCampusWorkspace .inv-toolbar{display:none!important}
html:root[data-office-embed=true][data-office-building] body[data-acc-view=campus] .acc-campus-stage{height:calc(100dvh - 92px);min-height:450px}
html:root[data-office-embed=true][data-office-building] body[data-acc-view=campus] .acc-campus{border:0}
@media(max-width:1000px){html:root[data-office-embed=true][data-office-building] body[data-acc-view=campus] .acc-campus-stage{height:auto;min-height:0}}

html[data-office-operation=true] .acc-office-return{display:none!important}
