/* Task Context (/activity/taskcontext/{id}) — page-scoped full-bleed.
 * Preference: taskcontext-fullwidth-hero-lanes — do not change MainLayout. */

#maintext.main-content:has(.task-context-detail-page) {
    padding-left: 0;
    padding-right: 0;
}

.content-wrapper.task-context-detail-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

/* Hero chrome keeps canonical horizontal inset; body tabs use the same inset. */
.task-context-detail-page .tcd-hero-stack > .bomsync-page-breadcrumbs-slot,
.task-context-detail-page .tcd-tabs-host {
    padding-left: 26px;
    padding-right: 26px;
    box-sizing: border-box;
}

.task-context-detail-page .tcd-tabs-host {
    width: 100%;
    max-width: none;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}
