/**
 * Bridges legacy Cork/widget markup inside the new organization theme shell.
 */
.org-legacy-shell .widget,
.org-legacy-shell .widget-content,
.org-legacy-shell .layout-px-spacing,
.org-legacy-shell .table {
    width: 100%;
}

.org-legacy-shell .widget {
    background: var(--bs-card-bg, #fff);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--bs-box-shadow-sm, 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075));
}

.org-legacy-shell .widget-heading {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color, #e9ecef);
}

.org-legacy-shell .widget-content {
    padding: 1.25rem;
}

.org-legacy-shell .perm-allowed[data-perm],
.org-legacy-shell [data-perm].perm-allowed {
    display: revert !important;
}
